import com.phonegap.DroidGap;
import android.os.Bundle;
public class RestApi_PhoneGapActivity extends DroidGap {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/
fieldForceDemo.html");
// super.loadUrl("file:///android_asset/www/
dojoXmlDebug.html"); //use this to output the nodeTree (for debugging)
}
}
I have extended DroidGap from phonegap and in fieldforcedemo.htmli
have got ui for each button there i have js file written to perform
some functionality.
Now can any one tell me how to add a new activity here because i have
not extended default activity class for which i am planning to use
android specific classes to be specific webview.
Or can i add some button in html page on click of which an activity
has to be triggered?
Please Help
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en