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. Status of Jython, JRuby, Scala, etc Android development?

I'm not to Android development - got my G1 today, like many other
developers.  I'm a professional Ruby developer (with previous Java
experience) and I'm working ... what is the status of writing Android
applications in other Java languages that compile to typical Java
bytecode (like JRuby, Jython, etc)?

( there's nothing wrong with plain vanilla Java, but I would be *very*
interested in developing open-source Ruby libraries to lower the bar
to entry for Android, for Ruby developers ... I'm sure the same goes
for Python developers, etc )

Thanks!

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

2. How Do I Change The Layout Of The Items in the Spinner Control?



If the revised layout is the same for all of them, give the revised 
layout to the adapter constructor. You may need to use the 
ArrayAdapter(Context context, int resource, int textViewResourceId, T[] 
objects) if your layout is more than a single TextView.

If your revised layout varies by item or needs to shift on the fly, you 
will probably need to subclass your adapter and implement getView() to 
return the View you want for each row. If you visit AndroidGuys.com and 
search "Fancy ListViews", you'll find a long list of blog posts on that 
topic, though some are from the M5 SDK and will need tweaks to work on 
the current one.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.4 Published!

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

3. "stroke" in a shape layout

4. Handle tap on MyLocationOverlay current GPS position

5. Thread instead of Service, is it safe ?

6. Nullpointer ......Stack overflow, expanding

7. G1 Software Updates