[android-developers] JSON Data

2016-09-22 Thread Shrikant Korigeri
Hi All, As Android Developer i facing one problem, I want get huge data from server android app, i tried with volley library but i am not able to get huge data. So, any body know please let me know how to handle huge from coming from server to android app. -- You received this message because

[android-developers] Json data listing

2016-06-25 Thread Can YİĞİTEROL
hi, How do I listing data -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send em

[android-developers] JSON Android Wear

2016-03-19 Thread Buğra Öztürk
Hi, I am trying to send json to database over android wear. I got lost in errors. Is it possible? If there is a way to send json data to server over wear, please tell me. Thank You. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsu

Re: [android-developers] JSON Android Wear

2016-03-18 Thread TreKing
On Thu, Mar 17, 2016 at 4:14 PM, Buğra Öztürk wrote: > I am trying to send json to database over android wear. What does that mean? > I got lost in errors. What does that mean? > Is it possible? Maybe, depends on what you're trying to do, which is unclear. -

[android-developers] JSON parsing in Android

2015-12-16 Thread Mukarram Ali
This is what I am receiving from server as a string: {\"User\":{\"id\":\"5\",\"name\":\"Bob\",\"dob\":\"1995-12-12\",\"gender\":\"male\",\"religion\":\"hindu\",\"email\":\"m...@gmail.com\",\"phone\":\"123456789\",\"address\":\"azadnagar\",\"classid\":\"3\",\"section\":\"A\",\"roll_no\":\"1\",\"coll

Re: [android-developers] Json

2013-01-16 Thread Kevin Duffey
Funny I just replaced the use of jsonobject with Jackson json because of it being faster to stream process json with and using less memory. There are many good examples via Google with regards to using Jackson and android that may solve your problem and reduce your apps memory use and parsing time.

Re: [android-developers] Json

2013-01-16 Thread TreKing
On Wed, Jan 16, 2013 at 5:08 PM, geet handa wrote: > In that I am facing problem in Convert String into JsonObjectPlease > Help me!! > http://www.catb.org/esr/faqs/smart-questions.html - Tre

[android-developers] Json

2013-01-16 Thread geet handa
Hi every one, I am working on Json ParsingIn that I am facing problem in Convert String into JsonObjectPlease Help me!! Here is the code I got class MyTask extends AsyncTask { ProgressDialog pDialog; @

Re: [android-developers] Json Parsing

2012-11-07 Thread TreKing
On Wed, Nov 7, 2012 at 9:32 PM, Sadhna Upadhyay wrote: > Please tell me in detail about JSON parsing and why it is used in Android. You can get all this information and more on the inter-webbies. - T

[android-developers] Json Parsing

2012-11-07 Thread Sadhna Upadhyay
Hi everybody, Please tell me in detail about JSON parsing and why it is used in Android. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsub

Re: [android-developers] json format

2012-09-12 Thread Lew
Yeah, I got that part the first time around. It's a style thing. To me, storing locale-specific date parts are bad enough, but storing characters that aren't even part of a date format seems a tad beyond the pale. Whatever floats your boat, I guess. I don't guess the computer cares one way or

Re: [android-developers] json format

2012-09-12 Thread rauf qureshi
actually i am dealing with json and server, when i add parameter in json 25/10/2012 it become 25/\10/\2012. it goes on server and store there in data base as garbage so i need date in such format which store in data base in proper format that'sway when i send date 25\\10\\2012 in this format it st

Re: [android-developers] json format

2012-09-12 Thread Lew
What date format is that? Standard date formats that I know use dashes, forward slashes or no punctuation, not backslashes. But I don't know all date formats, so which one uses backslashes? -- Lew rauf qureshi wrote: > > Thanks friends to comment. > > i [sic] have solved this problem just

Re: [android-developers] json format

2012-09-12 Thread rauf qureshi
Thanks friends to comment. i have solved this problem just pass your string with 25\\10\\2012 On Wed, Sep 12, 2012 at 8:16 PM, John Coryat wrote: > or... switch to '-' instead... > > -John Coryat > > On Wednesday, September 12, 2012 9:12:40 AM UTC-5, Harri Smått wrote: > >> >> On Sep 12, 2012,

Re: [android-developers] json format

2012-09-12 Thread John Coryat
or... switch to '-' instead... -John Coryat On Wednesday, September 12, 2012 9:12:40 AM UTC-5, Harri Smått wrote: > > > On Sep 12, 2012, at 3:40 PM, rauf qureshi > > wrote: > > > > in above code when i send this request to server date automatic > converted into following format 25/\10/\2012

Re: [android-developers] json format

2012-09-12 Thread Harri Smått
On Sep 12, 2012, at 3:40 PM, rauf qureshi wrote: > > in above code when i send this request to server date automatic converted > into following format 25/\10/\2012 > can any body tell me how to send date on the server using json in 25/10/2012 > format. > It's the other way around. "/" is pre

[android-developers] json format

2012-09-12 Thread rauf qureshi
hello everyone, JSONObject json=new JSONObject(); json.put("date","25/10/2012"); in above code when i send this request to server date automatic converted into following format 25/\10/\2012 can any body tell me how to send date on the server using json in 25/10/2012 format. Thanks in advance

Re: [android-developers] Json parsing problem using gson

2012-07-30 Thread jay
07-30 10:50:34.773: I/System.out(441): Exception com.google.gson.JsonParseException: Type information is unavailable, and the target is not a primitive: On Tuesday, March 6, 2012 8:04:22 PM UTC+5:30, Marcelo H wrote: > > code ??? > > 2012/3/6 T.M.S.VIJAYKUMARR > >> Hi, >> >> i think your parsi

[android-developers] Json Data From Server

2012-07-10 Thread saqib abbasi
Data is perfectly display in simulator bit it is issued in simulator,Basically what i am trying to do.i have 4 spinner in My Activity.each one is filled from server Json data using Async data here is my code .. locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);

Re: [android-developers] Json parsing problem using gson

2012-03-06 Thread Marcelo Henrique
code ??? 2012/3/6 T.M.S.VIJAYKUMARR > Hi, > > i think your parsing integer value may be null ,check it. > > On Tue, Mar 6, 2012 at 7:39 PM, vani reddy wrote: > >> Hi friends, >> >> I am using GSON to parse the json, when some user logs in, it parses >> properly but when someother user logs in it

Re: [android-developers] Json parsing problem using gson

2012-03-06 Thread T.M.S.VIJAYKUMARR
Hi, i think your parsing integer value may be null ,check it. On Tue, Mar 6, 2012 at 7:39 PM, vani reddy wrote: > Hi friends, > > I am using GSON to parse the json, when some user logs in, it parses > properly but when someother user logs in it throws NumberFormatException. > I checked the JSON

[android-developers] Json parsing problem using gson

2012-03-06 Thread vani reddy
Hi friends, I am using GSON to parse the json, when some user logs in, it parses properly but when someother user logs in it throws NumberFormatException. I checked the JSON response also, its a valid JSON How to debug this app. -- Regards, Vani Reddy -- You received this message because you

Re: [android-developers] Json Error “org.json.JSONException: End of input at character 0 of ”

2011-12-11 Thread Ratheesh Valamchuzhy
paste the error log.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Json Error “org.json.JSONException: End of input at character 0 of ”

2011-12-11 Thread Duygu Kahraman
I get some information facebook api and i will parse with Json.But when run the program i am getting "org.json.JSONException: End of input at character 0 of " error.When i debug i see "Bad Request" to response. Do you have any idea? THX. Duygu Kahraman -- You received this message because you

[android-developers] Json - 2 Emulators

2011-10-06 Thread Diogo Salaberri
Hello guys, I want to transfer data from a emulator to another emulator, running on the same machine. But when the SMS was received, the message isn't like the message was send. Looks like a encode problem. 1) Is other method to do this data transfer ? 2) Over SMS, this is a recognized problem ?

Re: [android-developers] JSON android

2011-09-05 Thread Ralph Bergmann | the4thFloor.eu
Am 02.09.11 16:10, schrieb ashish: > How to check whether an element is a JSONArray or JSONObject. I wrote > the code to check, try this: JSONObject jObject = new JSONObject(); JSONArray jArray = new JSONArray(); Object test = jObject; if (test instanceof JSONObject) { Log.i("test", "JSONObje

[android-developers] JSON android

2011-09-04 Thread ashish
How to check whether an element is a JSONArray or JSONObject. I wrote the code to check, if(jsonObject.getJSONObject("Category").getClass().isArray()) { } else { } In this case if the element 'category' is JSONObject then it work fine but if it contains an array then it throw exception: JSONArra

[android-developers] Json Gzip Problem

2011-08-25 Thread mugurel cosmin
I am trying to read from a json a gzip that was gzuncompress. I`m loading it into a string and then i`m trying to convert it to bytes to decompress it with GZIPInputStream. Any suggestions ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] JSON OR SOAP ?

2011-05-30 Thread Marcin Orlowski
On 30 May 2011 05:15, Migazan wrote: > What better way to consume web services on android JSON or SOAP? > As other said it's not the same type ot "technology" so comparing it is like asking "what's better PNG or Photoshop?". Regards, Marcin Orlowski *Tray Agenda * - k

[android-developers] JSON OR SOAP ?

2011-05-30 Thread Migazan
Qual a melhor forma de consumir serviços web em android JSON or SOAP? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to and

[android-developers] JSON OR SOAP ?

2011-05-30 Thread Migazan
What better way to consume web services on android JSON or SOAP? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-

[android-developers] JSON deserialization - MVC Web Service

2011-05-15 Thread Patrick Cornish
I have a test web MVC web service that is returning JSON data. I am not able to deserialze the data returned: This doesn't work (BodyStyle = Bare): "{\"MemberID\":\"88831472\",\"MemberUserName\":\"Yang Yi\", \"MemberFirstName\":\"Yang\",\"MemberFamilyName\":\"Liu\", \"ThumbnailFilename\":\"8883

[android-developers] JSon parsing has been taking more time on Android

2011-04-27 Thread imran ali
Hi all, i have big data approx 10MB, that i have to parse and save in to database of db4o. i have been downloading date and making it in to string then i am parsing and setting all values of class object, that object i have been saving in to db4o. the above process has been taking more time, to pa

[android-developers] json data to array list

2011-03-20 Thread acr
Hi, I have looked everywhere and feel like I am going in circles at this point what I am trying to do seems simple enough.. I a, trying to take json data parsed from my mysql server and send the info to an array list in android. I can return the json strings with no problem, eg. json_data.getStrin

[android-developers] (JSON) Download fails in 2.1 but works in 2.2

2011-03-18 Thread Stephan Wiesner
Hi, I use JSON as an interface and my code works fine on 2.2 devices but fails on motorola 2.1 devices The reason is that not the whole JSON file is downloaded, but only some (always the same) part and than it stops. URL url = new URL("http://www.somelink";); picCounter = 0; URLConnection ucon =

[android-developers] Json paser showing array length as 0.. pls help

2010-11-23 Thread Atik
hi guys this the class where i m parsing the values package com.example; import java.io.IOException; import java.util.ArrayList; import org.apache.http.HttpResponse; import org.apache.http.ParseException; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpCl

[android-developers] json parser giving no output

2010-11-23 Thread Atik
hello guys.. this is JSONhelper class where i m parsing theurl and finally in some another class i have written the follwing lines to get the output JSONhelper jsoNhelper=new JSONhelper(getApplicationContext()); jsoNhelper.getJson(); ArrayList a=jsoNhelper.r

[android-developers] JSON Parsing Error

2010-09-21 Thread Sachin
Hi everyone, I'm hitting a wall on this one. I'm trying to parse a JSON file and the code never sees the 3rd debugging line: Log.v("Sachin","1 * Before reading file"); InputStream is = mContext.getResources().openRawResource(R.raw.recipe_database);

Re: [android-developers] json

2010-09-09 Thread TreKing
On Fri, Sep 10, 2010 at 12:17 AM, vineeshkc wrote: > pls help for reteriving data from the webserver usin json http://www.catb.org/esr/faqs/smart-questions.html - TreKing

[android-developers] json

2010-09-09 Thread vineeshkc
pls help for reteriving data from the webserver usin json -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develop

[android-developers] JSON - Database - Local Variable`

2010-03-03 Thread Sasikumar.S
Hi, In my application, *First Way :-* i'm fetching data from JSON and then storing to database . >From database i'm storing in local variable. >From local variables i'm displaying the data. *Second Way :-* i'm fetching data from JSON and then directly storing in local variables >From local var

[android-developers] Json Exmpale

2010-02-22 Thread Sasikumar.S
Hi, Any one can give a json example ? parsing is from URL , not from string. -- Thanks & Regards Sasikumar.S -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To un

[android-developers] JSON string to Bean

2010-01-15 Thread Bert
I'm using HttpClient to get the response of a webservice (REST servlet) which is a JSON string. This string represents a JSONArray of type Map with key "mybeans". I'd like to assemble my bean using the JSON string. Usually I use net.sf.json json-lib and do something like this: String s = jsonStrin

[android-developers] JSON parsers in WEBKIT

2009-10-22 Thread AJ (Anantha Javali)
Hi, The webkit present in Android SDK 1.6 has JSON parser. Thanks Anantha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegrou

[android-developers] json serializer / deserializer

2009-08-02 Thread Premier
Hello do you know a library or method to serialize / deserialize java bean to json in android? how i can introspect a javabean and fill its fields? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] JSON easy Marshall/Unmarshall

2009-01-10 Thread ams163
Hello, We are working on an client / server application - and the design goals for the communications framework are: 1. Low bandwidth 2. Low Latency 3. Scalable 4. Fast marshall/unmarshall What sort of communications framework do you recommend? We think json would do the trick, and we can use