Questions tagged [android-parser]
112 questions
                    
                    24
                    
            votes
                
                0 answers
            
        Caused by: android.os.NetworkOnMainThreadException
Hi all Viewers and readers, I am using link. Whenever I run this code in separate package it works fine, but whenever I am trying to embed this sample in my app, getting Unfortunately app has stopped, only when i click on tab that particular tab…
         
    
    
        Stanley
        
- 319
- 1
- 2
- 8
                    22
                    
            votes
                
                4 answers
            
        Store static data in Android - custom resource?
I'm new to Android development, and I've been playing around with it a bit.  I was trying to create a program that has a small database-like collection of never-changing data.  In C#, my currently best language, I'd use a List of a custom class and…
         
    
    
        NickAldwin
        
- 11,584
- 12
- 52
- 67
                    16
                    
            votes
                
                4 answers
            
        LoganSquare parsing Android library : feedback, benchmarks, pros, cons
I'm using Jackson with DataBind library to parse json and map it java object. I'm also using Gson on other project where perf is less required.
On 17 Feb, LoganSquare library is first released, promising 4-10 time faster parsing as Gson. 
What…
         
    
    
        Hugo Gresse
        
- 17,195
- 9
- 77
- 119
                    7
                    
            votes
                
                4 answers
            
        Json DateTime Parsing In Android
My API Gives This Result:
{
    "Posts": [{
        "UseName": "Robert Ray",
        "DateTime": "\/Date(1376841597000)\/",
        "PostText": "Welcome!!\u003cbr\u003eThis Is my Text"
    }]
}
I Parse My JSON Like This
try {
    Posts =…
         
    
    
        Robert Ray
        
- 127
- 2
- 2
- 6
                    6
                    
            votes
                
                4 answers
            
        Android: Best parser to parse XML data
I am developing an application in which the first time I am going to parse data from an xml file coming from a remote server.
But i am not able to select which parser is efficient or best suited for parsing. As there are mainly three types of…
         
    
    
        Manoj Fegde
        
- 4,786
- 15
- 50
- 95
                    4
                    
            votes
                
                3 answers
            
        Android parse special characters in json response
In my Android application I get JSON response string from a PHP url. from the response I get some hotel names with apostrophe, I get ' character instead of apostrophe. How can I parse the hotel with special characters in android? I can see the…
         
    
    
        M.A.Murali
        
- 9,988
- 36
- 105
- 182
                    3
                    
            votes
                
                4 answers
            
        How to use interface to communicate between activities after process death?
I am building an SDK and need to implement callbacks between activities, without actually finish an activity. I previously used onActivityResult to provide results back to caller activity. However, this closes activity and I need to deliver…
         
    
    
        Viktor Vostrikov
        
- 1,322
- 3
- 19
- 36
                    3
                    
            votes
                
                1 answer
            
        How to change url in parse.com android?
Hi As parse beeen officially going to close, I am using an alternative as back4app. So in back4app, documentation says 
Use this code and change url instead of https://api.parse.com 
Parse.initialize(new…
         
    
    
        Shadow
        
- 6,864
- 6
- 44
- 93
                    3
                    
            votes
                
                2 answers
            
        Getting error of parsing the package during updating my new version of apk
Android Experts, I have installed signed apk (version 1.6) and on my server I've uploaded apk( version 1.7). Now I am facing problem during Update my apk from server.. I also got Dialog box for Updating but at the end I am getting error as
"Parser…
         
    
    
        CKnDROID
        
- 123
- 1
- 3
- 13
                    3
                    
            votes
                
                1 answer
            
        Android : Error in parsing JSON array using GSON library
Possible Duplicate:
GSON throwing “Expected BEGIN_OBJECT but was BEGIN_ARRAY”? 
Scenario : I am parsing an API which is is JSON format using GSON library. Here the JSON file I am parsing :
{
  "questions": [
    {
      "question_1": "Question…
         
    
    
        Vipul Purohit
        
- 9,807
- 6
- 53
- 76
                    2
                    
            votes
                
                1 answer
            
        
                    2
                    
            votes
                
                1 answer
            
        while parse the xml, not full data is getting after some word line end with read more
I'm trying to parse this:
I get the following, when I parse.
title = Workshop Metropolis
description = Workshop Metropolis groot succes Vlak voor de...Read more
Read more is not any text on Description, which tag of xml you may see on above ?
I…
         
    
    
        Hitesh Dhamshaniya
        
- 2,886
- 3
- 24
- 31
                    2
                    
            votes
                
                2 answers
            
        Android SaxParser and OutOfMemory Exception
I am currently working on a project that creates a TCP socket and listens to the server for incoming xml. The xml are fairly large at times which will come around 1-3 mb. The xml keeps coming from the socket and I need to parse it as it comes. 
   I…
         
    
    
        blessanm86
        
- 31,439
- 14
- 68
- 79
                    2
                    
            votes
                
                3 answers
            
        Getting and parsing the website content in Android
Edited:
Hello guys, I want some help please. I actually want to get and use some useful data from a url. I have a website that displays the info about some major accidents in a specific area. I want to get the the details of those accidents from…
         
    
    
        user2281330
        
- 181
- 2
- 11
                    2
                    
            votes
                
                2 answers
            
        XML Parser DOM Caused by: java.lang.NullPointerException
I am writing a program in which i am using XMLParser to parse data in DOM Element, but whenever i run my program getting : Unfortunately App has Stopped
Logcat says:
    03-18 10:41:11.266: I/System.out(843): Getting DOM Element(s):- null
03-18…
         
    
    
        Babu
        
- 957
- 1
- 9
- 21
