Tuesday, January 17, 2017

Memasang Admob di Aplikasi Phonegap

Jika anda ingin memasang iklan di aplikasi phonegap anda, yang pertama Daftar dulu di http://www.admob.com/register Kemudian download library Admob untuk Android (https://developers.google.com/mobile-ads-sdk/download)
Library ini harus ditambahkan ke project dengan cara klik kanan project anda, dan masuk ke properties. Kemudian klik ‘Add External JARs’, pilih library Admob yang baru saja anda download.
Untitled-9
Di tab Order and Export, centang Admob.
Untitled-10
Update di source code java anda:
import com.google.ads.*;
import android.widget.LinearLayout;
di baris atas, berkumpul dengan import-import yang lain. Kemudian di dalam Activity, deklarasikan private AdView adView;
Setelah itu, setelah super.loadUrl, tambahkan baris-baris berikut:
adView = new AdView(this, AdSize.BANNER, “a15015514b0dd5e”);
LinearLayout layout = super.root;
layout.addView(adView);    layout.setHorizontalGravity(android.view.Gravity.CENTER_HORIZONTAL);
adView.loadAd(new AdRequest());
Dimana ‘a15015514b0dd5e’ adalah ID Admob anda.
Tambahkan activity berikut di AndroidManifest.xml,
<activity android:name=”com.google.ads.AdActivity” android:configChanges=”keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize” />

Wednesday, December 14, 2016

Start Using XAMPP ( Web and Database Server plus PHPmyAdmin)

XAMPP is most famous all in one development software for web application. Installing This software is so easy. Let's start

Install XAMPP in Windows

Go to Apache Friend and download XAMPP for your desired machine (windows)
Website Apache Friends 
Run/execute the file you just downloaded. Make sure you run it as administrator to avoid few unnecessary error.
XAMPP setup wizard

In the next screen, you are prompted to choose which components should installed. make sure PHP, MySQL, and PHPmyadmin is selected.
XAMPP Pilihan Instalasi

And now we're prompted to choose location where xampp will installed
Memilih folder lokasi XAMPP

Next, Install Bitnami. This is tool to manage some CMS installation such as Wordpress, Joomla, Drupal, etc.
Bitnami for XAMPP

Installation process will start. Wait for it to finish its task untill this screen show up.
XAMPP Finish Install

This screen is XAMPP control panel. You can manage all about your server here.
XAMPP Control Panel


Start PHP and MySQL and open Localhost

To run PHP and enable MySQL database, start apache and mysql.
XAMPP menjalankan PHP MySQL


If everything run fine, open your web browser application and navigate to http://localhost/ or http://127.0.0.1/ if nothing error, you will see this page.
Tampilan Localhost

Now you can start developing your web application.

XAMPP is very customizable. You can add or modify each module or extention for your server. 

Thursday, April 21, 2016

App Framework dari Intel untuk Mobile Application Development

Hai,
Untuk para pengembang aplikasi mobile (android, IOS, WP, Blackberry, dsb) bagi yang belum mencoba , silahkan download intel-XDK. IDE/tool ini merupakan pilihan lain dari software mobile builder seperti IONIC framework, Eclipse, Netbean, Android Studio, dan lainnya.

Kelebihannya?
Jika dibandingkan dengan native Development Software seperti Android Studio, XDK berjalan jauh lebih ringan. tentu saja karena intel XDX ini lebih (dan CUMA) ditujukan untuk membuat aplikasi mobile berbasis web mobile. berbeda dengan Android Studio yang secara Native mendukung semua kemungkinan development android.

Kekurangannya?
Well sekali lagi, XDK lebih ditujukan untuk aplikasi mobile yang dari turunan web. sangat tidak disarankan bagi programmer game native untuk menggunakan software ini karena dukungan kemampuan yang terbatas. Yappp. bisa bikin permainan/game yang berbasis HTML5. atau mungkin nanti ada engine atau plugin yang memang dikhususkan untuk membuat game pada html5.

Software ini memiliki point:

  • Cordova (phonegap)
  • Jquery
  • dukungan Plugin (write your own)
  • Cloud building (gak perlu ribet nyiapin ini dan itu)
  • app designer
  • instant preview
Untuk mulai menggunakan applikasi ini, kita harus dalam state LOGGED IN (terdaftar) , hal ini untuk keperluan Building/publishing, dan certificate.

Download langsung di halaman resmi intel untuk mencobanya.