commit | 6c12ea438038f73615b922430eaa8345b94f32f5 | [log] [tgz] |
---|---|---|
author | Maxim Ermilov <maxim.ermilov@canonical.com> | Wed Oct 16 22:16:33 2013 +0400 |
committer | Maxim Ermilov <maxim.ermilov@canonical.com> | Wed Oct 16 22:16:33 2013 +0400 |
tree | dca8a560dc7fe563e048bec9ad21bb6308889341 | |
parent | b0543eee776a9e561602eea8c95973a4b3ae464d [diff] |
add ubuntu platform
For Android,
In your config.xml, you need to add the following preference
<preference name="splashscreen" value="foo" />
Where foo is the name of the splashscreen file. Preferably a 9 patch file. Make sure to add your splashcreen files to your res/xml directory under the appropriate folders.
For Android, you also have to edit your projects main java file. You must add a second parameter representing a time delay to your super.loadUrl.
super.loadUrl(Config.getStartUrl(), 10000);
To install this plugin, follow the Command-line Interface Guide.
If you are not using the Cordova Command-line Interface, follow Using Plugman to Manage Plugins.