Android Question DayDream Settings Screens

greydog

Member
Licensed User
Longtime User
Hi there,
I am creating a daydream app and for the life of me can't work out how to get the settings screen to show. I have created the xml file etc and specified the activity. The setting button shows under daydream, but the app crashes as soon as I press it.

my xml file is
<dream xmlns:android="http://schemas.android.com/apk/res/android"
android:settingsActivity="foto.app/.MyDreamSettingsActivity" />

my project package name is foto.app
Where/how do I create MyDreamSettingsActivity so that it has my settings screen on it?
Thanks
 

greydog

Member
Licensed User
Longtime User
Hi Erel,
Not sure how to get them. I am connected to the device via wireless. Where should I see the logs. All I get when I click on the "settings" button in the DayDream settings is a message that my app has crashed.
 
Upvote 0

greydog

Member
Licensed User
Longtime User
Hi Erel, sorry, took a while to get back to this. I can't do a usb debug as I am developing apps for one of the Android TV boxes and the one I have doesn't have the correct usb port. I was hoping to see an example somewhere of a daydream app with a configuration screen, but can't find one that I can follow. Will keep plugging away and see if I can work it out.
Thanks
 
Upvote 0
Top