Buttons on Android Devices

by prgmratlarge » Fri, 12 Nov 2010 02:18:51 GMT


Sponsored Links
 Kind of new to Android, and definitely don't know too much about the
devices. I was wondering whether every android device out there has a
menu and back button? I just wanna make sure we could assume this as a
fact...

--



Buttons on Android Devices

by Mark Murphy » Fri, 12 Nov 2010 02:24:34 GMT


 


Any device that has the Android Market on it will have a MENU and a
BACK hard or soft button.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/books 

--


Sponsored Links


Buttons on Android Devices

by mort » Fri, 12 Nov 2010 17:46:41 GMT


 


I think the Home button is mandatory as well, the Search button seems
to be optional.
Most devices without Market will have those buttons as well, because
the default Android UI is not usable without them. Exceptions usually
are devices which use only the Android framework with entirely
different UIs, like some eBook readers.

--



Other Threads

1. Antara Motorola Xoom, iPad, dan Playbook

Monggo dibaca disini: http://gpgo.in/vs

Follow us on twitter @gopegodotcom


----------------------------
@yopiesuryadi
www.gopego.com
http://about.me/yopie

-- 
===============

2. Problem with application on real device

I have device with Android 2.1 update. I run my app on emulator. It's
works. But on real device it do not work curently.

So, i have 3 Activity. Main, Edit and View.
Main run Edit, Edit Run View. It's first lifecycle of program.
Main run View. It's second lifecycle. It works perfectly.
First lifecycle:
Main run Edit. Edit has onStop() method.
onStop()
{
  super.onStop;
  finish();
}
Edit run View. View has onKey(...) method and onStop too.
@Override
        public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent
event) {
                // TODO Auto-generated method stub
                if(event.getKeyCode()==KeyEvent.KEYCODE_BACK)
                {
                        finish();
                }

                return true;
        }
It situation on real device:
Main run Edit, Edit run View. I press BACK key in View, but Edit was
finished and i wait see Main. But, i see View again. I press BACK key
again and see Main.

On emulator i see Main after first press.
All activity have launchMode="singleInstance" and
android:finishOnTaskLaunch="true"
So, why? Where is problem?
Thanks.

-- 

3. multi-language support in android

4. Live Report MWC: Penampakan HTC Tablet 7"!

5. Activities and Intents

6. App Broken After Android Refactoring "Rename Application Package" / android.view.InflateException

7. WeCon #1, The Nominees, and The Winner