![]() ![]() The one that you could hook into would be ACTION_GET_CONTENT. Those apps could get that audio in one of a few ways. Some alarm clock apps might allow the user to select a piece of audio to play back as the alarm "ringtone". How do I convince generic alarm clock apps to show the user a list of available stations? Of note, when the user snoozes or stops the alarm, the radio should stop playing. That is only a piece of the required integration. When the alarm goes off, the radio should start playing I would be rather surprised if many alarm clock apps support this. I would like to integrate this with existing alarm clock apps, without having to build any alarm functionality into the app itself. It also seems to read and list all music tracks from the SD card.Īm I trying to do the impossible? Are these intents just not standardised? The Sleep as Android app that I use can trigger Spotify, but I think that's a custom built integration. The stock app doesn't do any integrations. To approach it from the other end, I looked at existing alarm clock apps. I could use the stream URL of the radio station, or maybe come up with a custom URL scheme like my-radio-app://station-id, but then how do I convince generic alarm clock apps to show the user a list of available stations? INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH requires a free-form search query, which doesn't seem appropriate.I looked through the common intents available on Android, but there doesn't seem to be anything appropriate. Ideally it should play a station chosen by the user beforehand, but I'll settle for storing the last used station and playing that instead. When the alarm goes off, the radio should start playing. The only issue with this app is that it does allow for a Plan B: You can type in a preset code to turn off the alarms, so you'll still need some willpower to get through your morning.I'm working on a streaming radio app, which can play one of a predefined set of stations. This alarm app lets you set a series of alarms that can be turned off by scanning different barcodes, like the barcode on your Keurig cups (while you make coffee), your cereal box (while you eat breakfast) and your toothpaste (while you brush your teeth). If you're the kind of person who sets a series of alarms in the morning - one real alarm and 16 backup alarms - and then sleeps through all of them, Barcode Alarm ( Android and iOS) is the app for you. The app also works best if you give it a window of time (up to 90 minutes) for wake-up, though you can also use it to schedule regular (specific time) alarms. ![]() For best results, you'll need to place your phone on or near your mattress, as Sleep Cycle alarm clock uses your phone's accelerometer and/or microphone to track your sleep phases. This app is two things in one - a sleep-tracker and an intelligent alarm that analyzes your sleep patterns and attempts to wake you up during your lightest sleep phase. Sleep Cycle alarm clock ( Android and iOS) should be your go-to non-traditional alarm clock. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |