Reddit posts from user in android app - android

I am trying to get all the posts from user from reddit and put this in a list to show in an android app. The problem is, I don't know if the current reddit API supports android in anyway.
Somehow this reddit API wiki makes me confused, so if you people could point me in the right direction, that be be appreciated. :)
Thanks in Advance,
Mark

I got it to work somehow with sending an HttpGetRequest in android and then just loop through the json respons.

Related

Android - find image link API

Hey !
I have an Android app where the user can search on a specific subject, let's take the word "Cats" for example. When the user submits the search I want to find an image similar or on the subjects the searched for. A search engine for images more or less. I want something "easy" to deal with, so I thought about integrating the Google Search API into my app. Let the user search Google, and take the first image that comes up.
However, I haven't found any example and I just need a push in the right direction. If you could give me an example API for my needs, that'd be great.
Apparently the Google Search API never was fully deprecated it's still up and running. It provides JSON data and is easily parsed with Android.
If anyone else needs an image API here's a test search: https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=searchquery&rsz=8&start=1&imgsz=small|medium
And the JSON reference: https://developers.google.com/image-search/v1/jsondevguide

How to display RSS feed in app?

I don't normally whine this much, but this problem is really painful.
I've been searching for an answer since 4 months and I still don't know how to do this. I taught myself Android from square 1, but this is 1 problem I just can't get around my head.
I've asked at least 20 questions on SO, half got down-rated, the other half got no answer.
I've checked at least half a dozen libraries, spent days to try and integrate it in my app, but nothing has ever worked.
These were the most promising ones:
https://github.com/matshofman/Androi...Reader-Library
https://github.com/ahorn/android-rss
Took hours to integrate and I never felt real sorrow until I was unable to get anything to work.
If you know how to integrate an RSS feed in an app, please help me out! It's the one thing that's stopping my app from becoming the best in it's field. I reckon I would retain twice as many users if I could just have this. A working example is all I need. I've never even seen ONE. I don't how the News apps do it, it's practically magic for me.
I just want a Listview that shows the title, on clicking and item the description opens up. The rest I can do myself. Any working example will do.
Please Help.
If you haven't figured it out by now, I have made a simple library for this exact reason. The current ones are outdated and hard to customize. Try this one and let me know if you need help. The readme should walk you through basic set up.
https://github.com/ShirwaM/Simplistic-RSS
You may want to check out this new powerful RSS library I wrote:
https://github.com/Pkmmte/PkRSS
It's very easy to use, extremely customizable, and supports most feeds. For example, the following code loads a specific url in the background:
PkRSS.with(this).load(url).async();
And then you can get the list of feeds loading in that url:
List<Article> articleList = PkRSS.with(this).get(url);
You can then use that ArrayList in your ListView to populate it. Easy, right? :D

Facebook,Android- How to get friends birthday from facebook

I tried to goto lots of questions on this forum but could not find one useful so i decided to ask one myself.
I want to pull the birthday's of all the friends in the users friend list.
After going through a lot of stuff i found there are 2 ways to do that
Graph API
FQL Query
So, my questions are
Q1. which one of them is better/easy to integrate in the app.
Q2. http://developers.facebook.com/docs/tutorials/androidsdk/3.0/scrumptious/ is this tutorial useful for what i want to do.
Q3. If i use Graph API/FQL Query , could you please give me a link which is helpful or a Code snippet
Thanks In Advance,
Eriz
You probably want to go for the Graph API as this is usually a more simple approach.
You can check out this link to see how retrieving a list of friends are completed in API 3.0.
Hope this helps.

How to get Yandex Traffic Feed on Android Application

I am very new with Android and i'm trying to get traffic feed from yandex's map service. All i need is getting live feed for Istanbul's general traffic situation as it shown it the map "İstanbul Trafik Durumu 3. derece 12.27 Yer yer yoğun, akıcı trafik".
I don't need to display map or something else. I read the documentation but didn't found something clear for that. Can you give me some advice on it? Or can you recommend another service to accomplish this task?
Seems like i have to answer my own question :s :D
A friend of mine sent an e-mail to Yandex about this issue and reply was:
(Translated from Turkish to English)
Hi!
Thank you for your interest Yandex Map Kit APIs haven't brought to
Turkey (http://api.yandex.ru/mapkit/)
But you can check our GitHub profile for our softwares which may
assist you on iOS and Android development. (
https://github.com/yandexmobile/ )

Android: Routing using Google Map's new API

I'm a new Android Developer and I have been researching on this topic for over 2 weeks before resorting to asking this question on SO. A lot of the code I've found that does routing are all in KML which is not supported anymore.
I'd be most grateful if someone could provide me examples or working code to go about doing this and please note that I am a beginner android developer.
Thank you so much.
You can see my post here, it shows you how to get Directions from JSON instead of KML since it is not supported anymore.

Categories

Resources