Questions tagged [android-parser]

112 questions
0
votes
4 answers

How to extract value from raw payload in android?

I am trying to extract google.sent_time from the following JSON , how do I get that value? It seems like it's a raw payload, and not straightforward JSON, so wondering if there is a way to extract it? { "notificationID":…
Angela Heely
  • 419
  • 2
  • 4
  • 13
0
votes
2 answers

Android Parse Setup

I am trying to set up my first parse project however its not going so well. I would think it should be very straight forward however im still having issues and there are no current tutorials on youtube that i can find that work. The latest tutorial…
Cflux
  • 1,423
  • 3
  • 19
  • 39
0
votes
2 answers

Implementing RecyclerView with parseObject but getting a blank screen

I am trying to implement RecyclerView using ParseObject but on my screen nothing is showing up! Following is the code for the activity where recycler view is to implemented. AdminShowStudentId.java package com.example.Aphexams; import…
0
votes
3 answers

RecyclerView onclick doesnt work

im trying to make that when im clicking and item on the RecyclerView , it will open new activity with the details of the clicked item. my adapter.java code is : public class AdapterUsersData extends RecyclerView.Adapter
O.Men
  • 1
  • 3
0
votes
1 answer

Android use JSoup parse HTML convert to String

I am trying to use richtext to display html content so i was parse the url try to get all content inside
to String value. But i can not parse the url. Code like below: User Soup parse the url Document document =…
Wang Jian
  • 321
  • 5
  • 20
0
votes
0 answers

Pagination using setskip method and ParseQueryAdapter in Parse android

I want to implement Pagination using setskip method. I am using recycle view and want to load more items when user scrolls. I do not want to use ParseUeryAdapter so is there anyway so that I can do this using setskip method? public class…
0
votes
1 answer

how to do sax xml parsing in android

I have done one program in android using xml parsing but there is an error please solve this problem and explain how to use the xml parsing in android: String response = rc.getResponse(); Log.e("Response ", response); SAXParserFactory spf =…
Ramakrishna
  • 4,066
  • 16
  • 48
  • 72
0
votes
1 answer

Android : gson.toJson() doesn't give standard json

When i tried to convert Object to json format using gson.toJson(myObject) it gives me not standard json format Output currently : {\"objects\":[],\"type\":\"price\"} what should i need is like this : {"objects":[],"type":"price"} below how i…
R Besar
  • 574
  • 1
  • 5
  • 12
0
votes
1 answer

Android Index 2 out of range JSON

As our activity, we are given this kind of json and asked to display it in custom listview in android. However, the error says that index 2 out of range. I am newbie to android programming please help me out. The JSON is as follows:- { "result":…
0
votes
1 answer

How to create android Login activity with email id and password using parse?

How to create android Login activity with email id and password using parse ?
boc
  • 3
  • 5
0
votes
2 answers

Why we use Callback response in enqueue method of OKhttp in android

I just made a simple JSON parsing program with Okhttp now what is Callback in Response of OKhttp and Why we use this ? OkHttpClient okHttpClient=new OkHttpClient(); Request request=new Request.Builder().url(url).build(); …
0
votes
1 answer

Translate external xml

I have a XML file inside the raw folder in portuguese that gives some quotes to a cardview. What I want to do now is have some translations to this XML file. I need to parse that XML so how can I create the translation for this and how I call it on…
0
votes
0 answers

my register info will not store in parse

I keep getting an error message when trying to register my users in parse. I also have it set up for email verification too. I can't tell if i doing wrong in my code, looks like i followed parse to the "T". public class Register extends…
user4625928
0
votes
1 answer

Parsing UI feedback

In my application I have to parse a big object which has other parcelable things inside so it takes some time 1-2 secs. I would like to implement UI feedback for the time needed by the application to parse my object, but have no idea how to do it.…
mp3por
  • 1,796
  • 3
  • 23
  • 35
0
votes
1 answer

Android passing JSON data using POST method to server

I have following JSON string with base64 image content. Will you help me how can I post this JSON as Multipart: { "TakeoffID": "2", "address": ",nexhex", "city": "Xrk Zed", "state": "AZ", "date": "12/08/2015", "ViewNote":…
user4570857