When I launch my application, I see a white screen for a couple of seconds before the splash screen appears.
I am wondering if the size of my application can affect it (it's 17.7 MB). Or is it because my test device is outdated (HTC Desire HD) and is a bit torn off by too much data?
Or is this normal behavior? Or maybe the problem is in my code below ...
Part of the manifest:
<activity android:name=".SplashView" android:noHistory="true" android:screenOrientation="portrait" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".MainActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:windowSoftInputMode="adjustPan" android:configChanges="orientation" > <intent-filter > <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
Burst Activity:
public class SplashView extends SherlockActivity { private final int SPLASH_DISPLAY_LENGHT = 1000; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getSupportActionBar().hide(); setContentView(R.layout.splash_view); try { RefreshRatingsTask urt = new RefreshRatingsTask(); urt.execute(); } catch (Exception e) {
thank
performance android
user2224342 Jun 19 '13 at 1:15 2013-06-19 01:15
source share