Select to view content in your preferred language

Back button makes app crashes

998
3
Jump to solution
06-20-2012 12:29 AM
JesusSanchez
Emerging Contributor
Hi,

    when i press the back button and i'm in an activity with the ESRI mapview, the application crashes. I'm always getting this behaviour. I'm trying to solve it by overriding the onBackPressed method and creating my intents to go to the previos activity, but this is really complex when you have several activities. Anybody knows the way to avoid this behaviour?

Thank's in advance.
0 Kudos
1 Solution

Accepted Solutions
StephenQuan
Deactivated User
I agree with Robert. I had the problem with the 1.1.1 SDK but it went away with the latest 2.0.0 SDK.

View solution in original post

0 Kudos
3 Replies
RobertNitzel
Emerging Contributor
You should try the newest release, V2.0, released Friday June 22.

Solved my crash problem.

Robert
0 Kudos
StephenQuan
Deactivated User
I agree with Robert. I had the problem with the 1.1.1 SDK but it went away with the latest 2.0.0 SDK.
0 Kudos
JesusSanchez
Emerging Contributor
Thank's both of you for your answer. I've downloaded sdk 2.0 and now it's working fine! Altough in requierements it's said that you need android 2.2, i'm using in 2.1 without problems.

Thank's again for your help.
0 Kudos