Questions tagged [android-parser]
112 questions
0
votes
0 answers
While parsing Json using JsonReader I am getting SSLProtocolException
I am trying to parse a json response with JsonReader so that I can directly use Inputstream to parse it.
But I am getting a exception.
Logcat:
02-04 18:30:54.515: W/System.err(1695): javax.net.ssl.SSLProtocolException: Read error: ssl=0x36d690:…

Vaibs
- 1,128
- 3
- 16
- 36
0
votes
2 answers
Not able to get NodeList from asynch task
The objective of below snippet is used for parsing the xml. In that AsynchTask is used for internet connection, However I am getting NullPointerException on the line before the for loop.. here is a snippet and stacktrace..
public class…

Nitin Bathija
- 800
- 3
- 12
- 24
0
votes
1 answer
android: I fetch node with attribute how can i get its child nodes
The xml is available at http://thecybersoft.us/BridalExpo/Getmember.xml
XPathFactory xpathfactory = XPathFactory.newInstance();
XPath xpath = xpathfactory.newXPath();
try {
xpathexpression =…

Nauman Khalid
- 331
- 3
- 10
0
votes
1 answer
How to show Remote Server data into MapView
I am making an app in which i am fetching locations using JSON into Map,still i am getting map but without JSON Data to show multiple locations, my code is ok and it works fine, i just want to know by all of you experts where i need to put this line…

Stanley
- 319
- 1
- 2
- 8
0
votes
1 answer
Getting map but without json data
Not Getting JSON data into mapview to show locations, but getting blank map,
I am making a program in which I am trying to fetch json data into mapview, but whenever I run my app getting map without JSON data, so please see what is the problem and…

Stanley
- 319
- 1
- 2
- 8
0
votes
3 answers
Caused by: java.lang.NullPointerException, Unfortunately app has stopped
Fetching JSON data into mapview, still I am getting map, but without Map Locations, which I have given in JSON File, and whenever I run my app getting this-Unfortunately app has stopped and Logcat says:-
10-27 13:02:18.573: E/AndroidRuntime(719):…

Stanley
- 319
- 1
- 2
- 8
0
votes
1 answer
How to use Async task for Pagination
public class AndroidXMLParsingActivity extends Activity {
public int currentPage = 1;
public ListView lisView1;
static final String KEY_ITEM = "docdetails";
static final String KEY_NAME = "heading";
public Button btnNext;
…

user1719722
- 27
- 1
- 8
0
votes
1 answer
XML Parser returning null as the first line
I am reading from an XML file using XML Parser.
XML Parser is reading the first line as null and then returns other data from the xml file so created.
Following is the XML Parsing Code:
XmlResourceParser parser =…

Rushabh
- 385
- 2
- 5
- 14
0
votes
2 answers
Android SDK: Xml Pull Parser - How to get the node name
I am using the Xml Pull Parser to parse some Xml from a URL. I'm retrieving the values of the nodes without any problem, however I can't seem to get the node name - it's just returning null.
For example:
Joe
I can retrieve…

user1417302
- 411
- 3
- 9
- 22
0
votes
5 answers
Parse an RSS feed for Android app ? Is jsoup the answer?
I am reading the Head First Android development book. In the third chapter where they try to make an app from NASA RSS feed from here . In the book the author uses SAX parser for Java. I looked online and some of the answers here on SO suggest that…

devcoder
- 1,675
- 2
- 21
- 28
0
votes
2 answers
SAX Parser encoding issue in German Language
I'm working on an app which is in the German language. I'm getting the data in XML form. I used SAX parser for parsing these XMLs and display the data in the TextView. Everything is working fine except the special-characters issue which I got after…

user755278
- 1,634
- 3
- 16
- 32
0
votes
1 answer
Get the data from XML file in drawable-folder using sax parsing?
I have an XML file in the drawable-folder. I want parse the XML-file using XML-parsing(sax parsing).
I used following code for that:
private void getDataFromFile(int mntFile) throws SAXException, IOException {
// TODO Auto-generated method…

SuReSh PaTi
- 1,373
- 7
- 28
- 46
0
votes
3 answers
Fetching data from description node issue in Android RSS reader
I have been developing an Android RSS Reader Application and have had a problem with fetching HTML content from description node.
I tried to fetch the data from following XML.
0
votes
2 answers
Android SAX parsing retrieval very slow
In my app i have some 50 to 100 data to be parsed...also some images within 2 MB size...All these are to be retrieved to a single activity and are sorted and displayed there...
But its taking about 2 minutes...thats too much.
What to do for reducing…

subrussn90
- 1,142
- 1
- 14
- 27
-1
votes
2 answers
Error parsing json android
I'm trying to parse this json:
[
{
"game":{
"id":"203",
"name":"Blazing Angels 2: Secret Missions of WWII",
"release_date":"2007-11-06",
"timeStamp":"2013-06-05 04:12:17",
"rating":"T",
…

Darko Petkovski
- 3,892
- 13
- 53
- 117