Created
June 26, 2012 13:15
-
-
Save stevenday/2995731 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.something.yourname; | |
import android.os.Bundle; | |
import org.apache.cordova.*; | |
public class HelloCordovaActivity extends DroidGap { | |
/** Called when the activity is first created **/ | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
super.loadUrl("file://android_asset/www/index.html"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment