v ABSTRAK APLIKASI PENJUALAN BERBASIS ANDROID (STUDI

advertisement
ABSTRAK
APLIKASI PENJUALAN BERBASIS ANDROID
(STUDI KASUS PERUSAHAAN TEENAGERS)
Seiring meningkatnya penjualan dari salah satu perusahaan pakaian Teenagers di
Yogyakarta, maka pada studi kasus ini saya berusaha membantu perusahaan tersebut untuk
meningkatkan layanan pada para cutomer untuk dapat membeli atau sekedar melihat catalog dari
produk-produk perusahaan yang berupa kaos, polo shirt, kemeja, celana jeans, jaket, dan sweater
sehingga diharapkan mampu meningkatkan penjualan produk perusahaan. Dengan meningkatnya
pengguna smartphone android saat ini, maka saya memilih untuk mengimplementasikan sistem
ini pada platform android. Salah satu cara untuk mengatasi ini adalah membuat Aplikasi
Penjualan Berbasis Android. Perbedaan sistem ini dengan e-commerse adalah sistem ini hanya
berjalan pada sistem operasi Android bukan berbasis web dan masih terbatas pada pembayaran
yang hanya dilakukan secara manual(transfer via ATM).
Proses jalannya aplikasi ini nantinya cutomer akan melakukan registrasi untuk dapat
mengakses produk dari perusahaan Teenagers yang nantinya akan mempermudah cutomer untuk
melakukan pembelian. Cutomer dapat memilih dan membeli item yang diminati dengan
menginputkan beberapa data untuk nantinya akan direspon oleh server secara otomatis dan akan
diirimkan detail pembayaran. Metode pengembangan aplikasi yang akan digunakan untuk
merancang aplikasi ini adalah metode GRAPPLE..
Pada tahap implementasi, pada sisi aplikasi yang akan di bangun ini menggunakan
bahasa pemrograman Java, Software Development Kit (SDK), dan Android Development Tools
(ADT) dengan text editor yang digunakan adalah Eclipse. Pada sisi server menggunakan Apache
dengan bahasa pemrograman PHP 5.3.3 dan database yang digunakan adalah MySql dengan
menggunakan phpmyadmin sebagai database managernya. Untuk uji penggunaannya
menggunakan smartphone yang berbasis android.
v
DAFTAR ISI
HALAMAN JUDUL ......................................................................................................
HALAMAN HALAMAN PENGESAHAN PEMBIMBING ......................................
KATA PENGANTAR .....................................................................................................
ABSTRAK .......................................................................................................................
DAFTAR ISI....................................................................................................................
DAFTAR GAMBAR .......................................................................................................
DAFTAR TABEL ...........................................................................................................
DAFTAR MODUL PROGRAM ....................................................................................
i
ii
iii
v
vi
viii
x
xi
BAB I
1.1
1.2
1.3
1.4
1.5
1.6
1.7
PENDAHULUAN
Latar Belakang Masalah ...................................................................................
Rumusan Masalah ............................................................................................
Batasan Masalah ..............................................................................................
Tujuan Penelitian ..............................................................................................
Manfaat Penelitian ...........................................................................................
Metodologi Penelitian .....................................................................................
Sistematika Penulisan ......................................................................................
1
2
2
2
2
2
3
BAB II
2.1
2.2
2.3
2.3.1
2.4
2.5
2.6
2.7
2.7.1
2.7.2
2.7.3
2.7.4
2.7.5
2.8
DASAR TEORI
Aplikasi ............................................................................................................
Guidelines for Rappid APPLication Engineering (GRAPPLE) .......................
Unified Modelling Language ...........................................................................
Diagram UML ..................................................................................................
Basis Data .........................................................................................................
Android ............................................................................................................
Open Source .....................................................................................................
SDK Android ....................................................................................................
JDK...................................................................................................................
SDK Eclipse .....................................................................................................
Android Eclipse Plugin ....................................................................................
XAMPP ............................................................................................................
MySQL .............................................................................................................
Studi Pustaka ....................................................................................................
4
4
5
6
14
15
16
21
21
21
21
22
22
23
BAB III GAMBARAN UMUM
3.1
Sejarah Singkat Perusahaan Perseorangan Teenagers ...................................... 24
3.2
Visi dan Misi Perusahaan Teenagers ................................................................ 25
3.3
Struktur Organisasi Perusahaan ........................................................................ 25
BAB IV
4.1
4.1.1
4.1.2
ANALISIS DAN PERANCANGAN
Perencanaan Kebutuhan (Requirement Gathering) .......................................... 26
Analisis Sistem ................................................................................................. 26
Analisis Kebutuhan Pengguna.......................................................................... 27
vi
4.1.3
4.1.4
4.1.5
4.2
4.2.1
4.2.2
4.2.3
4.3
4.3.1
4.3.2
4.3.3
4.3.3.1
4.3.3.2
4.3.4
4.3.5
4.3.5.1
4.3.5.2
4.3.5.3
4.3.5.4
4.3.5.5
4.3.5.6
4.3.5.7
4.3.5.8
4.3.5.9
4.3.5.10
4.3.5.11
4.3.5.12
4.3.5.13
4.3.5.14
4.3.5.15
4.3.5.16
4.3.5.17
4.3.5.18
4.3.5.19
4.3.5.20
4.3.5.21
4.3.5.22
4.3.5.23
4.3.5.24
Analisis Domais ...............................................................................................
Identifikasi Sistem ............................................................................................
Analisis Kebutuhan Sistem ..............................................................................
Analisis .............................................................................................................
Diagram Use Case ............................................................................................
Diagram Class ..................................................................................................
Diagram Sequence ............................................................................................
Design ...............................................................................................................
Arsitektur Sistem ..............................................................................................
Diagram Activity ..............................................................................................
Perancangan Basis Data ...................................................................................
Perancangan Model Objek ...............................................................................
Perancangan Tabel ............................................................................................
Struktur Menu...................................................................................................
Perancangan Antarmuka (Interface) .................................................................
Rancangan Halaman Home ..............................................................................
Rancangan Halaman About ..............................................................................
Rancangan Halaman Artikel .............................................................................
Rancangan Halaman Outlet ..............................................................................
Rancangan Halaman Detail Outlet ...................................................................
Rancangan Halaman Kategori ..........................................................................
Rancangan Halaman Produk ............................................................................
Rancangan Halaman Detail Produk .................................................................
Rancangan Halaman Keranjang .......................................................................
Rancangan Halaman Pendaftaran .....................................................................
Rancangan Halaman Login ..............................................................................
Rancangan Halaman Akun ...............................................................................
Rancangan Halaman Histori .............................................................................
Rancangan Halaman Detail Transaksi ..............................................................
Rancangan Halaman Login Admin ..................................................................
Rancangan Halaman Olah Data Kategori ........................................................
Rancangan Halaman Olah Data Produk ...........................................................
Rancangan Halaman Olah Data Member .........................................................
Rancangan Halaman Olah Data Outlet ............................................................
Rancangan Halaman Olah Data Artikel ...........................................................
Rancangan Halaman Olah Data Ongkir ...........................................................
Rancangan Halaman Olah Data Provinsi .........................................................
Rancangan Halaman Olah Data Kota ...............................................................
Rancangan Halaman Olah Data Transaksi .......................................................
27
28
29
30
30
32
34
42
42
43
63
64
65
67
68
68
69
70
70
71
72
72
73
74
75
76
76
77
78
79
80
80
81
82
83
84
84
85
86
BAB V
5.1
5.2
5.3
5.3.1
5.3.2
IMPLEMENTASI
Perangkat Keras yang Digunakan untuk Membangun Aplikasi .......................
Perangkat Lunak yang Digunakan untuk Membangun Aplikasi ......................
Implementasi Aplikasi ......................................................................................
Implementasi Halaman Splash Screen .............................................................
Implementasi Halaman Home ..........................................................................
87
87
88
88
89
vii
5.3.3
5.3.4
5.3.5
5.3.6
5.3.7
5.3.8
5.3.9
5.3.10
5.3.11
5.3.12
5.3.13
5.3.14
5.3.15
Implementasi Halaman About ..........................................................................
Implementasi Halaman Artikel .........................................................................
Implementasi Halaman Outlet ..........................................................................
Implementasi Halaman Detail Outlet ...............................................................
Implementasi Halaman Kategori ......................................................................
Implementasi Halaman Produk ........................................................................
Implementasi Halaman Detail Produk .............................................................
Implementasi Halaman Keranjang ...................................................................
Implementasi Halaman Pendaftaran .................................................................
Implementasi Halaman Login ..........................................................................
Implementasi Halaman Akun ...........................................................................
Implementasi Halaman Histori .........................................................................
Implementasi Halaman Detail Histori ..............................................................
93
97
101
106
108
111
117
120
127
132
137
143
147
BAB VI PENUTUP
6.1
Kesimpulan....................................................................................................... 152
6.2
Saran ................................................................................................................. 152
DAFTAR PUSTAKA ..................................................................................................... 153
viii
DAFTAR GAMBAR
Gambar 2.1
Gambar 2.2
Gambar 2.3
Gambar 2.4
Gambar 2.5
Gambar 4.1
Gambar 4.2
Gambar 4.3
Gambar 4.4
Gambar 4.5
Gambar 4.6
Gambar 4.7
Gambar 4.8
Gambar 4.9
Gambar 4.10
Gambar 4.11
Gambar 4.12
Gambar 4.13
Gambar 4.14
Gambar 4.15
Gambar 4.16
Gambar 4.17
Gambar 4.18
Gambar 4.19
Gambar 4.20
Gambar 4.21
Gambar 4.22
Gambar 4.23
Gambar 4.24
Gambar 4.25
Gambar 4.26
Gambar 4.27
Gambar 4.28
Gambar 4.29
Gambar 4.30
Gambar 4.31
Gambar 4.32
Gambar 4.33
Gambar 4.34
Gambar 4.35
Gambar 4.36
Gambar 4.37
Gambar 4.38
Gambar 4.39
Contoh diagram use case .....................................................................
Contoh diagram class ...........................................................................
Contoh diagram sequence ...................................................................
Contoh diagram activity ......................................................................
Arsitektur sistem Operasi Android .......................................................
Diagram use case aplikasi ....................................................................
Diagram use case admin ......................................................................
Diagram Class ......................................................................................
Diagram Sequence Lihat About ...........................................................
Diagram Sequence Lihat Kategori .......................................................
Diagram Sequence Lihat Produk .........................................................
Diagram Sequence Lihat Outlet ...........................................................
Diagram Sequence Lihat Artikel ..........................................................
Diagram Sequence Daftar Member .....................................................
Diagram Sequence Login Member ......................................................
Diagram Sequence Olah Data Akun ....................................................
Diagram Sequence Pembelian .............................................................
Diagram Sequence History ..................................................................
Arsitektur Sistem .................................................................................
Diagram Activity Lihat About .............................................................
Diagram Activity Lihat Kategori .........................................................
Diagram Activity Lihat Produk ............................................................
Diagram Activity Lihat Outlet .............................................................
Diagram Activity Lihat Artikel ............................................................
Diagram Activity Daftar Member ........................................................
Diagram Activity Login Member.........................................................
Diagram Activity Olah Data Akun .......................................................
Diagram Activity Transaksi .................................................................
Diagram Activity History.....................................................................
Diagram Activity Login Admin ...........................................................
Diagram Activity Olah Data Kategori .................................................
Diagram Activity Olah Data Produk ....................................................
Diagram Activity Olah Data Member ..................................................
Diagram Activity Olah Data Outlet .....................................................
Diagram Activity Olah Data Artikel ....................................................
Diagram Activity Olah Data Provinsi ..................................................
Diagram Activity Olah Data Kota........................................................
Diagram Activity Olah Data Ongkir ....................................................
Diagram Activity Olah Transaksi.........................................................
Model Objek Diagram .........................................................................
Struktur menu user ...............................................................................
Struktur menu admin............................................................................
Rancangan halaman home ...................................................................
Rancangan halaman about ...................................................................
ix
8
10
12
14
16
31
31
33
34
35
36
37
47
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
68
68
69
69
Gambar 4.40
Gambar 4.41
Gambar 4.42
Gambar 4.43
Gambar 4.44
Gambar 4.45
Gambar 4.56
Gambar 4.47
Gambar 4.48
Gambar 4.49
Gambar 4.50
Gambar 4.51
Gambar 4.52
Gambar 4.53
Gambar 4.54
Gambar 4.55
Gambar 4.56
Gambar 4.57
Gambar 4.58
Gambar 4.59
Gambar 4.60
Gambar 4.61
Gambar 5.1
Gambar 5.2
Gambar 5.3
Gambar 5.4
Gambar 5.5
Gambar 5.6
Gambar 5.7
Gambar 5.8
Gambar 5.9
Gambar 5.10
Gambar 5.11
Gambar 5.12
Gambar 5.13
Gambar 5.14
Gambar 5.15
Rancangan halaman artikel ..................................................................
Rancangan halaman outlet ...................................................................
Rancangan halaman detail outlet .........................................................
Rancangan halaman kategori ...............................................................
Rancangan halaman produk .................................................................
Rancangan halaman detail produk .......................................................
Rancangan halaman keranjang ............................................................
Rancangan halaman pendaftaran .........................................................
Rancangan halaman login ....................................................................
Rancangan halaman Akun....................................................................
Rancangan halaman histori ..................................................................
Rancangan halaman histori ..................................................................
Rancangan halaman login admin .........................................................
Rancangan halaman olah data kategori................................................
Rancangan halaman olah data produk .................................................
Rancangan halaman olah data member................................................
Rancangan halaman olah data outlet....................................................
Rancangan halaman olah data artikel ..................................................
Rancangan halaman olah data ongkir ..................................................
Rancangan halaman olah data provinsi................................................
Rancangan halaman olah data kota ......................................................
Rancangan halaman olah data transaksi ..............................................
Halaman Splash Screen........................................................................
Halaman Dashboard .............................................................................
Halaman About ....................................................................................
Halaman Artikel ...................................................................................
Halaman Outlet ....................................................................................
Halaman Detail Outlet .........................................................................
Halaman Kategori Produk....................................................................
Halaman Produk...................................................................................
Halaman Detail Produk ........................................................................
Halaman Keranjang .............................................................................
Halaman Pendaftaran ...........................................................................
Halaman Login.....................................................................................
Halaman Akun .....................................................................................
Halaman Histori ...................................................................................
Halaman Detail Histori ........................................................................
x
70
71
71
72
73
73
74
75
76
77
78
79
79
80
81
81
82
83
84
85
86
86
88
89
95
98
101
107
10 9
112
116
120
127
133
137
143
147
DAFTAR TABEL
Tabel 2.1
Tabel 2.2
Tabel 2.3
Tabel 2.4
Tabel 2.5
Tabel 4.1
Tabel 4.2
Tabel 4.3
Tabel 4.4
Tabel 4.5
Tabel 4.6
Tabel 4.7
Tabel 4.8
Tabel 4.9
Tabel 4.10
Tabel 4.11
Tabel 4.12
Tabel 5.1
Tabel 5.2
Notasi Diagram Use Case ........................................................................
Lanjutan Table Notasi Diagram Class .....................................................
Notasi Diagram Class ..............................................................................
Notasi Diagram Sequence ........................................................................
Notasi Diagram Activity ..........................................................................
Tabel Daftar Kelas ...................................................................................
Tabel tkategori .........................................................................................
Tabel tproduk ...........................................................................................
Tabel tpembelian ......................................................................................
Tabel tpembelian_detail ...........................................................................
Tabel tstatus_pembelian ...........................................................................
Tabel tprovinsi .........................................................................................
Tabel tkota ................................................................................................
Tabel tongkir ............................................................................................
TabelLanjutan tongkir ..............................................................................
Tabel tmember .........................................................................................
Tabel tmap ................................................................................................
Tabel kebutuhan perangkat keras (hardware) ..........................................
Tabel kebutuhan perangkat lunak (software) ...........................................
xi
11
12
14
16
28
32
65
65
65
66
66
66
66
66
67
67
67
87
87
DAFTAR MODUL PROGRAM
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
5.10
5.11
5.12
5.13
5.14
5.15
5.16
5.17
5.18
5.19
5.20
5.21
5.22
5.23
5.24
5.25
5.26
5.27
5.28
5.29
5.30
5.31
5.32
5.33
5.34
5.35
5.36
5.37
5.38
5.39
5.40
5.41
5.42
5.43
5.44
Source Code activity_splash.xml ..........................................
Source Code DashboardLayout.java .....................................
Source Code MainActivity.java ............................................
Lanjutan Source Code MainActivity.java .............................
Source Code dashboard_layout.xml .....................................
Source Code fragment_layout.xml .......................................
Source Code AboutActivity.java ...........................................
Lanjutan Source Code AboutActivity.java ...........................
Lanjutan Source Code AboutActivity.java ...........................
Source Code activity_about.xml ...........................................
Lanjutan Source Code activity_about.xml ............................
Source Code ArtikelActivity.java .........................................
Lanjutan Source Code ArtikelActivity.java ..........................
Lanjutan Source Code ArtikelActivity.java ..........................
Source Code activity_artikel.xml..........................................
Source Code OutletActivity.java ..........................................
Lanjutan Source Code OutletActivity.java ...........................
Lanjutan Source Code OutletActivity.java ...........................
Lanjutan Source Code OutletActivity.java ...........................
Lanjutan Source Code OutletActivity.java ...........................
Lanjutan Source Code OutletActivity.java ...........................
Source Code activity_outlet.xml...........................................
Source Code OutletDetail.java..............................................
Lanjutan Source Code OutletDetail.java ..............................
Source Code KategoriActivity.java ......................................
Lanjutan Source Code KategoriActivity.java .......................
Source Code activity_kategori.xml .......................................
Source Code ProductActivity.java ........................................
Lanjutan Source Code ProductActivity.java .........................
Lanjutan Source Code ProductActivity.java .........................
Source code activity_produk.xml .........................................
Source code DetailProductActivity.java ...............................
Lanjutan Source code DetailProductActivity.java ................
Lanjutan Source code DetailProductActivity.java ................
Lanjutan Source code DetailProductActivity.java ................
Source code activity_detail_produk.xml ..............................
Source code KeranjangActivity.java .....................................
Lanjutan Source code KeranjangActivity.java .....................
Lanjutan Source code KeranjangActivity.java .....................
Lanjutan Source code KeranjangActivity.java .....................
Lanjutan Source code KeranjangActivity.java .....................
Source code activity_keranjang.xml .....................................
Source code DaftarActivity.java ...........................................
Source code DaftarActivity.java ...........................................
xii
88
90
91
92
92
93
94
95
96
96
97
98
99
100
100
101
102
103
104
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
Modul Program
5.45
5.46
5.47
5.48
5.49
5.50
5.51
5.52
5.53
5.54
5.55
5.56
5.57
5.58
5.59
5.60
5.61
5.62
5.63
5.64
5.65
5.66
5.67
5.68
Lanjutan Source code DaftarActivity.java ............................
Source code activity_daftar.xml............................................
Lanjutan Source code activity_daftar.xml ............................
Lanjutan Source code activity_daftar.xml ............................
Source code LoginActivity.java ............................................
Lanjutan Source code LoginActivity.java.............................
Lanjutan Source code LoginActivity.java.............................
Source code activity_login.xml ............................................
Lanjutan Source code activity_login.xml .............................
Source code AkunActivity.java .............................................
Lanjutan Source code AkunActivity.java .............................
Lanjutan Source code AkunActivity.java .............................
Source code activity_akun.xml .............................................
Lanjutan Source code activity_akun.xml ..............................
Lanjutan Source code activity_akun.xml ..............................
Source code HistoryActivity.java .........................................
Lanjutan Source code HistoryActivity.java ..........................
Lanjutan Source code HistoryActivity.java ..........................
Source code activity_history.xml ..........................................
Source code DetailHistory.java .............................................
Lanjutan Source code DetailHistory.java .............................
Source code activity_detail_history.xml ...............................
Lanjutan Source code activity_detail_history.xml ................
Lanjutan Source code activity_detail_history.xml ................
xiii
129
130
131
132
133
134
135
135
136
137
138
139
140
141
142
144
145
146
146
148
149
149
150
151
Download