Questions tagged [android-json-rpc]

andriod-json-rpc is an open source library which aims to help the implementation of JSON-RPC clients in android applications. The library provides a simple API to perform JSON-RPC service calls from an android device.

andriod-json-rpc is an open source library which aims to help the implementation of clients in android applications. The library provides a simple API to perform JSON-RPC service calls from an android device.

JSON-RPC is a lightweight cross-language remote procedure call protocol that simplifies the creation of web services providers and clients. JSON serialization is typically more efficient than XML based serialization and is more suited for mobile environments like android. On the server side, several libraries exist to implement JSON-RPC services in the language of your choice (Python, Java, C#, PHP, ...).

You should be using this tag if your question is related to the use of android-json-rpc or its APIs.

13 questions
1
vote
1 answer

Cyrillic symbols in jsonrpc response

Using Android Studio and alexd-jsonrpc client I recieve a response, where cyrillic symbols looks like: {..."ticket_info=ÐÐ¾ÐºÑ 1"...} instead of: {..."ticket_info=Мойщик 1"...} How can i decode this to cyrillic? JSONRPC request code: JSONRPCClient…
1
vote
2 answers

How to upload and download data to and from server in android app continuosly?

I am making an app in which the app installed in phone B will send data to the phone A using an intermediate web server.I want to know how my app will download the uploaded data as fast as possible.Which methodology should I use?How should I…
user3788866
  • 118
  • 3
  • 10
1
vote
1 answer

send a JSON request with JSONObject as parameter?

I want to make an android-json request to a webservice with httpClient. The method which i try to call is "authenticate" The request should have the following…
seriously
  • 345
  • 1
  • 3
  • 12
0
votes
0 answers

How do I decode content returned by JSON in a markdown style?

I am using JSON to return a couple of objects, one of which is returned like this : "information": [{ "title": "Wifi", "content": "__Network:__ WifiName \n__Password:__ abcde" }, { "title": "Address", "content": "120 10th Ave\n…
user2386226
0
votes
1 answer

How do I pass a parameter from javascript into webview (java) in android?

I have the following javascript: public String jscode() { String myString = "javascript:function myscript() {" + " var _$b = window._$b= { version: \"1.0\"};" + " _$b.navigate = function(url, title) {" + " rpc.exec(" +//…
0
votes
1 answer

How to get value without json array from WCF service using android

{"username":"john", "Location":"India"} I have WCF service using JSON Object only but i don't know get value from without JSON Array.Please help any idea how to get value JSON using android
M.Vel
  • 1
  • 1
0
votes
1 answer

Android Json RPC to pysjonrpc throws invalid JSON response

I am developing an android app which connects a python server through JSON. I am now encountering a bug that hinders the connection between the android client and python server. Since pyjsonrpc never include the key "error" in its response JSON…
0
votes
1 answer

How to download an image from Json and store it in gallery?

I need to parse an image from some Json and STORE it on phone gallery . I have no idea how to save pictures on SD card so I need a code for this thanks .
Sundos Altamimi
  • 29
  • 1
  • 1
  • 12
0
votes
2 answers

Why I'm not getting any response from server in this code

public String POST(String url){ InputStream inputStream = null; String result = ""; try { // 1. create HttpClient HttpClient httpclient = new DefaultHttpClient(); // 2. make POST request to the given URL …
Nikesh Devaki
  • 2,091
  • 2
  • 16
  • 24
0
votes
0 answers

Reason why i'm not getting Json Response from server

public String POST(String url){ InputStream inputStream = null; String result = ""; try { // 1. create HttpClient HttpClient httpclient = new DefaultHttpClient(); // 2. make POST…
Nikesh Devaki
  • 2,091
  • 2
  • 16
  • 24
0
votes
1 answer

Fetch data from web Services in android

Currently i am working on an app which require data from web services to update the list View according to that data received. what should i do to fetch that data without letting user know.Should i use Asynchronous Task class or service ,Looking…
-2
votes
2 answers

How to display images from web service?

I wanted to fetch the images from the URL but the whole code is clean but there is no output i am getting. what should i do. I used the whole code from this…
-2
votes
2 answers

Returning null value in base adapter class while appending to list view

Hello all I am new to android, am trying to display a list of json data in listview my class is extended with SherlockFragment fetched the data succesfully but unable to append the data in a list. for displaying of data I created a class which…
user4093800