Monday, March 3, 2014

Ask a question Alarm


If an alarm clock apk, I set the alarm (2 minutes after impact) after this apk off and then shut down again after boot, the alarm will still sound, how is this done? How to run only once apk, the process starts with the system and let it start? Find Great God doubts<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Binding a BootReciever for receiving broadcast boot, then bind a Server to do the appropriate thing.
 








Reply:
The first question the landlord:
Set the alarm clock, the time will be written to the database, alarm management services AlarmManagerService will automatically start after opening and will set a good alarm time to read all that, to that point in time, by notice, the alarm sounded. So even if your alarm clock did not start the process does not affect the alarm sounded.

The second question:
Since Android 4.0 after tripartite not boot automatically install the application because, as android.intent.action.BOOT_COMPLETED and other broadcasts, Google do not receive the system is mainly given to safety considerations, so in order to start the process with the system unless the mobile phone manufacturers customization.

No comments:

Post a Comment