java - AlarmManager effect on battery for an Alarm clock app -


I want to build an alarm clock app for Android
I have an alarm manager Which starts the service every 1 second to check the system time.
I now have 3 questions:

1- Is there any other way to check the system 1 second time? And what is the best way to do this work?

What is this my way on a 2-battery charge? Is this the reason for reducing battery charge too fast?

What is the Android Alarm app in which system to check time?

Please help me create this app

thanks

< p> Why do not you just use the functionality of the alarmmanger, and try and do not invent it yourself. Actually, it allows you to call for a service at a predetermined time (what you probably want to do eventually).

The suggestions you give will be very problematic for the battery, and a good attitude.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -