Desain dan Analisis Algoritma PTIIK Genap 2012/2013: Fundamentals of Algorithm Analysis in Efficiency

Berikut ini adalah slide presentasi pada pertemuan III: Fundamentals to Algorithm Analysis in Efficiency untuk mata kuliah Desain dan Analisis Algoritma semester Genap tahun akademik 2012/2013. Kelas yang diampu adalah kelas: Informatika B Informatika H Informatika J Hal-hal yang dibahas dalam pertemuan kedua mata kuliah. Materi yang tercakup dalam pertemuan kedua mata kuliah ini antara lain: analisis efisiensi algoritma, asymptotic notations; analisis algoritma sequential search; best case, worst case, average Continue reading Desain dan Analisis Algoritma PTIIK Genap 2012/2013: Fundamentals of Algorithm Analysis in Efficiency

Pemrograman Web PTIIK Genap 2012/2013: Introduction To Web Technologies

Berikut ini adalah slide presentasi pada pertemuan II: Introduction to Dynamic Web (Pengenalan pada Website Dinamis) untuk mata kuliah Pemrograman Web semester Genap 2012/2013. Kelas yang diampu adalah kelas: Sistem Informasi A Sistem Informasi B Informatika A Hal-hal yang dibahas dalam pertemuan kedua mata kuliah ini mencakup penjelasan mengenai: definisi website dinamis, berbagai macam teknologi yang digunakan untuk membangun website yang dinamis, kategori dokumen yang dihasilkan dalam web teknologi server-side, client-side, serta Continue reading Pemrograman Web PTIIK Genap 2012/2013: Introduction To Web Technologies

CSS Box Model

HTML elements consists of inline and block elements. All of them are box models even for inline elements such as <em>, <span>, or <strong>. Each box has it’s own (default) border, margin, and padding size. Put the following CSS code to your web pages to see (the box) by yourself temporarily: * { border: 1px solid red !important; } With the above CSS, all elements will have a 1px solid Continue reading CSS Box Model

Tutorial: Android SQLite Database

SQLite is one of several ways that Android provide to store data. SQLite is already come with vanilla Android OS and it is very light weight to be used under mobile environment. Below is the tutorial on how to create classes to handle SQLite database operations. For the sake of simplicity, I only uses one table with only 3 columns to store cars information. The three columns are id (INT), Continue reading Tutorial: Android SQLite Database

A Proposed Design for PTIIK Mobile Application Logo

The above image is a proposed logo design for PTIIK Mobile Application. Basically it was a simple idea. PTIIK has been developing an integrated information system between it’s internal and external system. So it would be best if the designed logo reflect the description with the connected > and < shape to form an “X” letter as in eXchange. The blue-ish and orange-ish color used in the logo are the Continue reading A Proposed Design for PTIIK Mobile Application Logo

Desain dan Analisis Algoritma PTIIK Genap 2012/2013: Introduction to DAA

Berikut ini adalah slide presentasi pada pertemuan II: Introduction to Design and Analysis of Algorithm untuk mata kuliah Desain dan Analisis Algoritma semester Genap tahun akademik 2012/2013. Kelas yang diampu adalah kelas: Informatika B Informatika H Informatika J Hal-hal yang dibahas dalam pertemuan kedua mata kuliah. Materi yang tercakup dalam pertemuan kedua mata kuliah ini antara lain: definisi algoritma, syarat-syarat algoritma, algoritma dalam kerangka penyelesaian masalah, notasi algoritmik, pentingnya analisis Continue reading Desain dan Analisis Algoritma PTIIK Genap 2012/2013: Introduction to DAA

Android: Simple Class For Easy Writing And Reading SharedPreferences String Value

SharedPreferences is used to store small configurations or settings data in your Android application. For example, as username or user preferences data storage. Just like variables, shared preferences can be identified by “key” string as “variable” name. Shared preferences are relatives to application. So it can not be accessed by other application directly. In the following example, I would like to store the username of logged in user so in Continue reading Android: Simple Class For Easy Writing And Reading SharedPreferences String Value

Pemrograman Web PTIIK Genap 2012/2013: Introduction To Dynamic Web

Berikut ini adalah slide presentasi pada pertemuan II: Introduction to Dynamic Web (Pengenalan pada Website Dinamis) untuk mata kuliah Pemrograman Web semester Genap 2012/2013. Kelas yang diampu adalah kelas: Sistem Informasi A Sistem Informasi B Informatika A Hal-hal yang dibahas dalam pertemuan kedua mata kuliah ini mencakup penjelasan mengenai: definisi website dinamis, berbagai macam teknologi yang digunakan untuk membangun website yang dinamis, kategori dokumen yang dihasilkan dalam web teknologi server-side, client-side, Continue reading Pemrograman Web PTIIK Genap 2012/2013: Introduction To Dynamic Web

Thread in Android: An Example

StrictMode is most commonly used to catch accidental disk or network access on the application’s main thread, where UI operations are received and animations take place. Keeping disk and network operations off the main thread makes for much smoother, more responsive applications. By keeping your application’s main thread (UI thread) responsive, you also prevent ANR (Application Not Responding) dialogs from being shown to users. Network requests being made on UI thread may Continue reading Thread in Android: An Example

Communicating PHP with Android Java using JSON

When you have several variables (data) which you would send to Android using regular text on HTTP, then JSON would become an alternative format to XML. Android has it’s own JSON parser class which able to convert text on JSON format into a JSON Object. Since version 5.2.0, PHP has it’s built in json_encode() and json_decode() function to convert an array into json string and vice versa.