Invoke GlobalActions dialog (Shutdown/Reboot...) on Android-x86

by Christian Erpelding » Fri, 23 Apr 2010 20:55:37 GMT


Sponsored Links
 Hello,

I'm trying to port Android to the OpenFrame/Joggler.
 http://www.openpeak.com/OpenFrame.php 

The problem is that this device is touch-only, i.e. it has no hardware 
buttons at all. Not even a power button.

I'd like to be able to shutdown Android in a safe way to avoid data 
loss. :-)

Android-x86.org offers a touch-only feature that can be 
started/stopped by tapping the right corner of the StatusBar.
It can simulate HOME/MENU/BACK, implemented in 
frameworks/base/services/java/com/android/server/status/TouchFeature.java

I'd like to implement a function to show the Power Off dialog that's 
normally invoked by pressing the Power button on the PC (or 
longpressing the ENDCALL key on the phone).

After reading 



Other Threads

1. How to show floating menu similar to sub-menus on screen tap

I think AlertDialog in the answer.

-- 

2. List of classes and methods?

Is there a downloadable file with the android java subset classes and
methods that an old c programmer could study offline? The reference
search box at android developers is giving me a lot of 'not founds'.

--

3. Perfect SPL not so perfect anymore| magic 32a 1.76.0007 SPL

4. Confusion with Preferences

5. online seminar

6. android irc app

7. Need an example