• Post Reply Bookmark Topic Watch Topic
  • New Topic

Basic JSON  RSS feed

 
Robert Darling
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Hi can anyone show me a good tutorial in which an android application reads and sends data to a webservice in Jason.

Kind Regards,
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only relevant hit for "android jason" on Google is this topic; care to tell us what you mean by it?

Update: Oh, do you mean JSON? I don't think there's anything special about Android when it comes to sending and receiving JSON. You can use the HttpClient library (which is built into the Android API) for that, and any standard JSON library (like this one) for creating and interpreting JSON data.
 
Robert Darling
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry i did mean JSon. I havent worked with it before. I nead a small example of parsing jason from with Android and similarly writing a jason object back to a server.

Kind Regards,

 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I said, there's nothing Android-specific about reading/eriting JSON, or about sending/receiving it over HTTP, so I'll move the topic to a more general forum.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Android has a JSON package that contain data structures that you might find useful for/while creating/parsing requests/responses that use JSON representation.

As regards example code snippet, I have a bookmark which might interest you.

Hope that helps.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!