facebook

my app using "Test Center"

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #337869 Reply

    Hi Wayne or Octavio,

    I run my iOS app in “Test Center” and it runs fine. App works the way it’s designed to work.

    But when I publish as mobile web application on your cloud services the app does not work how it’s suppose to when I “View website in Test Center” emulator?

    Please help!!!

    Thanks.

    #337894

    Hi Rob,

    Can you share a couple of screenshots that demonstrate how your app looks when you run it on Test Center and how it looks when you publish it as a web app? Also, please describe what are the issues that you noticed when you publish the web app.

    #337959

    Octavio,

    I don’t have a screen capture program right now. But my app looks the same both when I run it in “Test Center” and when I publish it as a web app on your cloud services.

    When I’m in design mode and run “Test Center” I able to click an image from a one screen’s panel and it copies that image to another screen’s panel. It works very well.

    But when I’m publishing it as a web app that function does not work. It basically doesn’t do anything…it just sits on that screen. But again works well in “Test Center”.

    I’m using Raphael.js’s Paper.Set(). Below is my code that does this function.

    ———————————————-

    phoneui.gotoPage(‘m1-myApp’)

    paper = new Raphael(document.getElementById(‘m1-myApp-panel1’), 500, 610);

    myimgpset = paper.set(); // creates a paper set of elements for dragging images…

    i = paper.image(“c:/myapp/mypictures/picture1.gif”, 20, 20, 150, 150);
    myimgpset.push(i);

    var istart = function () {
    this.ox = this.attr(“x”);
    this.oy = this.attr(“y”);
    //this.animate({r: 50, opacity: .25}, 500, “>”);
    }
    var imove = function (dx, dy) {
    this.attr({x: this.ox + dx, y: this.oy + dy});
    }
    var iup = function () {
    //this.animate({r: 20, opacity: 1}, 500, “>”);
    };
    myimgpset.drag(imove, istart, iup); // use for rectangles and images.

    ——————————————————–

    Can you please get back to me today as I’m trying to finish this part of my project.

    Thanks,

    Robert

    #337977

    @Rob,

    I’m not sure what the exactly problem is. You have stated:

    >But my app looks the same both when I run it in “Test Center” and when I publish it as a web app on your cloud services.
    >But when I’m publishing it as a web app that function does not work. It basically doesn’t do anything…it just sits on that screen. But again works well in “Test Center”.

    You mentioned that the app works fine if you publish it as a web app and if running it on Test Center. Then, you mentioned that publishing as a web app the function doesn’t work.

    My first thought is that you may have been having problems when you upload your web app with the files that are uploaded to the app center. If your javascript files are not selected in the “Files & Data” tab when you upload your app, it won’t work properly. See attached image:

    Attachments:
    You must be logged in to view attached files.
    #337978

    I guess I confused you…

    The app works fine in the “Test Center”…but doesn’t work once I publish as a web app.

    In the “Test Center” I’m able to copy an image from one screen to another. But once it’s published as a web app it doesn’t copy.

    I am familiar with the files .js, .css, .html files needs to be uploaded. My app’s custom file is selected in that box and is being uploaded to your cloud services.

    Why is it test and run perfect in Mobione’s “Test Center”..but once uploaded it doesn’t run?

    I use Raphael.js’s paper.set() with the code I sent you previously.

    Please Help!

    Thanks!

    Robert

    #338039

    anyone there to help?

    #338051

    Brandon
    Member

    Make sure you check the debugger if you can, sometimes there are small errors that will allow it to run in the test center but not online.

    #338056

    debugger where?

    didn’t know there was a debugger built into this MobiOne.

    Please let me know where and what this debugger is?

    Thanks,

    Robert

    #338058

    Brandon
    Member

    Yes it is built in the test center

    Run you app in the test center
    Click on the little wrench on top to show the tool panel or click on the menu Tools
    Then click on the Debugger
    Look in the bottom right hand corner for a red circle that shows the errors, click on it to show details.

    #338073

    I got it to work!

    Thank you to all!!!

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: my app using "Test Center"

You must be logged in to post in the forum log in