Note: As of 27/11/2016 the mainline kernel included in the ArchLinux ARM Image supports ethernet and USB. Please use the following image: ArchLinuxARM-armv7-latest.tar.gz
This is how to fire an Alarm every week on Android.
Since the Android device may restart multiple times during that period of time I’ve had a hard time setting triggerAtMillis in setInexactRepeating. I’ve finally settled on the following solution.