How to Run API Demos of Android SDK Samples

on Eclipse top bar menu,
choose

File->New->Android Project

and then,
create.PNG
select Create Project From Existing Sample

Select Build target

in the next dialog,choose
Android 2.2
If you couldn't choose anything,
Open ths "Android SDK Manager" and download the Samples.

Select Sample

at Select Sample dialog, select "API Demos"
push "Finish" button.

API Demos project will Appear on package Tree

tree.PNG

How to Run?

over the APIdemos,right click.
select
RunAs..->Android Application
run.png

Result

APIdemos.png
en.gif en
ja.gif ja


edit
サポートサイト Wikidot.com