The Eclipse Android Plugin (ADT) has a wizard for creating sample projects.
In eclipse Go to: File β New β Other ... β enter Android in the search field β Android Sample Project β Next β select the api level β Choose any of the samples, for example ApiDemos
ApiDemos project created
Right-click on it and select "Run As" β "Android Application"
Peter Lamberg
source share