I'm not being unfriendly to users. I need to hand out
devices at an event so that people can walk around and
use my app. I don't want them to use other apps on the
phone.
So I put this in my AndroidManifest.xml:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Then I get a choice of launchers from the home button. I choose my app
'Always' and everything
is great. The only problem is that if I reboot the device,
my app indeed comes up as the home screen, but it immediately crashes.
Is there some event or Intent I need to handle to do this? I can't figure
out how to debug this, because there are no logcat events, and when
I restart my app it works fine.
Also if there are any other thoughts on how to make a one app device,
I'd love to have suggestions.
Thanks!
Tobiah
--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.