Android Question Can I create my own alarm type?

ErikM

Member
Licensed User
Longtime User
Let's say, I have my own service for playing some stream from remote source. I want to add it to native alarm application, as another alarm type, so I can use it to set up alarm time, but use my app to play when it's time.
Is something like that possible? Or I have to create this time setup in my app as well?
Thanks.
 

ErikM

Member
Licensed User
Longtime User
Do you mean like this:
1. Download remote file
2. Use AddToMediaStore()
3. SetDefault() to new file to change the default ringtone
?
I wanted to use the MediaPlayerStream to play from remote source, without the need to download the file first.
Can this be done somehow?
Or how did you mean to do it?
Thanks Erel.
 
Upvote 0

ErikM

Member
Licensed User
Longtime User
Why do you want to use the native alarm application? It will be simpler to use ServiceStartAt and play the file yourself.
For me, it would be simpler, but for normal user, it is more simpler to use the native alarm app.
Ok, I will not go against the wall, but if it is doable, I want to try.
 
Upvote 0
Top