I have a weird problem with exporting apk. When I run the project on eclipse, it is working correctly. But if I export the apk and install the same phone after deleting old one, it is not the same application. The funny part is that when the installing apk is finished I have two options Open and Done when I press Open I can replicate the issue described earlier but when I choose Done and it works ok. The changes are about back button. My code part is as follows :
@Override
public void onBackPressed() {
moveTaskToBack(true);
}
This code is not work correctly if i don't run the project on eclipse.
UPDATE :
The problem is fixed. I tried this solution and it works for me.
Android Activity Stack is not working as stated in the docs - last activity in task stack not shown
Thanks for your help.