I learned that there are sample projects in Android SDK today.
Run in on your device, then you will see sample projects installed.
How To Find Java Class In Eclipse?
Command + SHIFT + T in Mac OSX
Here is an example of gallery app, but I get errors:
R cannot be resolved to a
For solutions, check this Stackoverflow
Good introduction about Graphic
I found a separate Camera Preview app from this Git page. Now I have to find a way to merge a gallery with it.
AndroidHive by Mr.Ravi Tamada from India is one of the most outstanding Android tutorial I’ve seen so far.