Get IP in JSON

Posted on Leave a commentPosted in Android

http://www.rameshchavan.in/myip.php   Android Code: final TextView mTextView = (TextView) findViewById(R.id.text); … // Instantiate the RequestQueue. RequestQueue queue = Volley.newRequestQueue(this); String url =”http://www.rameshchavan.in/myip.php”; // Request a string response from the provided URL. StringRequest stringRequest = new StringRequest(Request.Method.GET, url,             new Response.Listener<String>() {     @Override     public void onResponse(String response) […]