CSS Includes

Friday, May 10, 2013

CRUD with jQuery and PHP for a Better User Experience

We already have a PHP CRUD tutorial in this blog and now we are going to add some AJAX functions to it with the help of jQuery. This will enable smoother user experience and faster loading of page data because your whole page won't have to refresh every time. For our code's final output, here's a video demo:


Let's Code!
Please note that this is not a production-ready code. This tutorial will only focus on creating, reading, updating and deleting records from a MySQL database with the help of PDO and jQuery.

Saturday, May 4, 2013

How to Install Android Development Environment

A lot has been changed since I wrote this post: Getting Started with Google Android Development. I'm not going to remove that page but I rather keep it as an archive about how Android development environment installation was done before.

Installing the Android development environment was a lot easier nowadays, thanks Google! I'm not sure when it started, but there are only two things you have to download now. First is JAVA and second is the Android SDK ADT Bundle.

In this post, I'm going to try to walk you through on how is the latest way to install an Android development environment on your PC. By the way, I'm using Windows 7, but I think that the files to be downloaded and steps are almost the same for other OS, so this post can give you an idea if ever you can't find (on other websites) how it was done in your platform. I actually wrote how to Install Android Development Environment on Ubuntu last year, I hope the changes are minimal so it can still help if you're using Ubuntu.

Monday, April 29, 2013

Who are the Developers of Android?

Android powered devices like mobile phones, tablet computers and home appliances are everywhere nowadays. It is a delight for us to experience a high technology which is less expensive, more powerful and efficient. You know what Android is, you might be grateful, and now you are asking...
"Who are the developers of Android?"
Android growth in device activations. Image from Android Developers.

Thursday, April 25, 2013

Android HTTP Example to Post File and Text Data

Hi guys! Today we are going to code an example app that can post a file and text data to a web server with PHP file as a receiver. Having the ability to (do HTTP Requests) post data from android app to remote server is required for most apps. Here are some example use of this functionality:
  • You want to get statistics on how your app is being used (you have to tell your user and they must agree of course!)
  • Your app has an upload file feature.
  • A user should register on your database before using more features of your app.
The code we used in this post can be downloaded here:

Saturday, April 20, 2013

Show ListView as Drop-down, an Android Spinner Alternative

Our code for today will give us an alternative to using the Android spinner. This ListView drop-down functions like a spinner but:
  • I love how it looks and response to user touch, it feels smoother and faster than a spinner.
  • It can also be easily customized, you won't have to get stuck with default spinner look. 
  • It can be triggered on any view elements such as a Button, Layout, TextView or EditText.
In this example, we are going to have a button that when it was touched, it will show a drop-down list of Dog names. Here's a video demo of our final output:


Related Posts