Hi. Thank you that's cool and will help users escape this situation.
But I wonder if we can handle this by code? Somewhere in the 2nd Home
application.
All I can think of is doing this when error occurs:
Intent i = new Intent();
i.setAction("android.intent.action.MAIN");
i.addCategory("android.intent.category.HOME");
Intent choose = Intent.createChooser(i, "Forced chooser");
startActivity(choose);
This will create out own chooser containing 2 choices: 'Home' and '2nd
Home'.
This work quite well but when 2nd Home is NOT the default, and user
press the Home button -> there'll be 2 choosers up on screen. Up to
this point it's not a serious(dead-lock) problem now. But it just
looks weird having 2 choosers on the screen, one on top of the other.
I wonder if there's any other solution?
any opinions are welcome.
Thank you 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
-~----------~----~----~----~------~----~------~--~---