Hi,
I'm having some problems with running the PhoneGap with Sencha examples on my simulators. Starting in Eclipse I create a phone Gap Project - in the following dialog I select Use built in Phone-Gap and Sencha Touch and I select PhoneGap API example - I also tried a different version selecting the Sencha Touch Kitchen Sink app, the projects are setup and when I Run As Android Application - it loads to the simulator correctly - as seen below
[2012-06-19 07:43:24 - SenchaKitchenSink] ------------------------------
[2012-06-19 07:43:24 - SenchaKitchenSink] Android Launch!
[2012-06-19 07:43:24 - SenchaKitchenSink] adb is running normally.
[2012-06-19 07:43:24 - SenchaKitchenSink] Performing com.tbear.KitchenSink.SenchaKitchenSinkActivity activity launch
[2012-06-19 07:43:24 - SenchaKitchenSink] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'Android2.1'
[2012-06-19 07:43:24 - SenchaKitchenSink] Uploading SenchaKitchenSink.apk onto device 'emulator-5554'
[2012-06-19 07:43:59 - SenchaKitchenSink] Installing SenchaKitchenSink.apk...
[2012-06-19 07:45:42 - SenchaKitchenSink] Success!
[2012-06-19 07:45:42 - SenchaKitchenSink] Starting activity com.tbear.KitchenSink.SenchaKitchenSinkActivity on device emulator-5554
[2012-06-19 07:45:46 - SenchaKitchenSink] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.tbear.KitchenSink/.SenchaKitchenSinkActivity }
I just get a white screen on the simulator - I wait for 5 minutes and it is still just a white screen - I can exit out of the application no problems. I tried different Android Built target and same results.
Running the PhoneGap API example with Sencha Touch gives the same problem white screen, but I do get log errors:
06-19 05:55:56.750: D/CordovaLog(279): TypeError: Result of expression 'Ext.Application' [undefined] is not a constructor.
06-19 05:55:56.750: D/CordovaLog(279): file:///android_asset/www/phonegapdemo-w-sencha.js: Line 254 : TypeError: Result of expression 'Ext.Application' [undefined] is not a constructor.
06-19 05:55:56.750: E/Web Console(279): TypeError: Result of expression 'Ext.Application' [undefined] is not a constructor. at file:///android_asset/www/phonegapdemo-w-sencha.js:254
If I run the PhoneGap API without Sencha Touch it all works, no problems at all - only when using PhoneGap with Sencha Touch I get issues.
I'm new to this, so I'm turning to the community to see if someone can tell me what I'm doing wrong.
Some facts of my environment.
MDS AppLaud 1.2
Eclipse Indigo
PhoneGap Used the built in 1.6
Sencha Touch 2
I did try with PhoneGap 1.8 - that did not work either.
Great plugin, loved it - just hoping I can get through the PhoenGap Sencha Touch examples.