DropDownList / Android Spinner from PHP and MySQL using JSON


androidappcode

In this tutorial I will teach how to build a dropdwon list / menu using PHP, MySQL, and JSON

Needed:

  • PHP Editor like Notepad++ (downloaded here if you dont have it)
  • Webserver like XAMPP (downloaded here if you dont have it) or see this tutorial how to install XAMPP
  • Eclipse with android (downloaded here if you dont have it)

Step 1: Create Database

Go to your localhost:  http://localhost/ or  http://localhost/phpmyadmin/
and create new database named: customers
alfter that create a new table and call it  customer and  insert some data.


Step 2: Create PHP

View original post 216 more words