[Urgent]Android launcher start up, entry onCreate twice, orientation is not changed
<p>We build a launcher, and when it starts up, onCreate always is called twice, it makes screen load twice and speed is too slow.</p>

<p>We check the orientation, it not changed in first and second entry in onCreate.</p>

<p>even i comments all code in onCreate, onStart, onResume,and onDestroy, it also entry twice in onCreate.. So I think it's not related to the detailed code.</p>

<p>the manifest file:</p>

<pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.com.com"
android:versionCode="1"
android:versionName="1.1"&gt;
&lt;uses-sdk android:minSdkVersion="9" /&gt;
&lt;uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/&gt;
&lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
&lt;uses-permission android:name="android.permission.INSTALL_PACKAGES" /&gt;
&lt;uses-permission android:name="android.permission.EXPAND_STATUS_BAR"/&gt;
&lt;uses-permission android:name="android.permission.BROADCAST_WAP_PUSH"/&gt;
&lt;uses-permission android:name="android.permission.READ_PROFILE" /&gt;
&lt;uses-permission android:name="android.permission.RESTART_PACKAGES"/&gt;

&lt;uses-permission android:name="android.permission.READ_PHONE_STATE"/&gt;
&lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/&gt;
&lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/&gt;
&lt;uses-permission android:name="android.permission.GET_TASKS"/&gt;
&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
&lt;uses-permission android:name="android.permission.READ_LOGS"/&gt;
&lt;uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/&gt;
&lt;uses-permission android:name="android.permission.INTERNET"/&gt;
&lt;uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/&gt;
&lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt;

&lt;application android:persistent="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"&gt;
    &lt;activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.NoTitleBar"
        android:screenOrientation="landscape"
        android:launchMode="singleInstance" 
        android:stateNotNeeded="true" 
       android:clearTaskOnLaunch="true"

        &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;


           &lt;category android:name="android.intent.category.HOME" /&gt;
            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
&lt;/application&gt;
</code></pre>

<p></p>
