Arindam Mukherjee
Arindam Mukherjee

Reputation: 2285

How to create a splashscreen for android using Sencha touch 2?

I want to create a splash screen for sencha touch 2. my requirement is first i will show a view with 3 secs and then i have to move to another view. How can i do this???

Upvotes: 1

Views: 1796

Answers (1)

Saurabh Verma
Saurabh Verma

Reputation: 1544

if u r using phone gap framework then u can create a splash screen by writing two lines

     super.loadUrl("file:///android_asset/www/index.html", 5000); 

and

      super.setIntegerProperty("splashscreen", R.drawable.splash);

in ur java file.

and if u r not using phone gap framework follow this

Upvotes: 1

Related Questions