Re: [android-developers] Mimic Home button in software

2010-06-19 Thread Dianne Hackborn
I'm not sure I understand... if you want to switch to home from your app (which I am pretty sure the intent you give below is the right way), what would this have to do with the keyguard? If the user is in your app, they aren't in the keyguard... I don't understand the connection you have betwee

[android-developers] Mimic Home button in software

2010-06-19 Thread GodsMoon
I would like the back button to work exactly like the home button in my activity. I know that doesn't sounds like something I would want to do, but it makes sense in the context of my app. I've tried an intent: Intent intent = new Intent(Intent.ACTION_MAIN, null); intent.addCategory(Intent.CATEGOR