tags:

views:

113

answers:

2

Planning to write a dead simple android application

it's basically an image viewing application.

I have 10 images preloaded. Each swipe (left or right) will cause the image to switch.

that's about it!

So I've looked across many android sites, couldn't find a single tutorial on this. Anddev.org provided tutorials on displaying graphics, but that was in 2008 and many ppl reported errors due to version changes.

I'm also looking into the CommonsWare site, they have 3 books for 40 dollars/yr. I looked through the contents, but couldn't see anything that fits what I plan to write. Plus the books talk a lot about other stuff like GPS, HttpRequests, Servers, Databases -- none of which I need in my case.

Any tips on how I should tackle this?

Or do you guys already have written something similar to this?

+4  A: 

Have a look at the gallery samples in the APIDemos project

X-Cubed
i found the Hello,Gallery tutorial, didn't work out well for me. couldn't get it to run.
fooyee
+1  A: 

I doubt you are going to find something that does exactly what you want. I would find a tutorial on displaying images. Get an image to load to start. I might then add some buttons and have buttons(or hard buttons on phone) and listen for events to change the images. Once this is working, find a tutorial on gestures, and tie in the gesture(Swipe) support to replace the button presses to change images. Once all of this is working, then you could look for a tutorial on animations, and tie some animations into the image changes.

Take this in baby steps and you will learn a lot, but I doubt you will find one tutorial that does everything you want.

And when you get stuck on a specific part of the process, post and you will get help w/ that.

broschb
solved it, thanks!
fooyee