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?

Thanks,
Chen Ganir.







--



Other Threads

1. SDK 1.6 and emulator sdcard problem

Hi all,

I've updated to SDK 1.6 and created the new AVD and emulator sdcard
image file sucesssfully.

I'm using following code to store binary file in sdcard:
---------
      File file = new File("sdcard/mypackage.folder1");
     if(!file.exists() && file.mkdir())
   {
       file = new File('myfile.bin');
       if(!file.exists())
        file.createNewFile();
   }

      FileOutputStream stream = new FileOutputStream('myfile.bin');
      objectOut = new ObjectOutputStream(new BufferedOutputStream
(stream));
      objectOut.writeObject(data);
-------------------
Exactly the same code is working properly with SDK 1.5.

For some reason file.mkdir( ) always returns false.

Does anybody got such problem?

Thanks in advance,
Evgeny
--~--~---------~--~----~------------~-------~--~----~

2. Mobile phone accelaration sensor

Hello guys im interested in developing some softweare for the android
OS using accelaration sensor and I would like to know how precise this
technology is in mobile phones ? so I wont be waiting my time.

If anyone know something please share!

--~--~---------~--~----~------------~-------~--~----~

3. 绛斿: Low-level network data?

4. BaseAdapter.getView()鈥檚 c onvertView parameter

5. Package installer crash in version 1.6

6. How to control voice volume with VideoView

7. Trying to stay up-to-date on new developments in Android SDK