[Android] Sleep Function And Advance Function

XilasZ xilasz at gmail.com
Fri Dec 28 19:46:16 CET 2012


> Sleep Function And Advance Function
>
>     - Create Sleep Function
>     - Group and organise features in a specific panel for
>     actual and future use
>

nice features, but i have some remarks :
- why a dedicated SleepAlarmReceiver just to resend another intent ?
- i think it's wrong to keep dialogs opened and alive all the time, and
also the activity should not be closed from within the dialogs.
- TimeSleepDialog is buggy, onTimeSet is always called, wheither you
validate or just cancel, i don't know why
- i don't know where

Here's how i think it should be done:
- dialogs to configure it, and schedule a SLEEP_INTENT. this should be
callable from anywhere
- implement a SLEEP_INTENT receiver in both VideoPlayerActivity and
AudioService, and react accordingly

What do you think ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/private/android/attachments/20121228/e83e8925/attachment-0001.html>


More information about the Android mailing list