Yes I have Overridden back button .
I start activity A and then call finish in the method onBackPressed() which 
I have overridden.But still the problem exists.

Any Help would be appreciated .
Thanks in advance

On Friday, July 11, 2014 4:46:00 PM UTC+5:30, MathieuB wrote:
>
> Did you do some kind of overriding on back button? If you normally use 
> startActivity() in activity A to start B, then when you press back from B 
> to A, it should act normally.
>
> Le vendredi 11 juillet 2014 01:50:31 UTC-4, janvi a écrit :
>>
>> Hello All,
>>
>> I have an issue in my App.
>>
>> I have three activities called A , B ,C
>>
>> In the activity A I have a button and onclick of that I open another 
>> Activity called ShowChart.Onback press of ShowChart Activity I navigate to 
>> Activity A
>> Onback press of Activity A I close the App.
>>
>> Following is the Problem
>> ------------------------------------------
>> When I open ShowChart Activity and do backpress I go to Activity A which 
>> is fine but when I again do back press from Activity A my App gets Closed 
>> but XML of the 
>> ShowChart Activity is shown instead of normal close of the App.
>>
>>
>>
>>
>> Any Help would be appreciated.Thanks in Advance
>>
>>
>>
>>
>>
>>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to