Android Daydream Service / Standby screen (not AR)

DinoNovak.3412DinoNovak.3412 USMember ✭✭
edited August 27 in Xamarin.Android

Hi,
can anyone share some example or instructions on how to create an Android Daydream service - Android.Service.Dreams.DreamService Class
I can see that it is supported in Xamarin (https://developer.xamarin.com/api/type/Android.Service.Dreams.DreamService/) but no examples on how to do it

Any help would be greatly appreciated.

Thank you,
DiNo

Tagged:

Posts

  • DinoNovak.3412DinoNovak.3412 USMember ✭✭

    HI,
    I have created a test project
    https://gitlab.com/dn-misc/XamarinAndroidDreamService.git

    but when DayDream Service needs to be started I am getting Java.Lang.Runtime exception

    Unable to instantiate service com.dinonovak.DayDreamTest.MyDreamService: java.lang.ClassNotFoundException: Didn't find class "com.dinonovak.DayDreamTest.MyDreamService"

    I am not sure if this is manifest issue or something wrong with service definition

Sign In or Register to comment.