Android Studio Training - 8 & 9 April 2017



NEXT - 9th iteration Android Studio 2.2 Training - 8 & 9 April 2017 .
  • Dates: 5th Series  1&2 Oct 2016  Siri4 5&6 March 2016, 8&9 Ogos 2015  Siri 1 28 Feb dan 1 Mac 2015 Siri 2 7 & 8 Mac 2015.
  • Venue: KOKUIS, Bandar Seri Putra
  • Time 0900am - 5pm
  • Open TO ALL
  • Fee: RM180 student, RM300 public
  • Registration/Payment queries  Khairul 0129034614
Pre-requisite: Know Java OOProgramming

Requirements:
  • BYOL – Bring your own Laptop with RAM capacity >4GB. Install JDK 1.8 & Android Studio http://developer.android.com/sdk/ 
  • 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. 
Hari 1
0830am - 0900am

Registration
0900am - 1030am Intro to Android Apps Developement
1030am - 1130am Beginning Android Project ( bit.ly/newandroidproject )
1130am - 1230pm GUI Editor
1230pm - 200pm Lunch Break
2.00pm - 3.00pm Better GUI design
3.00pm - 4.00pm Activity Life Cycle
4.00pm - 5.00pm Menu & Multiple Activities
Intent 
.
Hari 2
0900am - 1100am

SQLite
1100am - 1230pm Local Database
1230pm - 2.00pm Lunch Break
2.00pm - 3.00pm Google Maps Activity + view bit.ly/kerulmaps
3.00pm - 4.30pm Generate Signed APK
Publishing App + view bit.ly/publishandroidapp
4.30pm – 5.00pm Closing



Registration Form (Siri 8th - 25 & 26 FEB 2017 )

Kusus Buat website mini cara mudah (22 April 2017)


Sesi ketiga: April 22, 2017 (Sabtu)
Masa: 8.30am - 1pm
Sumbangan: RM50 kepada tabung masjid
Tempat: MK5, IT Block, Kolej Universiti Islam Antarabangsa Selangor, Bandar Seri Putra, Bangi, Kajang, Selangor.
Penganjur: Masjid Al-Azhar & FSTM, KUIS & KOKUIS Academy

PENAMPILAN KHAS web marketer AaHarussani Nor Hamsan untuk sesi sharing "How to SELL through website". Beliau akan dedahkan cara macam mana nak menjual melalui website... 

Sesi kali ini adalah kursus khidmat ummah untuk pengurusan masjid daerah Hulu Langat, Selangor. Namun ada beberapa tempat terhad yang kami peruntukan untuk orang awam. Daftar cepat.

Responsive web design penting masa sekarang sebab user banyak guna telefon pintar untuk view website. 

Namun, website developer tak boleh abaikan pengguna laptop/pc. Jadi macam mana nak penuhi keperluan saiz skrin yang pelbagai? Responsive design dengan Bootstrap mampu untuk selesaikan masalah tersebut.

Software yang kami guna nanti ada kelebihan berikut;
memudahkan buat website mini yang responsive. Jadi website cantik dipandang dalam skrin telefon atau desktop.
 BLOCK design yang terkini.
 Mengunakan BootStrap untuk jadikan web anda lebih cantik dan responsif.
 Animasi transisi laman menggunakan Javascript
 Macam mana nak guna RESPONSIVE, BOOTSTRAP, JAVASCRIPT, BLOCK DESIGN? TAK PERLU tahu detail pasal software akan uruskan semua tu.
 Anda cuma perlu masukkan isi kandungan sahaja.

MOBIRISE sesuai untuk pengguna umum yang tak mau kesah dengan coding HTML. Sangat mudah dengan fungsi drag and drop dan wizard. Cumanya kalau kita nak tambah extension kena bayar. Contohnya code editor perlu bayar untuk dapatkan features tersebut. Tapi memang kita taknak kesah coding pun.

Kalau sapa2 nak tahu tools/perisian buat website mini tanpa CMS, boleh datang kursus nih. Lagi pun BLOCK web design memang cantik buat minisite.

Satu lagi kursus khidmat komuniti FSTM, KUIS. Untung terus masuk ke tabung penganjur Masjid Al-Azhar KUIS. 

Agenda:
1. Pengenalan Internet dan Web
2. BLOCK design
3. Buat minisite cara mudah tanpa Programming
4. Tapak web & domain
5. Demo upload ke server
6. Double-Dare Your Website*



AutocompleteTextview items from SQLite database

AutoCompleteTextView is yet another basic controls in Android. The main purpose is to provide a suggestion list while you type on the textbox (as in the image below). This time instead of listing a regular ArrayList, I will show how to populate the list from a offline database table  through SQLite.

Screenshot_1488288146

Starts by creating a new project, create a BASIC PROJECT. –> the tutorial is here http://blog.kerul.net/2016/12/creating-new-android-studio-project.html .

readmorebutton

Online database thru JSON in Android Studio

The tutorial is about how to connect Android apps and online database using the JSON formatted data interchange. The server facilities and JSON encoded data has been explained in the previous tutorials;
( Android and JSON Insert, Android and JSON Search ).

The overview concept of JSON data inter change.

android-json-php-mysql-illustration

JSON formatted data sample

json-format-example

First we look at our database structure for this project.

Part A: The online database

The table is training, and this is the structure.

training-table

There is a PHP script that generate a JSON encoded data from the above table.

JSON-training-table

The PHP script to generate JSON formatted data;

<?php
//search.php
/*
 * Following code will search training based on keywords
 */
 
// array for JSON response
$response = array();
 
// include connect class
require_once __DIR__ . '/connect.php';
 
// connecting to db
$db = new DB_CONNECT();

$keyword=$_GET["keyword"];
// get idioms based on keyword

//using LIKE
$result = mysql_query("SELECT * FROM a_training WHERE trainingname LIKE '%$keyword%' LIMIT 0, 20") 
or die(mysql_error());
 
// check for empty result
if (mysql_num_rows($result) > 0) {
    // looping through all results
    $response["traininglist"] = array();
 
    while ($row = mysql_fetch_array($result)) {
        // temp user array
        $traininglist= array();
        $traininglist["id"] = $row["id"];
        $traininglist["trainingname"] = $row["trainingname"];
        $traininglist["website"] = $row["website"];
		$traininglist["contact"] = $row["contact"];
		$traininglist["trainingdesc"] = $row["trainingdesc"];
 
        // push single idiom array into final response array
        array_push($response["traininglist"], $traininglist);
    }
    // success
    $response["success"] = 1;
 
    // echoing JSON response
    echo json_encode($response);
} else {
    // no products found
    $response["success"] = 0;
    $response["message"] = "No training found";
 
    // echo no users JSON
    echo json_encode($response);
}
?>

The expected output as viewed in the Android device.

result-set-listing-android-json

Part B: The mobile app interfaces

This part is to create a mobile apps interface, by creating a new project in Android Studio. There will be two activities. The first is the search box. And the second screen activity is to display the result.

As you could notice there is a login UI below, that is for the next exercise to create a LOGIN facility.

activity_main_xml

Popular Posts

WorldConferences.net