Hi, I downlaoded an sencha2 mvc application built on worklight from below given url.
this above url I found at IBM worklight forum i.e. given below. http://www.ibm.com/developerworks/forums/message.jspa?messageID=14867090
But when I run it on localhost:8080/console it works fine, both as common resource as well as with android environment. but when I run it on emulator, it shows white blank screen.
I have attached log.txt . I can see error in the log file i.e "ReferenceError: Can't find variable: Ext at file:///data/data/com.Sencha2Demo/files/www/default/js/Sencha2Demo.js"
even I created few other project, but all are having the same problem, they work on worklight console but shows blank white screen on emulator.
please help me solve the problem.
Thanks and Regards P
This topic has been locked.
Pinned topic Emulator shows white screen for (sencha 2 + worklight) application
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: Emulator shows white screen for (sencha 2 + worklight) application2013-01-05T04:42:49ZThis is the accepted answer. This is the accepted answer.I will really appreciate if someone answer my question. Please help me to solve the issue.
raanan 270005J1Y450 Posts
Re: Emulator shows white screen for (sencha 2 + worklight) application2013-01-06T11:08:00ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
I do not know from where did you download this application, but:
1) It is written in an old version of Worklight
2) It worked for me
I have a few questions
1) Can you please attach the logcat?
2) can you please use the official Sencha demo from http://www.ibm.com/developerworks/mobile/worklight/getting-started/index.html (IBM Worklight Starter application with Sencha).
Re: Emulator shows white screen for (sencha 2 + worklight) application2013-01-07T06:22:04ZThis is the accepted answer. This is the accepted answer.
- raanan 270005J1Y4
I download this code from given url i.e. http://www.ibm.com/developerworks/forums/servlet/JiveServlet/download/2830-439413-14867203-380696/Sencha2DemoProj.zip
and It is working in worklight console and android simulator but shows black screen when I run onto android emulator.
I have attached log_cat in my question, please check the same.
and I checked out this link given by you http://www.ibm.com/developerworks/mobile/worklight/getting-started/index.html it is working very well every where but I don`t understand why not Sencha2DemoProj.zip and any new application which I create are having the same problem.
please help me to resolve it.
Re: Emulator shows white screen for (sencha 2 + worklight) application2013-01-08T19:33:37ZThis is the accepted answer. This is the accepted answer.