I\'m working with 2 separate alarms. I have a method in my class which creates 2 different pending intents to start 2 alarms. This method calls the broadcast method when complete however depending on
has anyone noticed that when time passes from 23:59 to 00:00 which is a new day, emulator shows a message like:
I\'m trying to post Notifications via AlarmManager delayed. For this purpose I created an AlarmReciever which currently looks like this:
I\'m working on my first Android application and I\'m having problems using AlarmManager. My application schedules an alarm to check a few URLs for data. Well, sometimes when the alarm runs, I get an
I need to keep a TCP connection established indefinitely (as far as possible). Is not an own server so we cannot change the way it works. This server needs some kind on ping each minute to know that t
I want to put reminders on the phone\'s calendar. In other words, reminders needs to be in the real calendar of the phone. We can create remi开发者_JAVA百科nders with AlarmManager but I want it to app
I am trying to devel开发者_Go百科op an app where it locks down the Activity and starts a service which will set an AlarmManager to setRepeating() trigger to another Service which will send a SMS conta
I need a service to start at boot that periodically checks some database for newly posted data. If there is new data(that fits the correct parameters) I need to then start an activity to display this.
This question already has answers here: Closed 10 years ago. Possible Duplicate: Android RuntimeException: Unable to instantiate the service
Intent myIntent = new Intent(taskiller.this, taskiller.class); pendingIn开发者_如何学JAVAtent = PendingIntent.getService(taskiller.this, 0, myIntent, 0);