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

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

Sponsored Links

I'm trying to port Android to the OpenFrame/Joggler. 

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. :-) 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 

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. Android technical help


We are starting application development on Android based platform.
I am looking technical help on Android application development.
Can anybody reply me the following questions?

What kind of support channels available for Android development?
Ticket based, on-line, etc?

What is the support pricing and categories ?



2. how to convert bitmap to byte array

hi all
  i am new in android  i am implementing image retrieve in sdcard  in image
convert into bitmap and in bitmap convert in to byte array please forward
some solution of this code
        public void onCreate(Bundle savedInstanceState) {
            ImageView image = (ImageView) findViewById(;
            EditText value=(EditText)findViewById(;
            FileInputStream in;
            BufferedInputStream buf;
            try {
                in = new FileInputStream("/sdcard/pictures/1.jpg");
                buf = new BufferedInputStream(in,1070);
                byte[] bMapArray= new byte[buf.available()];
                Bitmap bMap = BitmapFactory.decodeByteArray(bMapArray, 0,
               for (int i = 0; i < bMapArray.length; i++) {
                if (in != null) {
                if (buf != null) {

            } catch (Exception e) {
                Log.e("Error reading file", e.toString());

solution is

04-12 16:41:16.168: INFO/System.out(728):
4........................@435a2908this is the result for byte array
not display total byte array this array
size is 1034 please forward some solution
Thanks & Regards,

KVL Narasimha Rao.
Contact No: +91 9912656178


3. ADB connection error:existing connection was forcibly closed

4. playlist when SD card unmounted

5. problem in getting duration of video from VideoView class api names getduration

6. Outlook mail

7. Parcelable not working