Can you show us the Manifest file you use?

This is one Manifest I use with no problems.

<manifest android:versionCode="1" android:versionName="1.0.0"
package="com.app"
  xmlns:android="http://schemas.android.com/apk/res/android";>
    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"
android:maxSdkVersion="9" />

    <uses-configuration android:reqTouchScreen="finger" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <application android:label="@string/app_name"
android:icon="@drawable/icon">
        <activity android:label="@string/app_name" android:name=".App"
android:stateNotNeeded="true" android:launchMode="singleTask"
android:screenOrientation="landscape"
android:configChanges="keyboardHidden|orientation">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

On Tue, Mar 15, 2011 at 7:49 PM, Ashish Raut <[email protected]>wrote:

> Yes Mark, You are right,
>
> but the problem is,
> When i installed the application (Without closing last confirmation screen
> which automatically come up after installed)
> and open directly there are two buttons OPEN and DONE (Without pressing
> DONE)
> i will open the application and going to the last screen of my app. and
> then press HOME button after that i will start my app. from desktop icon
> then it will come up new instance
> but when will press DONE after installation then behavior is correct
>
> Please help me, If you have any idea about this flow
>
> Regards,
> AshishR
>
>
> On Tue, Mar 15, 2011 at 3:50 AM, Mark Murphy <[email protected]>wrote:
>
>> On Mon, Mar 14, 2011 at 1:40 AM, Ashish Raut <[email protected]>
>> wrote:
>> >
>> > I have also one problem related with HOME button,
>> > Problem is: when i clicked on HOME button and go to the Desktop,
>> > and again start my app. from desktop icon,
>> > then it will start from first screen. No state saved,
>> > This problem we are facing on Samsung galaxy,
>> > It is working correctly on HTC TATTO
>>
>> There is no guarantee that after the user presses HOME that your
>> application will return to any previous state when the user returns to
>> it. That depends on whether Android destroyed your background
>> activities and terminated your process, and different devices may do
>> that more aggressively than others.
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> Android Training in Oslo: http://bit.ly/fjBo24
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to