Android Studio Training 16 & 17 December 2017

NEXT - 10th iteration Android Studio 2.3 Training 16 & 17 December 2017 .
  • Venue: Computer Lab 5, FSTM,KUIS ( maps 
  • Time 0900am - 5pm
  • Open TO ALL
  • Fee: Community Service - pay what you can afford (meals & cert not provided)
  • Registration/Payment queries  Khairul 0129034614
Pre-requisite: Good if you know Java or any Programming language

  • BYOL – Bring your own Laptop with RAM capacity >4GB. Install JDK 1.8 & Android Studio 
  • Make sure to install JDK1.8 & latest Android Studio prior to attending this training.
  • Bring also a USB data cable and your Android device.

What is Android Studio?
Android Studio is the official integrated development environment (IDE) for Android platform development.

Based on JetBrains' IntelliJ IDEA software, Android Studio is designed specifically for Android development. It is available for download on Windows, Mac OS X and Linux, and replaced Eclipse Android Development Tools (ADT) as Google's primary IDE for native Android application development.

What will be covered in this training?
The participants will be guided to create an Android app project, and how to handle the project codes and resources. We will add basic GUIs such as textbox, label, button, image, menus, screens and activities.
The second day will be covering multiple screen interactions, local database, and maps. At the end of the training we will generate Android installer file (APK) and publish it to the Google Playstore.

Course Outline

Pre-requisite: Know Java OOProgramming
Make sure to install JDK1.8 & latest Android Studio prior to attending this training. 
Day 1
0830am - 0900am

0900am - 1030am Intro to Android Apps Development
(installation will not be covered, kindly install everything prior to attending the training)
1030am - 1130am Beginning Android Project ( )
1130am - 1230pm GUI Editor
1230pm - 200pm Lunch Break
2.00pm - 3.00pm Better GUI design
3.00pm - 4.00pm Swipe ViewPager
4.00pm - 5.00pm Multiple Activities & Intent
Generate Signed APK
Publishing App + view
0900am - 1100am
1100am - 1230pm Local Database 
1230pm - 2.00pm Lunch Break
2.00pm - 3.00pm Google Maps Activity + view
3.00pm - 4.30pm Generate Signed APK
Publishing App + view
4.30pm – 5.00pm Closing


Registration Form

Insert Record JSON Android in localhost environment


  • This tutorial is the continuation of Login JSON Android using Login Activity
  • STEP 1: Preparing the online database facilities in localhost.
  • STEP 2: Preparing the PHP script to insert a new record.
  • STEP 3: Coding of The Android client



STEP 1: Preparing the online database facilities in localhost.

Our Localhost environment is on Xampp as usual.

Importing the database to the online database. Download the full code below and you will find the SQL-dump file. Import the file and it will create a database named training.


ProgressDialog in Android

This is the good way to use progress dialog in Android
Code coloring by 
Source from


//example code on using Progress Dialog in Android
private class YourAsyncTask extends AsyncTask<Void, Void, Void> {

   ProgressDialog dialog = new ProgressDialog(IncidentFormActivity.this);

    protected void onPreExecute() {
        //set message of the dialog
        //show dialog;

   protected Void doInBackground(Void... args) {
    // do background work here
    return null;

   protected void onPostExecute(Void result) {
     // do UI work here
     if(dialog != null && dialog.isShowing()){


Login JSON Android using Login Activity

I’ve been trying to release this tutorial quite a while. At last after a long hard effort. Since HttpClient is not supported any more in Android SDK 23, I have to resort to org.json.JSONObject and library to do online database with JSON.

The objective of this tutorial is to log-in from a mobile client with the username and password stored in an online database facility.


STEP 1: Create a new Android project, this time choose the LoginActivity .

Popular Posts