APLIKASI BABESHOP BERBASIS LBS (LOCATION BASED SERVICE) DENGAN VOICE COMMAND PADA PLATFORM ADROID
TUGAS AKHIR
Sebagai Persyaratan Guna Meraih Gelar Sarjana Strata 1 Teknik Informatika Universitas Muhammadiyah Malang
Oleh : Mery Putri Windasari 201110370311195
JURUSAN TEKNIK INFORMATIKA FAKULTAS TEKNIK UNIVERSITAS MUHAMMADIYAH MALANG 2015
DAFTAR GAMBAR
Gambar 2.1 Use Case Sistem Informasi KKN .................................................
9
Gambar 2.2 Arsitektur Android ....................................................................... 14 Gambar 3.1 Use Case Diagram Babeshop ....................................................... 21 Gambar 3.2 Activity Diagram Registrasi ......................................................... 22 Gambar 3.3 Activity Diagram Login ............................................................... 22 Gambar 3.4 Activity Diagram Create Barang .................................................. 23 Gambar 3.5 Activity Diagram Update Barang ................................................. 23 Gambar 3.6 Activity Diagram Delete Barang .................................................. 24 Gambar 3.7 Activity Diagram Pencarian Barang............................................. 25 Gambar 3.8 Activity Diagram Melihat Detail Informasi ................................. 26 Gambar 3.9 Activity Diagram Management data barang ............................... 27 Gambar 3.10 Sequence Diagram Registrasi..................................................... 28 Gambar 3.11 Sequence Diagram Login ........................................................... 28 Gambar 3.12 Sequence Diagram View Product Barang .................................. 29 Gambar 3.13 Sequence Diagram Create Barang.............................................. 29 Gambar 3.14 Sequence Diagram Update Barang............................................. 30 Gambar 3.15 Sequence Diagram Delete Barang.............................................. 30 Gambar 3.16 Sequence Diagram Pencarian Barang ........................................ 31 Gambar 3.17 Sequence Diagram Lihat Lokasi ................................................ 31 Gambar 3.18 Sequence Diagram View User ................................................... 32 Gambar 3.19 Sequence Diagram Edit Data Barang ......................................... 32 Gambar 3.20 Class Diagram ............................................................................ 33 Gambar 3.21 Halaman Utama .......................................................................... 34 Gambar 3.22 Menu Login ................................................................................ 34 Gambar 3.23 Menu Register ............................................................................ 35 Gambar 3.24 Management Barang................................................................... 35
x
Gambar 3.25 Pasang Iklan ............................................................................... 36 Gambar 3.26 Update dan Delete Barang.......................................................... 36 Gambar 3.27 Kategori Barang ......................................................................... 37 Gambar 3.28 Pencarian Berdasarkan Kategori Elektronik .............................. 37 Gambar 3.29 Pencarian Berdasarkan Kategori Fashion................................... 38 Gambar 3.30 Pencarian Berdasarkan Kategori Koleksi ................................... 38 Gambar 3.31 Pencarian Berdasarkan Kategori Kendaraan .............................. 39 Gambar 3.32 Daftar Nama Barang................................................................... 39 Gambar 3.33 Detail Informasi Barang ............................................................. 40 Gambar 4.1 Potongan Kode menghasilkan Object JSON................................ 42 Gambar 4.2 Konfigurasi Database Server ........................................................ 42 Gambar 4.3 Potongan Kode Fungsi Login....................................................... 43 Gambar 4.4 Hasil dari Request Login .............................................................. 43 Gambar 4.5 Potongan Kode Fungsi get_all_roduct_bykategori ...................... 44 Gambar 4.6 Hasil dari Request Fungsi get_all_product_bykategori ............... 44 Gambar 4.7 Potongan Kode get_product_details............................................. 45 Gambar 4.8 Hasil dari Request Fungsi get_product_details ............................ 45 Gambar 4.9 Potongan Kode Fungsi Konfirmasai Admin ................................ 46 Gambar 4.10 Hasil dari Request konfirmasi_admin ........................................ 46 Gambar 4.11 Tampilan Menu Login................................................................ 47 Gambar 4.12 Potongan Kode Menu Login ...................................................... 47 Gambar 4.13 Tampilan Register ...................................................................... 48 Gambar 4.14 Potongan Kode Tampilan Register............................................. 49 Gambar 4.15 Implementasi Pasang Iklan......................................................... 50 Gambar 4.16 Potongan Kode Pasang Iklan...................................................... 50 Gambar 4.17 Android Manifest.xml ................................................................ 51 Gambar 4.18 Tampilan Menu Edit Produk ...................................................... 52 Gambar 4.19 Potongan Kode Menu Edit Produk............................................. 52
xi
Gambar 4.20 Tampilan Pencarian Barang ....................................................... 53 Gambar 4.21 Potongan Kode Pencarian Barang .............................................. 54 Gambar 4.22 Tampilan Detail Barang ............................................................. 55 Gambar 4.23 Potongan Kode Tampilan Detail Barang.................................... 55 Gambar 4.24 Tampilan Show Map .................................................................. 56 Gambar 4.25 Potongan Kode Tampilan Show Map ........................................ 56 Gambar 4.26 Tampilan Konfirmasi Iklan ........................................................ 57 Gambar 4.27 Potongan Kode Konfirmasi Iklan............................................... 57
xii
DAFTAR ISI
LEMBAR PERSETUJUAN .......................................................................... LEMBAR PENGESAHAN ........................................................................... LEMBAR PERNYATAAN ........................................................................... ABSTRAKSI .................................................................................................. ABSTRACT .................................................................................................... LEMBAR PERSEMBAHAN ........................................................................ KATA PENGANTAR .................................................................................... DAFTAR ISI.................................................................................................... DAFTAR GAMBAR...................................................................................... DAFTAR TABEL ...........................................................................................
i ii iii iv v vi vii viii x xiii
BAB I PENDAHULUAN 1.1. Latar Belakang .................................................................................... 1.2. Rumusan Masalah............................................................................... 1.3. Batasan Masalah ................................................................................. 1.4. Tujuan Penelitian ................................................................................ 1.5. Metedologi .......................................................................................... 1.5.1. Studi Literatur .......................................................................... 1.5.2. Analisa dan Perancangan Sistem.............................................. 1.5.3. Implementasi Sistem ................................................................ 1.5.4. Pengujian .................................................................................. 1.5.5. Penyusunan Laporan Tugas Akhir ........................................... 1.6. Sistematika Penulisan .........................................................................
1 2 2 3 3 3 4 4 4 4 5
BAB II LANDASAN TEORI 2.1. Pengertian M-Commerce .................................................................... 2.2. Location Based Service ....................................................................... 2.2.1. Prinsip LBS ............................................................................... 2.2.2. Komponen LBS......................................................................... 2.3. Google Maps API ............................................................................... 2.4. Android ............................................................................................... 2.4.1. Versi Android ........................................................................... 2.4.2. Arsitektur Android ................................................................... 2.5. JSON ................................................................................................... 2.6. Speech Recognation............................................................................
6 6 7 8 9 10 11 14 15 16
BAB III ANALISA DAN PERANCANGAN SISTEM 3.1. Analisa Kebutuhan.............................................................................. 3.1.1. Analisa Masalah ....................................................................... 3.1.2. Analisa Kebutuhan Fungsional ................................................ 3.1.3. Analisa Kebutuhan non Fungsional ......................................... 3.1.4. Use Case Diagram ..................................................................... 3.1.5. Activity Diagram ....................................................................... 3.2. Perancangan Sistem ............................................................................ 3.2.1. Sequence Diagram....................................................................
18 18 19 19 20 22 27 27
viii
3.2.2. Class Diagram .......................................................................... 33 3.2.3. Perancangan Antar Muka ......................................................... 33 BAB IV IMPLEMENTASI DAN PENGUJIAN 4.1. Implementasi....................................................................................... 4.1.1. Lingkungan Pengembangan Perangkat Lunak .......................... 4.1.2. Lingkungan Pengembangan Perangkat Keras .......................... 4.1.3. Implementasi Web Service ....................................................... 4.1.4. Implementasi Interfaces Aplikasi Babeshop ............................. 4.1.5. Implementasi Interfaces Admin Server..................................... 4.2. Pengujian Sistem ................................................................................ 4.2.1. Pengujian Fungsionalitas.......................................................... 4.2.2. Pengujian Voice Command...................................................... 4.2.3. Pengujian Location Based Service ...........................................
41 41 41 42 47 57 58 58 64 66
BAB V KESIMPULAN DAN SARAN 5.1. Kesimpulan ......................................................................................... 69 5.2. Saran ................................................................................................... 69 DAFTAR PUSTAKA ..................................................................................... 70
viii
DAFTAR PUSTAKA [1]
Haqi.M.,Aji.Prasetyo.,Albertian.D.dll.,2013.Pengembangan Aplikasi Android M-Commerce “Pindah Lapak”berbasis lokasi.Universitas Bina Nusantara.Jakarta
[2]
Heriyanto, Trisno 2014. “Indonesia Masuk 5 Besar Negara Pengguna Smartphone”.[Online]. Tersedia: http://inet.detik.com/read/2014/02/03/17100 2/2485920/317/indonesiamasuk-5-besarnegara-pengguna-smartphone diakses pada 22 April 2014.
[3]
Safaat, Nazruddin. 2012. Pemrograman Aplikasi Mobile Smartphone dan Tablet PC Berbasis Android. Bandung : Informatika Bandung.
[4]
Adam.CP.,Ali.A.,Dirgantara.B.,2008. Aplikasi layanan berbasis untuk memberikan informasi sarana umum.Universitas Telkom
[5]
Dirmansah.D.,Zulian.M.,Hermanto.D.,2013.Rancang Bangun Aplikasi Penunjuk Arah Berbahasa Indonesia Berbasisi Text To Speech dan Speech Recognation Pada Perangkat Android, Jursan Teknik Informatika.STMIK GI MDP
[6]
Anam.B., Jay.H., Kusuma.PI., Mei 2014. Implementasi Location Based Service berbasis android untuk mengetahui posisi user : Jurnal SAINTIKOM Vol.13, No.2
[7]
Google Maps API.Diakses pada tanggal 21 April 2015.Dari http://ejournal.uajy.ac.id/2429/3/2TF04546.pdf
[8]
Versi Android. Mohammadhar. Diakses pada tanggal 23 April 2015. Dari http://222.124.203.59/files/disk1/692/jbptunikompp-gdl-mohamadhar34600-9-unikom_m- i.pdf
[9]
JSON.Satria.R.Diakse pada tanggal 23 April 2015.Dari http://elib.unikom.ac.id/files/disk1/597/jbptunikompp-gdl-riansatria29820-9-unikom_r-i.pdf
[10]
Speech Recognation. Diakses pada tanggal 25 http://sir.stikom.edu/4/4/BAB%20II.pdf
70
April 2015.
lokasi
Dari
DAFTAR TABEL Tabel 4.1 Hasil Pengujian Fungsionalitas ........................................................ Tabel 4.2 Data Hasil Pengujian Ketepatan Kata .............................................. Tabel 4.3 Data Hasil Pengujian Jarak Suara .................................................... Tabel 4.4 Data Hasil Pengujian Noise ............................................................. Tabel 4.5 Pengujian LBS .................................................................................
xiii
58 64 65 66 67
KATA PENGANTAR Dengan memanjatkan puji syukur kehadirat Allah SWT. Atas limpahan rahmat dan hidayah-NYA sehingga penulis dapat menyelesaikan tugas akhir yang berjudul : “APLIKASI BABESHOP BERBASIS LBS (LOCATION BASED SERVICE) DENGAN VOICE COMMAND PADA PLATFORM ANDROID”
Tak lupa juga melalui kesempatan yang sangat berharga ini penulis menyampaikan ucapan
terima kasih yang sebesar-besarnya kepada semua pihak
yang telah membantu dan terlibat dalam penyelesaian tugas akhir ini. Kesempurnaan hanyalah milik Allah, untuk itu penulis menyadari bahwa apa yang penulis susun ini jauh dari kata sempurna. Karena itu penulis mengharapkan kritik, saran dan pendapat yang sifatnya membangun. Terima kasih untuk segala perhatiannya. Penulis berharap semoga tugas akhir ini dapat bermanfaat dan berguna bagi semua pihak.
Malang, 11 Agustus 2015
Penulis
vii