This is a working example of an extension that works with the Android app AlarmPad available for free on the Play Store.
AlarmPad is an alarm clock that brings context to your alarms. Once you set one you can see right away the weather forecast and your calendar appointments following its time. AlarmPad listens to the calendar updates and offers widgets that put in one place your next alarm, calendar appointment and weather forecast. It also allows you to listen to your personal messages and speak voice commands to dismiss or snooze the alarm.
With extensions like this one, you can now add your own custom views to the alarms. Once it rings, the data provided by the extension will be shown in a summary on the alarm's front page linking to details in its own custom view. You can download this app for free to see it working in practice with AlarmPad.
Extensions like this one are very easy to create and work the same way DashClock extensions do:
- Download and add the API jar file to your Android project;
- Create a new service that extends the MindMeExtension class;
- Add the corresponding tag to your AndroidManifest.xml file and add the required and elements.
Once you have both AlarmPad and your custom extension installed, you should be able to add your extension from AlarmPad's 'Manage Extensions' menu option.
The full source code for the API and its reference documentation are available here.
Extensions are currently only supported on AlarmPad's test version. You can get it by joining the Google+ community at https://plus.google.com/communities/113108980221311144145. Once you join the community, you need to also join the test to download this version from the Play Store.
Please contact me at any time if you need any help by sending an e-mail to alarmpad (at) mindmeapp (dot) com.
This work would not have been possible without Roman Nurik's open source DashClock app. Thank you very much for making it available.