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


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. RES: Sqlite connection coding

Try this books.
Android, A Programmer's Guide from J.F. DiMarzio
Android Essentials (Firstpress) from Chris Haseman

George Lanes

-----Mensagem original-----
De: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] Em nome de Mark Murphy
Enviada em: sexta-feira, 12 de dezembro de 2008 10:17
Para: android-beginners@googlegroups.com
Assunto: [android-beginners] Re: Sqlite connection coding

There are several Android books listed in my Android Programming Knol:


Others may be available in "beta" form as well, notably Ed Burnette's 
_Hello, Android_.

I am partial to _The Busy Coder's Guide to Android Development_. :-)

Mark Murphy (a Commons Guy)
_The Busy Coder's Guide to Android Development_ Version 1.9 Available!


2. several notePad Input configuration change bugs

I walked through the notePad tutorial and thought everything was
working fine. I then found a trail of bugs that were not obvious. The
bug revealed when I tried to add a new note and changed the
configuratoin, i.e. opened the phone to reveal the keypad or vise
versa.  If you do this the app freezes and you get a Alert that the
app has stopped unexpectedly.

In debugging it I found that there was a null exception here:

protected void onSaveInstanceState(Bundle outState) {
        outState.putLong(NotesDbAdapter.KEY_ROWID, mRowId);

Should be:

protected void onSaveInstanceState(Bundle outState) {
        if(mRowId != null)
          outState.putLong(NotesDbAdapter.KEY_ROWID, mRowId);

So that fixed the freezing, but revealed another bug! Similar issue,
when you are adding a new note and change the input configuration it
does not freeze, but it does not save edited note. Instead it save a
blank note, no title no body.

I tried to to fix this to no avail, I think the issue has something to
do when it changes configuration it saves an instant of its self, but
and does not update itself when you continue to edit it.

Anyhow, I think the problem is in NoteEdit.java and after much
searching and a lot of debugging I am hoping that someone else has
fixed this or knows about it.


3. IOException in HttpClient: unknown error while trying to access run simple MAP application

4. How to bring a exist activity to foreground

5. Android Dev Phone UK Shipping Times

6. alarms are not triggered in android emulator...

7. Question about