Questions tagged [android-parser]

112 questions
0
votes
1 answer

I can't show image url

I want to parse a particular xml file using Dom Parser. I am using xml parser for article in my app. How can I use xml parser for image? new Thread(new Runnable() { @Override public void run() { try { URL url = new…
0
votes
0 answers

I cant call url xml parser

my app get forclose, cant running with url have more caracter. im use xml parser for article in my app. if i call url like this ,my app force close. …
0
votes
2 answers

Pase xml file and get needed values

I have an xml file in my app that i need to get value from, here is some example code of that file:
Darko Petkovski
  • 3,892
  • 13
  • 53
  • 117
0
votes
1 answer

XML Parser returns only first item

This is my xml content on a url over the internet: r_1 10 c_1 10 d_1
Nima Sakhtemani
  • 1,119
  • 2
  • 10
  • 21
0
votes
5 answers

how to use Json parser android?

I used the parser given below with an example Android 2.2. My example is working and i have no problem. when tried to use the some example in a project using Android 4.3. but i have a problem with my parser line HttpResponse httpResponse =…
user2043602
  • 237
  • 2
  • 4
  • 15
0
votes
1 answer

Parsing graph.facebook album

I'm working on parsing json from graph.facebook.com. I managed to get the json from graph.facebook.com. But the problem, that I'm getting now is that I can retrieve the value inside "id" from this graph. But while trying to retrieve value from album…
user2522586
  • 97
  • 1
  • 10
0
votes
1 answer

Cannot parse graph.facebook

I've worked on getting a JSON object for retrieving information from a server and I successfully parsed it. But I have been given the task to parse the JSON object that we get from graph.facebook.com. But when I try to parse it, it shows an error…
user2522586
  • 97
  • 1
  • 10
0
votes
0 answers

Parsing nested json parsing

I'm working to get pictures from facebook using json. exp, this returs json object. I tried to get value in it. But it is showing like this {"error":{"type":"OAuthException","message":"(#210) Subject must be a page.","code":210}} I'm getting json…
user2064667
  • 124
  • 1
  • 12
0
votes
1 answer

How to collect (get and parse) the required information/data from a HTTP website?

I have a problem and unable to solve it since last two weeks. I want some help here. I actually want to get and use some useful data from a HTTP website. This website actually contains accidents, incidents and all info about them. I want to get this…
user2281330
  • 181
  • 2
  • 11
0
votes
1 answer

How to Android XHTML parsing

i have a plan to android web parsing after make autologin service... but i have a problem... i try parsing to that http://communion.gntc.net/ i see that www.w3.org/xhtml... xhtml... how to make autologin service... just i know login using 'post…
Nathaniel Jobs
  • 162
  • 1
  • 4
  • 16
0
votes
1 answer

Issue on Parsing image url from image tag

I have written the code for parsing image url from tag. The code is below: NodeList imageLink = docElement.getElementsByTagName("image"); String nUrl; if (imageLink.toString() != null) { Element…
Dhasneem
  • 4,037
  • 4
  • 33
  • 47
0
votes
2 answers

GET Method Parsing

Can someone help me better understand this code better. // request method is GET DefaultHttpClient httpClient = new DefaultHttpClient(); String paramString = URLEncodedUtils.format(params, "utf-8"); url += "?" + paramString; HttpGet httpGet = new…
Josh C.
  • 316
  • 1
  • 4
  • 14
0
votes
2 answers

Can someone help me in writing Json?

I m just parsing the datas from server which is in Json format. I got stucked. I don't know how to proceed further. JSONObject object1 = new JSONObject(str); String s1 = object1.getString("results"); JSONArray array1 =…
User1001
  • 23
  • 1
  • 8
0
votes
1 answer

Error While Parsing XML file Using Xml DOMParser : Android

I am having XML file. Structure of the XML file is HERE :
Zankhna
  • 4,570
  • 9
  • 62
  • 103
0
votes
0 answers

Android parse XML from SDcard about special tags

i have a little problem by parsing an xml file, which is on the sdcard of my smartphone. the xml-structure look like : ....
KenMasters
  • 401
  • 3
  • 8
  • 19