Splash Screen untuk Phonegap Android

Langkah-langkah membuat splashcreen untuk Phonegap Android

1. Siapkan File Image yang akan di tampilkan sebagai splash screen (misalkan => splash.png)

2. Masukan splash.png ke folder di folder root project > res > drawable-ldpi

3. cantumkan

super.setIntegerProperty(“splashscreen”, R.drawable.splash);
super.loadUrl(“file:///android_asset/www/index.html”,5000);

contoh

phonegap cordova android splashscreen

phonegap cordova android splashscreen

    note:

  • splash merupakan nama file yang akan di upload,
  • pastikan di folder drawable-ldpi tidak ada file lain selain file image.



Tags: , , ,
This entry was posted on Monday, May 7th, 2012 at 10:17 pm and is filed under Gadget, Phonegap Cordova. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Your comment