PDA

View Full Version : Packaging Sencha Project in Phonegap Build



lilford.immanuel
4 May 2011, 10:01 PM
I am trying to build Sencha project using Phonegap build..

I have used a Ext.data.Store, which calls a servlet that acts acts as a proxy to call a webservice.

I am not able to call the service.

Do I have to make any alterations to the way its called?

Any help would be appreciated.. :)

realjax
4 May 2011, 10:49 PM
For what platform? Using what further tools? What emulator? etcetera.

lilford.immanuel
4 May 2011, 10:56 PM
For what platform? Using what further tools? What emulator? etcetera.

Thank you for the response :)

Building apk for android using eclipse.. following instructions from http://www.phonegap.com/start#android

I don't need any phonegap features.. just need to build apps for android / iOS using phonegap build...

realjax
4 May 2011, 11:54 PM
Are you working from behind a proxy ? And I assume you are using the Android emulator?

lilford.immanuel
5 May 2011, 1:21 AM
Are you working from behind a proxy ? And I assume you are using the Android emulator?

Yes I am working behind a proxy.. Can I access service across domain when deploying as application on mobile??

n Yes I am using an Android emulator....

realjax
5 May 2011, 1:32 AM
There's a bug in the Android emulator. It basically boils down to the emulator not taking proxy settings into account when running an apk.

lilford.immanuel
6 May 2011, 1:17 AM
Thanks mate.. I got it working.. It was expecting exact physical path.. Relative path didn't work... :)