1

can anyone please tell me how to create Splashscreen ??I am using jdeveloper 11.1.2.4.0 and cordova 2.2.. I have followed every steps mentioned in phonegap documentation..But still I am not able to create splashscreen..

Here is my class extending DroidGap

package mobile;

import android.os.Bundle;
import org.apache.cordova.DroidGap;
import android.R;
import android.app.Activity;
import oracle.adfmf.amx.event.ActionEvent;
import oracle.adfmf.framework.api.AdfmfContainerUtilities;


public class splashClass extends DroidGap
{
    public splashClass() {
        super();
    }

    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);     
        super.setIntegerProperty("splashscreen", R.drawable.splash); 
        this.setIntegerProperty("loadUrlTimeoutValue", 120000);
        super.loadUrl("file:///assets/www/index.html",120000); 
      }   

}

R.drawable.splash is showing an error as "type or field 'splash' is not found in drawable" when I have added splash.png file into drawable..

But when I took a previouslly added image from drawable like "R.drawable.ic_delete",the same is not displaying on emulator..only black screen is coming..

Thnks..

user2447044
  • 69
  • 3
  • 8

0 Answers0