mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Add configurable start location to config.xml and template
Still possible to hardcode, there's a comment in the template showing how that can be done.
This commit is contained in:
committed by
Joe Bowser
parent
d04fc289ac
commit
958424ce59
@@ -29,7 +29,8 @@ public class __ACTIVITY__ extends DroidGap
|
||||
{
|
||||
super.onCreate(savedInstanceState);
|
||||
Config.init(this);
|
||||
super.loadUrl("file:///android_asset/www/index.html");
|
||||
super.loadUrl(Config.getStartUrl());
|
||||
//super.loadUrl("file:///android_asset/www/index.html")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user