Topic
4 replies Latest Post - ‏2013-01-08T19:33:37Z by SystemAdmin
SystemAdmin
SystemAdmin
2327 Posts
ACCEPTED ANSWER

Pinned topic Emulator shows white screen for (sencha 2 + worklight) application

‏2013-01-03T07:18:10Z |
Hi, I downlaoded an sencha2 mvc application built on worklight from below given url.

http://www.ibm.com/developerworks/forums/servlet/JiveServlet/download/2830-439413-14867203-380696/Sencha2DemoProj.zip

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
Pawan Kumar
  • SystemAdmin
    SystemAdmin
    2327 Posts
    ACCEPTED ANSWER

    Re: Emulator shows white screen for (sencha 2 + worklight) application

    ‏2013-01-05T04:42:49Z  in response to SystemAdmin
    I will really appreciate if someone answer my question. Please help me to solve the issue.
    • raanan
      raanan
      50 Posts
      ACCEPTED ANSWER

      Re: Emulator shows white screen for (sencha 2 + worklight) application

      ‏2013-01-06T11:08:00Z  in response to SystemAdmin
      Hi.

      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).
      • SystemAdmin
        SystemAdmin
        2327 Posts
        ACCEPTED ANSWER

        Re: Emulator shows white screen for (sencha 2 + worklight) application

        ‏2013-01-07T06:22:04Z  in response to raanan
        Hi raanan,

        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.
        • SystemAdmin
          SystemAdmin
          2327 Posts
          ACCEPTED ANSWER

          Re: Emulator shows white screen for (sencha 2 + worklight) application

          ‏2013-01-08T19:33:37Z  in response to SystemAdmin
          Where did you get this url for a Sencha Project? You should use the link: "IBM Worklight Starter application with Sencha" available from http://www.ibm.com/developerworks/mobile/worklight/getting-started/index.html