What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?

by Chen Ganir » Tue, 02 Mar 2010 22:08:47 GMT

Sponsored Links
 Hey Mark.

thanks for the quick response. I see that the AlarmManager is part of
the app package. Is it possible to use it in a system service?

Chen Ganir.


Other Threads

1. Widget update with Context.sendBroadcast()

Hello all,

I would like to update my AppWidget only, without interfering with the
other widgets in the system.
I created the following code, but I am not sure it other widgets will
also update, since I am using Context.sendBroadcast().

Intent myWidgetUpdate= new Intent

In the reference it is written:

sendBroadcast(Intent intent, String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers...

Does this means that even if I specify the exact class to send the
intent to, other unrelated widgets will also be udpated?

Thank you.



2. Audio and Video Issue in android application....

Hi Friends,

Did anyone try playing audio/video through http/rtsp. I am having a
problem with either of the approach....
I am getting an error Command PLAYER_INIT completed with PVMFError
I some cases I got
Command PLAYER_INIT completed with

Can some one explain what is the problem.
The code snippet I am using is given below...

VideoView mVideoView = (VideoView) findViewById(---------);
            mVideoView.setMediaController(new MediaController(this));

The code works fine when I say
but not able to play if I give a rtsp/http urls

In case of http it says PVMFErrorContentInvalid for progressive

Can some body tell me what is the problem.
Can you please post the code if someone has been successful in playing
audio/video through http/rtsp.....

Thanks & Regards
mail: dileepkumar.renint...@gmail.com


3. Code difference at driver level ....................

4. Maximum display resolution possible

5. SimpleCursorAdapter and Spinner control

6. Cannot see map in my mobile device

7. Multiple Layouts in a ListView