Organizational Research By

Surprising Reserch Topic

boostr.in questions - Question:Android activity recreate itself


My app normally works just fine, until I face a strange problem on specific device. There are 2 activities in App. After I start ActivityB inside of ActivityA, ActivityA starts with no issue. However, after I go back to the ActivityA with pushing back hardware button or calling finish(); inside of closeButton in ActivityB, ActivityA reloads itself. It triggers onCreate() again and reloads all its contents. And I'm not changing orientation of phone. This strange behavior only appears in 15 phones over 1.000 download of app.

This problem only occurs on Galaxy S3 Android OS 4.1.2. And this is also strange.

Do you have any idea why this is happening?

When I start a new Activity inside of button listener like this:

ActivityA.java (MesajlarListViewActivity)

asked Sep 13, 2013 in rauter by rajesh
edited Sep 12, 2013
0 votes
17 views



Related Hot Questions



Government Jobs Opening


...