For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 3 voices, and was last updated 12 years, 8 months ago by
rob@volleyhollix.com.
-
AuthorPosts
-
rob@volleyhollix.comMemberHi 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.
April 11, 2013 at 12:33 pm #337894
support-octavioMemberHi 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.
April 12, 2013 at 12:39 pm #337959
rob@volleyhollix.comMemberOctavio,
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
April 12, 2013 at 6:38 pm #337977
support-octavioMember@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.April 12, 2013 at 6:50 pm #337978
rob@volleyhollix.comMemberI 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
April 15, 2013 at 12:01 pm #338039
rob@volleyhollix.comMemberanyone there to help?
April 15, 2013 at 2:33 pm #338051
BrandonMemberMake 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.
April 15, 2013 at 3:22 pm #338056
rob@volleyhollix.comMemberdebugger where?
didn’t know there was a debugger built into this MobiOne.
Please let me know where and what this debugger is?
Thanks,
Robert
April 15, 2013 at 3:34 pm #338058
BrandonMemberYes 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.April 15, 2013 at 11:12 pm #338073
rob@volleyhollix.comMemberI got it to work!
Thank you to all!!!
-
AuthorPosts
