Gallery with remote Images

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Re: Gallery with remote Images

Postby 21lockdown » Thu Dec 29, 2011 2:09 am

Hi, great tutorial!

Is it possible for the application to pull images from a RSS feed of a flickr/picesa album? If so how do you do it.

Thanks :)
21lockdown
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Dec 29, 2011 2:07 am

Top

Re: Gallery with remote Images

Postby jouva » Fri Jan 13, 2012 9:45 pm

I'm new to the site. In fact I just registered, just to say this:

While I'm glad that the basic idea of how to take images from remote sources and include them in a Gallery control, this is a HORRIBLE HORRIBLE tutorial.

NEVER EVER EVER EVER for the life of you put network related code in your UI thread! EVER. If you use this code as is, you'll never end up with an app that will work smoothly. I might be new to Android development, but even I know this is a HUGE no-no. If you're wondering why things are slow with this, re-think on how to get this working. Put it in a separate thread or even a service (that you close after it's complete) if need be.

But just never put your network code in the UI thread.
jouva
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Jan 13, 2012 9:39 pm

Re: Gallery with remote Images

Postby SgtBozzer » Sat Jan 14, 2012 7:15 pm

Hi!
great tutorial!
I want to do something like this:
when i click the item in gallery, the corresponding image will display below in full size using imageview.

how can I do this?
SgtBozzer
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Jan 14, 2012 7:08 pm

Top
Previous

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 6 guests