Using com.stackmob.android.sdk.common.StackMobAndroid in html/js page after init?

10 views
Skip to first unread message

gil rubinstein

unread,
Feb 14, 2013, 12:37:28 AM2/14/13
to stac...@googlegroups.com
Hello, 

I really could use your advise :) 

I'm using StackMob over PhoneGap.
My StackMob init is done on activity create.
Can i use same StackMob instance in my html/JS pages? if yes, how? 


Many thanks 

Gil

SidneyAllen

unread,
Feb 14, 2013, 12:47:54 PM2/14/13
to stac...@googlegroups.com
If you are using phoneGap, we detect that and dynamically change AJAX calls to point to api.stackmob.com

If you want to use the same code for a web app you'll want to remove the phonegap.js library before testing using the stackmob local python server.

Here is information on hosting HTML5 apps on stackmob
Reply all
Reply to author
Forward
0 new messages