Bummer! You have been redirected as the page you requested could not be found.

Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Android App I've made - Imgur client

Hey guys,

From the things I've learned here at Treehouse as well as other sources, I've made my first iteration of an Imgur client for Android. I've called it "Mygur"... not very creative, but when I asked Imgur they were not okay with me calling it "My Imgur".

I've uploaded it to the Google Play Store: https://play.google.com/store/apps/details?id=com.jonkussmann.myimgur

I've mostly tested it on a Samsung Galaxy S5 and was hoping to get feedback, or if anyone notices any bugs, crashes, etc.

Of course I think it would provide for a decent discussion if others are interested to know how I made the app. I won't post all of the source code, but am happy to talk about how I implemented certain features and so on.

Some of the libraries I've used are:

  • ButterKnife
  • Retrofit
  • Picasso/Glide/UIL
  • RxJava/RxAndroid
  • Dagger 2
  • Android Support libraries (including the design library)

If you have time to check it out, I'd greatly appreciate it. I think it would be useful to see some of the skills that can be learned here put into an app that did not come directly from the lessons.

Thanks!

Any tips on learning RxJava/RxAndroid? Cant seem to find any good beginner tutorials...

Hi Orb,

I think it was a little easier since I learned Retrofit and started integrating RxJava into that. With the new 2.0 version of Retrofit, I'm not sure how that has changed. If you can use the 1.9.x version of retrofit that would be better for now.

RxJava is pretty powerful, but you can get started with some links here for more information:

https://speakerdeck.com/jakewharton/2014-1

http://joluet.github.io/blog/2014/07/07/rxjava-retrofit/

Hope this helps.

1 Answer

Hassam Uddin
Hassam Uddin
8,204 Points

I've been wondering how you connect android applications to a database/cloud to store and retrieve files. How did you do so?

Hi Hassam,

Imgur exposes a lot through their API. A link is here: https://api.imgur.com/

If you've done the Weather app lesson on Treehouse, the concept is pretty similar.

I ask the Imgur API for a list of images from their gallery and I get a JSON response which I can then parse and use the information from the JSON to display the images.

For example I could use Retrofit to write a GET request to https://api.imgur.com/3/gallery.json

I would then get a list of images as described above.

Let me know if you have any more questions!

Hassam Uddin
Hassam Uddin
8,204 Points

So I'd need to have some external database on a website or something like that that would send me a JSON item?

Thanks, I haven't done the weather app yet, so I'll look into it.