I am writing an Android application that should display the specific image (Bitmap
) while the user is charging his phone.
The life-cycle:
How could I achieve it?
If i remember correctly you can get the "ACTION_POWER_CONNECTED" event with a BroadcastReceiver to do whatever you want. Just Google, there are pretty good tutorials ;)