Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Android Development
Previous Page Home Next Page
 

Hello, Views

This collection of "Hello World"-style tutorials is designed to get you quickly started with common Android Views and widgets. The aim is to let you copy and paste these kinds of boring bits so you can focus on developing the code that makes your Android application rock. Of course, we'll discuss some of the given code so that it all makes sense.

Note that a certain amount of knowledge is assumed for these tutorials. If you haven't completed the Hello, World tutorial, please do so—it will teach you many things you should know about basic Android development and Eclipse features. More specifically, you should know:

  • How to create a new Android project.
  • The basic structure of an Android project (resource files, layout files, etc.).
  • The essential components of an Activity.
  • How to build and run a project.

Please, also notice that, in order to make these tutorials simple, some may not convey the better Android coding practices. In particular, many of them use hard-coded strings in the layout files—the better practice is to reference strings from your strings.xml file.

With this knowledge, you're ready to begin, so take your pick.

There are plenty more Views and widgets available. See the View class for more on View layouts, and the widget package for more useful widgets. And for more raw code samples, visit the Api Demos. These can also be found offline, in /<sdk>/samples/ApiDemos.

Android Development
Previous Page Home Next Page

 
 
  Published under the terms fo the Apache 2.0 License Design by Interspire