View all courses
This Course is designed for the aspiring Web Designers and Developers with a need to understand the HTML in enough detail along with its simple overview, and practical examples.
Read more
CSS is used to control the style of a web document in a simple and easy way.This tutorial will help both students as well as professionals who want to make their websites.
JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complimentary to and integrated with Java.
This tutorial is designed for software programmers who wants to learn the basics of jQuery and its programming concepts in simple and easy ways. This tutorial will give you enough understanding on components of jQuery with suitable examples.
AJAX, is a web development technique for creating interactive web applications. If you know JavaScript, HTML, CSS, and XML, then you need to spend just one hour to start with AJAX.
HTML5 is the latest and most enhanced version of HTML.Technically, HTML is not a programming language, but rather a mark up language.This tutorial has been designed for beginners in HTML5 providing the basic to advanced concepts of the subject.
PHP (Hypertext Preprocessor), it is extensively used by developers for programming and development. PHP has lots of benefits and easy to learn so it is the first choice of developers and programmer.
Many PHP programming courses cover the basics or a specific concept. Our Advanced PHP Development course gives you the concepts, features, tools, and practical advice to use them together to build performant, secure, scalable, and reliable web applications.
In this tutorial we will provide you with detailed instructions on how to use WordPress to create and manage your site. WordPress can be used for both simple and complex websites. In our WordPress tutorial we have tried to cover all the basics and few advanced topics.
This tutorial has been prepared for developers who would like to learn the art of developing websites using CodeIgniter. It provides a complete understanding of this framework.
Zend Framework 1 is an open source framework for developing web applications and services using PHP 5.3+. Zend Framework 1 uses 100% object-oriented code and utilises most of the new features of PHP 5.3.
Zend Framework 2 is an open source Module based framework for developing web applications and services using PHP 5.5+. Zend Framework 1 uses 100% object-oriented code and utilises most of the new features of PHP 5.5
The Language Which does not need any prior knowledge of Programming and Easy to learn .Python is Object-oriented ,interpreted and Server side Scripting language .
In Advance concept After learning Core Python We will use Python to create Desktop Application, Web Application, Sockets Programming , Multithread Programming. Since its An Open source Language its free of Cost
Ruby is server side, dynamic, reflective, object-oriented, general-purpose programming language. Ruby is "an interpreted scripting language for quick and easy object-oriented programming"
Ruby on Rails, or simply Rails, is a web application frameworkwritten in Ruby under the MIT License. Rails is a model–view–controller (MVC) framework, providing default structures for a database, a web service, and web pages.
If you have any confusion then you can ask our experts.Our experts will guide you properly.
We are looking you if you are looking guidance for web design and development. Apply online.
Contact us
Step 1 C:\\Users\\rajesh.mandal\\AndroidStudioProjects\\JsonList\\app\\src\\main\\res\\layout\\activity_main.xml Step 2 C:\\Users\\rajesh.mandal\\AndroidStudioProjects\\JsonList\\app\\src\\main\\res\\layout\\list_item.xml Step 3 C:\\Users\\rajesh.mandal\\AndroidStudioProjects\\JsonList\\app\\src\\main\\AndroidManifest.xml Step 4 C:\\Users\\rajesh.mandal\\AndroidStudioProjects\\JsonList\\app\\src\\main\\java\\com\\example\\ rajeshmandal\\jsonlist\\MainActivity.java package com.example.rajeshmandal.jsonlist; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.widget.ListAdapter; import android.widget.ListView; import android.widget.SimpleAdapter; import android.widget.Toast; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.HashMap; public class MainActivity extends AppCompatActivity { private String TAG = MainActivity.class.getSimpleName(); private ListView lv; ArrayList> contactList; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); contactList = new ArrayList<>(); lv = (ListView) findViewById(R.id.list); new GetContacts().execute(); } private class GetContacts extends AsyncTask { @Override protected void onPreExecute() { super.onPreExecute(); Toast.makeText(MainActivity.this,\"Json Data is downloading\",Toast.LENGTH_LONG).show(); } @Override protected Void doInBackground(Void... arg0) { HttpHandler sh = new HttpHandler(); // Making a request to url and getting response String url = \"http://webphplearn.com/api/datalist.php\"; String jsonStr = sh.makeServiceCall(url); Log.e(TAG, \"Response from url444444: \" + jsonStr); if (jsonStr != null) { try { JSONObject jsonObj = new JSONObject(jsonStr); // Getting JSON Array node JSONArray contacts = jsonObj.getJSONArray(\"contacts\"); // looping through All Contacts for (int i = 0; i < contacts.length(); i++) { JSONObject c = contacts.getJSONObject(i); String user_id = c.getString(\"user_id\"); String user_name = c.getString(\"user_name\"); String email_id = c.getString(\"email_id\"); String first_name = c.getString(\"first_name\"); String mobile_no = c.getString(\"mobile_no\"); // tmp hash map for single contact HashMap contact = new HashMap<>(); // adding each child node to HashMap key => value contact.put(\"user_id\", user_id); contact.put(\"user_name\", user_name); contact.put(\"email_id\", email_id); contact.put(\"first_name\", first_name); contact.put(\"mobile_no\", mobile_no); // adding contact to contact list contactList.add(contact); } } catch (final JSONException e) { Log.e(TAG, \"Json parsing error11111: \" + e.getMessage()); runOnUiThread(new Runnable() { @Override public void run() { Toast.makeText(getApplicationContext(), \"Json parsing error22222: \" + e.getMessage(), Toast.LENGTH_LONG).show(); } }); } } else { Log.e(TAG, \"Couldn\'t get json from server.\"); runOnUiThread(new Runnable() { @Override public void run() { Toast.makeText(getApplicationContext(), \"Couldn\'t get json from server. Check LogCat for possible errors!\", Toast.LENGTH_LONG).show(); } }); } return null; } @Override protected void onPostExecute(Void result) { super.onPostExecute(result); ListAdapter adapter = new SimpleAdapter(MainActivity.this, contactList, R.layout.list_item, new String[]{ \"user_id\",\"user_name\",\"email_id\",\"first_name\",\"mobile_no\"}, new int[]{R.id.user_id, R.id.user_name, R.id.email_id, R.id.first_name, R.id.mobile_no}); lv.setAdapter(adapter); } } } Step 5 C:\\Users\\rajesh.mandal\\AndroidStudioProjects\\JsonList\\app\\src\\main\\java\\com\\example\\ rajeshmandal\\jsonlist\\HttpHandler.java package com.example.rajeshmandal.jsonlist; import android.util.Log; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.ProtocolException; import java.net.URL; public class HttpHandler { private static final String TAG = HttpHandler.class.getSimpleName(); public HttpHandler() { } public String makeServiceCall(String reqUrl) { String response = null; try { URL url = new URL(reqUrl); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod(\"GET\"); // read the response InputStream in = new BufferedInputStream(conn.getInputStream()); response = convertStreamToString(in); } catch (MalformedURLException e) { Log.e(TAG, \"MalformedURLException: \" + e.getMessage()); } catch (ProtocolException e) { Log.e(TAG, \"ProtocolException: \" + e.getMessage()); } catch (IOException e) { Log.e(TAG, \"IOException: \" + e.getMessage()); } catch (Exception e) { Log.e(TAG, \"Exception: \" + e.getMessage()); } return response; } private String convertStreamToString(InputStream is) { BufferedReader reader = new BufferedReader(new InputStreamReader(is)); StringBuilder sb = new StringBuilder(); String line; try { while ((line = reader.readLine()) != null) { sb.append(line).append(\'\\n\'); } } catch (IOException e) { e.printStackTrace(); } finally { try { is.close(); } catch (IOException e) { e.printStackTrace(); } } return sb.toString(); } } Step 6 C:\\Users\\rajesh.mandal\\AndroidStudioProjects\\JsonList\\app\\src\\main\\res\\layout\\ rounded_border_textview.xml
< Loading Spinner Plz Wait How To Create login Page In Android >
{{questionlistdata.blog_question_description}}
{{answer.blog_answer_description }}