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

Hi,

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 ?

Regards,
Mahbub
mrahman252...@yahoo.com

-- 

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) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
            ImageView image = (ImageView) findViewById(R.id.picview);
            EditText value=(EditText)findViewById(R.id.EditText01);
            FileInputStream in;
            BufferedInputStream buf;
            try {
                in = new FileInputStream("/sdcard/pictures/1.jpg");
                buf = new BufferedInputStream(in,1070);
                System.out.println("1.................."+buf);
                byte[] bMapArray= new byte[buf.available()];
                buf.read(bMapArray);
                Bitmap bMap = BitmapFactory.decodeByteArray(bMapArray, 0,
bMapArray.length);
               for (int i = 0; i < bMapArray.length; i++) {
System.out.print("bytearray"+bMapArray[i]);
}
                image.setImageBitmap(bMap);
                value.setText(bMapArray.toString());
                if (in != null) {
                 in.close();
                }
                if (buf != null) {
                 buf.close();
                }

            } 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