How to avoid Black Screen on starting an application

Posted by ganesh on Stack Overflow See other posts from Stack Overflow or by ganesh
Published on 2010-04-06T13:47:27Z Indexed on 2010/04/06 14:23 UTC
Read the original article Hit count: 215

Filed under:
|

hi,
When i start my application initially ,i get a black screen which stays for a few seconds before my main activity starts.In case of iphone an image with name default is displayed for that split second.I am not sure how to do the same in android.Any help .I tried as below in vain

         <activity android:name=".Index"
              android:label="@string/app_name"
              android:screenOrientation="portrait"
              android:theme="@drawable/defaultimage">
            <intent-filter>
              <action android:name="android.intent.action.MAIN" />
              <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
        </activity>  

© Stack Overflow or respective owner

Related posts about android

Related posts about theme