Basic Android

esse quam videri
Revision as of 16:41, 19 July 2011 by Jeff (talk | contribs) (Activities)
Jump to: navigation, search

Android Basics


  • src folder containg all the source
  • res folder containing all the resources


No DPI or PPI Andoid uses dp density independent pixels or sp scale interdependent pixels

also see supporting multiple screens


Activity life cycle

Get an instance of an object from the R class

notice the cast to the type

<java>Button btn = (Button)this.findViewById(; </java>


Lots more good reading

This text will be replaced