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. font selection in TextView...

what fonts are available under android and how do i set them.

i have read the documentation on android:typeface, but it's pretty
thin.  it looks like my choices are --
normal, sans, serif, monospace

i would like something more like "Arial", "Tahoma", "Times Roman"...

i googled around and saw some mention of "DroidFonts".

what are my options here?  what font typefaces are supported natively
by android, and how can i get access to more for a commercial
application (free would be better :)?

tia
--~--~---------~--~----~------------~-------~--~----~

2. How to know the length of the character using Graphics?

I've never done this, but one idea is to redraw the word/line with a paint
brush that alternates colors depending on the character.

Example, if you wanted "Hello World" and wanted the "W" to be red after 1
minute you might have to paint the line 3 times.

Paint: "Hello " (default color)
Paint: "W" (in red)
Paint: "orld" (default color)


-d-






-- 
Donn
http://blog.donnfelker.com/

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

3. Appwidget click event that shows a toast???Help please

4. sharing database across applications

5. multi-booo

6. how to reuse existing activity?

7. How to make chat window for IM?