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 automatically show a sub menu at startup?




Can you clarify what you mean by "preferences sub menu" ?
If you mean a standard Preference Activity, you can just start that like any
other activity...

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 

2. Tanya bagaimana edit account utk sync data di HTC Hero

Kata nya sih harus di wipe ulang

send from miledroid




Mau tanya,kalau kita mau ganti account utk sync data kontak di HTC
hero bagaimana ya? Saya sudah setting tapi ternyata salah alamat
email,harusnya data kontak ada di account google yang satu lagi.,
Mohon informasinya

Regards
Edwin

--
"Indonesian Android Community [id-android]"

3. Searchify: Expand your search bar functionalit

4. File autotext Smart Keyboard Pro

5. Http -1 when Transfer-Encoding=chunked, Content-Encoding=gzip and Connection=Keep-Alive

6. device shaked? accelerometer once more

7. Code to enable and disable bluetooth for SDK 3 and above?