Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
 
LinkBack Thread Tools
Old September 4th, 2012, 01:26 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem parsing tumblr image.

Hi,

I want to make an app that shows images from a certain tumblr account.

I run into a problem with getting the image from tumblr.

I use JSON and the requested address is this:
richkidsofinstagram.tumblr.com/api/read/json/

And the i try to retrive "photo-url-1280".

When the app is launched nothing happens and it just shows and empty screen, it fails to set the image.

The whole code can be seen at:
stackoverflow.com/questions/12266606/how-to-parse-tumblr-image

I hope somebody can help me, im really getting stuck at this point.

Advertisements
Fansher is offline  
Reply With Quote
sponsored links
Old September 6th, 2012, 06:29 PM   #2 (permalink)
Junior Member
 
SmugMug's Avatar
 
Join Date: Aug 2012
Location: Texas
Posts: 35
 
Device(s): Motorola Xoom, Droid Razr, HTC Inspire
Carrier: Not Provided

Thanks: 5
Thanked 12 Times in 4 Posts
Default

Given how huge Tumblr is, I'm sure you're not the first person to have tried this. I don't have any experience with what you're trying to do, but have you tried googling what other people have done to parse those images? Even if the solution you find is in another language, you may be able to feel yourself through the solution since programming languages are often very similar.
SmugMug is offline  
Reply With Quote
Old September 9th, 2012, 03:18 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I thought the same thing, that it would be easy to google it.

But i can only find people writing for php, and they are using an other way of doing it, than it is suppose to be fore android.

So im still stuck - unfortunatly.

But i have come a little further.

In my question i say that im using this address richkidsofinstagram.tumblr.com/api/read/json/ because that is the way to do it for php, but for android it is suppose to be like this:
http://api.tumblr.com/v2/blog/www.richkidsofinstagram.tumblr.com/posts?api_key=rTZsymOWtMudbb5tql2U20qQ5ooYLPYVNnL3 COPpO2qBHDxJUu

And then i don't know how to do it, because as i understand it, it is an array indside an array, and that is a little to advcanced for me.
Fansher is offline  
Last edited by Fansher; September 9th, 2012 at 03:22 PM.
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:46 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.