├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── menu.png │ │ │ │ ├── kuliner.png │ │ │ │ ├── password.png │ │ │ │ ├── username.png │ │ │ │ ├── side_nav_bar.xml │ │ │ │ ├── rounded_edittext.xml │ │ │ │ ├── merah.xml │ │ │ │ └── btn_hidupkan.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_place_black_48dp.png │ │ │ │ ├── ic_store_black_24dp.png │ │ │ │ ├── ic_cancel_black_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_search_white_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_local_dining_black_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_48dp.png │ │ │ │ └── ic_store_mall_directory_white_24dp.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_place_black_48dp.png │ │ │ │ ├── ic_store_black_24dp.png │ │ │ │ ├── ic_cancel_black_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_search_white_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_local_dining_black_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_48dp.png │ │ │ │ └── ic_store_mall_directory_white_24dp.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_cancel_black_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_place_black_48dp.png │ │ │ │ ├── ic_search_white_24dp.png │ │ │ │ ├── ic_store_black_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_local_dining_black_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_48dp.png │ │ │ │ └── ic_store_mall_directory_white_24dp.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_place_black_48dp.png │ │ │ │ ├── ic_store_black_24dp.png │ │ │ │ ├── ic_cancel_black_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_search_white_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_local_dining_black_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_48dp.png │ │ │ │ └── ic_store_mall_directory_white_24dp.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_cancel_black_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_place_black_48dp.png │ │ │ │ ├── ic_search_white_24dp.png │ │ │ │ ├── ic_store_black_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_local_dining_black_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_48dp.png │ │ │ │ └── ic_store_mall_directory_white_24dp.png │ │ │ ├── layout │ │ │ │ ├── fragment_logout.xml │ │ │ │ ├── fragment_my.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── content_main_admin.xml │ │ │ │ ├── activity_main_admin.xml │ │ │ │ ├── app_bar_main_admin.xml │ │ │ │ ├── fragment_menu.xml │ │ │ │ ├── nav_header_main_admin.xml │ │ │ │ ├── item_barang.xml │ │ │ │ ├── item_barang_editor.xml │ │ │ │ ├── activity_maps.xml │ │ │ │ ├── item_pencarian.xml │ │ │ │ ├── activity_detail.xml │ │ │ │ ├── fragment_menu_tambah.xml │ │ │ │ ├── activity_login.xml │ │ │ │ ├── fragment_menu_edit.xml │ │ │ │ ├── fragment_user.xml │ │ │ │ ├── fragment_password.xml │ │ │ │ ├── fragment_kuliner.xml │ │ │ │ └── activity_daftar.xml │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── drawables.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── menu │ │ │ │ ├── menu_search.xml │ │ │ │ └── activity_main_admin_drawer.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── skripsi │ │ │ │ └── anna │ │ │ │ ├── model │ │ │ │ ├── ModelMenu.java │ │ │ │ └── ModelPencarian.java │ │ │ │ ├── util │ │ │ │ └── LruBitmapCache.java │ │ │ │ ├── Constant.java │ │ │ │ ├── adapter │ │ │ │ ├── Barang.java │ │ │ │ ├── BarangEditor.java │ │ │ │ └── Pencarian.java │ │ │ │ ├── app │ │ │ │ └── AppController.java │ │ │ │ ├── Logout.java │ │ │ │ ├── MenuTambah.java │ │ │ │ ├── SessionManager.java │ │ │ │ ├── DataParser.java │ │ │ │ ├── Login.java │ │ │ │ ├── Detail.java │ │ │ │ ├── Daftar.java │ │ │ │ ├── MainAdmin.java │ │ │ │ ├── Menu.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── Password.java │ │ │ │ └── User.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── skripsi │ │ │ └── anna │ │ │ └── ExampleUnitTest.java │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── skripsi │ │ │ └── anna │ │ │ └── ExampleInstrumentedTest.java │ ├── release │ │ └── res │ │ │ └── values │ │ │ └── google_maps_api.xml │ └── debug │ │ └── res │ │ └── values │ │ └── google_maps_api.xml ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── .idea ├── copyright │ └── profiles_settings.xml ├── dictionaries │ └── gandhi.xml ├── encodings.xml ├── inspectionProfiles │ ├── profiles_settings.xml │ └── Project_Default.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/dictionaries/gandhi.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/drawable/menu.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/kuliner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/drawable/kuliner.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/drawable/password.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/username.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/drawable/username.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_place_black_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_place_black_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_store_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_store_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_place_black_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_place_black_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_store_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_store_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_cancel_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_cancel_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_search_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_search_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_cancel_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_cancel_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_search_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_search_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_cancel_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_cancel_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_place_black_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_place_black_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_search_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_search_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_store_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_store_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_place_black_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_place_black_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_store_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_store_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_cancel_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_cancel_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_search_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_search_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_cancel_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_cancel_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_place_black_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_place_black_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_search_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_search_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_store_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_store_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_local_dining_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_local_dining_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_local_dining_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_local_dining_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_local_dining_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_local_dining_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_local_dining_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_local_dining_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_local_dining_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_local_dining_black_24dp.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_add_circle_outline_white_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_add_circle_outline_white_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_store_mall_directory_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-hdpi/ic_store_mall_directory_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_add_circle_outline_white_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_add_circle_outline_white_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_store_mall_directory_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-mdpi/ic_store_mall_directory_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_add_circle_outline_white_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_add_circle_outline_white_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_add_circle_outline_white_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_add_circle_outline_white_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_store_mall_directory_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xhdpi/ic_store_mall_directory_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_store_mall_directory_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxhdpi/ic_store_mall_directory_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_add_circle_outline_white_48dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_add_circle_outline_white_48dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_store_mall_directory_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/find_kuliner/master/app/src/main/res/mipmap-xxxhdpi/ic_store_mall_directory_white_24dp.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Jun 10 10:26:55 WIB 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip 7 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/side_nav_bar.xml: -------------------------------------------------------------------------------- 1 | 3 | 9 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_logout.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 160dp 7 | 16dp 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | #d9d9d9 7 | #2999e9 8 | #ffffff 9 | #000000 10 | #ff004d 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_my.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/test/java/com/skripsi/anna/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/rounded_edittext.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values/drawables.xml: -------------------------------------------------------------------------------- 1 | 2 | @android:drawable/ic_menu_camera 3 | @android:drawable/ic_menu_gallery 4 | @android:drawable/ic_menu_slideshow 5 | @android:drawable/ic_menu_manage 6 | @android:drawable/ic_menu_share 7 | @android:drawable/ic_menu_send 8 | 9 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_search.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 12 | 18 | 19 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/skripsi/anna/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.skripsi.anna", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/release/res/values/google_maps_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | YOUR_KEY_HERE 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/java/com/skripsi/anna/model/ModelMenu.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna.model; 2 | 3 | /** 4 | * Created by gandhi on 6/11/17. 5 | */ 6 | 7 | public class ModelMenu { 8 | private String IdMenu,NamaMenu,HargaMenu; 9 | 10 | public ModelMenu(){} 11 | public ModelMenu(String IdMenu,String NamaMenu,String HargaMenu){ 12 | this.IdMenu = IdMenu; 13 | this.NamaMenu = NamaMenu; 14 | this.HargaMenu = HargaMenu; 15 | } 16 | public String getIdMenu() { 17 | return IdMenu; 18 | } 19 | 20 | public void setIdMenu(String idMenu) { 21 | IdMenu = idMenu; 22 | } 23 | 24 | public String getNamaMenu() { 25 | return NamaMenu; 26 | } 27 | 28 | public void setNamaMenu(String namaMenu) { 29 | NamaMenu = namaMenu; 30 | } 31 | 32 | public String getHargaMenu() { 33 | return HargaMenu; 34 | } 35 | 36 | public void setHargaMenu(String hargaMenu) { 37 | HargaMenu = hargaMenu; 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /home/gandhi/Android/Sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/content_main_admin.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/merah.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_hidupkan.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/java/com/skripsi/anna/util/LruBitmapCache.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna.util; 2 | 3 | import android.graphics.Bitmap; 4 | import android.support.v4.util.LruCache; 5 | 6 | import com.android.volley.toolbox.ImageLoader.ImageCache; 7 | 8 | public class LruBitmapCache extends LruCache implements 9 | ImageCache { 10 | public static int getDefaultLruCacheSize() { 11 | final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); 12 | final int cacheSize = maxMemory / 8; 13 | 14 | return cacheSize; 15 | } 16 | 17 | public LruBitmapCache() { 18 | this(getDefaultLruCacheSize()); 19 | } 20 | 21 | public LruBitmapCache(int sizeInKiloBytes) { 22 | super(sizeInKiloBytes); 23 | } 24 | 25 | @Override 26 | protected int sizeOf(String key, Bitmap value) { 27 | return value.getRowBytes() * value.getHeight() / 1024; 28 | } 29 | 30 | @Override 31 | public Bitmap getBitmap(String url) { 32 | return get(url); 33 | } 34 | 35 | @Override 36 | public void putBitmap(String url, Bitmap bitmap) { 37 | put(url, bitmap); 38 | } 39 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main_admin.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 15 | 16 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/debug/res/values/google_maps_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 23 | AIzaSyBvr85ICBPfPO_-UNn91MrhedoQ2FrjXXc 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/menu/activity_main_admin_drawer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 12 | 16 | 17 | 18 | 19 | 23 | 27 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Kuliner 3 | Cari .. 4 | Open navigation drawer 5 | Close navigation drawer 6 | 7 | Settings 8 | Sign in 9 | 10 | 11 | Email 12 | Password (optional) 13 | Sign in or register 14 | Sign in 15 | This email address is invalid 16 | This password is too short 17 | This password is incorrect 18 | This field is required 19 | "Contacts permissions are needed for providing email 20 | completions." 21 | 22 | Map 23 | 24 | 25 | Hello blank fragment 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/app_bar_main_admin.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_menu.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 14 | 15 | 18 | 19 | 24 | 25 | 26 | 27 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/res/layout/nav_header_main_admin.xml: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 22 | 23 | 24 | 31 | 32 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 25 5 | buildToolsVersion "25.0.2" 6 | defaultConfig { 7 | applicationId "com.skripsi.anna" 8 | minSdkVersion 15 9 | targetSdkVersion 25 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 25 | exclude group: 'com.android.support', module: 'support-annotations' 26 | }) 27 | 28 | 29 | compile 'com.android.support:appcompat-v7:25.3.1' 30 | compile 'com.android.support:support-core-utils:25.3.1' 31 | compile 'com.android.support:recyclerview-v7:25.3.1' 32 | compile 'com.android.support:cardview-v7:25.3.1' 33 | compile 'com.android.support:design:25.3.1' 34 | compile 'com.android.support.constraint:constraint-layout:1.0.2' 35 | compile 'com.google.android.gms:play-services-maps:10.2.6' 36 | compile 'com.google.android.gms:play-services-location:10.2.6' 37 | compile 'de.hdodenhof:circleimageview:2.1.0' 38 | compile 'com.android.support:support-v4:25.3.1' 39 | compile 'com.android.volley:volley:1.0.0' 40 | compile 'net.gotev:uploadservice:2.1' 41 | compile 'com.github.bumptech.glide:glide:3.7.0' 42 | testCompile 'junit:junit:4.12' 43 | } 44 | -------------------------------------------------------------------------------- /app/src/main/java/com/skripsi/anna/Constant.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna; 2 | 3 | /** 4 | * Created by gandhi on 5/16/17. 5 | */ 6 | 7 | public class Constant { 8 | public static final String BASE = "http://kuliner-pku.com/index.php/"; 9 | public static final String Login = BASE + "Login?login=y&"; // kirim email dan password untuk login : method get 10 | public static final String CekLogin = BASE + "Login?cek_login=y&"; // cek login berdasarkan data pada shared pref 11 | public static final String Ping = BASE + "Login?ping=y"; // cek jaringan 12 | public static final String Daftar = BASE + "Login/"; // gunakan method post untuk mendaftar, nama_user,email_user,hp_user,password_user 13 | public static final String Update = BASE + "Login/"; // gunakan method put, untuk merubah password ataupun data pribadi 14 | public static final String GetUser = BASE + "Login?id_user="; // gunakan method get untuk mendapatkan data user berdasarkan id user 15 | 16 | public static final String Kuliner = BASE + "Kuliner/"; // gunakan method post untuk menambah menu / Kuliner 17 | public static final String CariKuliner = BASE + "Kuliner?keyword="; // cari berdasarkan keyword 18 | public static final String GetById = BASE + "Kuliner?id_kuliner="; // dapatkan kuliner berdasarkan id 19 | public static final String GetByIdUser = BASE + "Kuliner?id_user="; // dapatkan kuliner berdasarkan id user / pemilik 20 | public static final String GetMenu = BASE + "Kuliner?Mid_kuliner="; // dapatkan menu berdasarkan id kuliner 21 | public static final String GetMenuById = BASE + "Kuliner?id_menu="; // dapatkan satu menu berdasarkan id nya 22 | public static final String Image = BASE +"../img/"; 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_barang.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 19 | 20 | 29 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_barang_editor.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 19 | 20 | 29 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/src/main/java/com/skripsi/anna/adapter/Barang.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna.adapter; 2 | 3 | import android.support.v7.widget.RecyclerView; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | import android.widget.TextView; 8 | 9 | import com.skripsi.anna.R; 10 | import com.skripsi.anna.model.ModelMenu; 11 | 12 | import java.util.List; 13 | 14 | /** 15 | * Created by gandhi on 6/11/17. 16 | */ 17 | 18 | public class Barang extends RecyclerView.Adapter { 19 | 20 | private List modelMenus; 21 | 22 | public Barang(List modelMenus){ 23 | this.modelMenus = modelMenus; 24 | } 25 | public class ViewHolder extends RecyclerView.ViewHolder { 26 | public TextView namaBarang,hargaBarang; 27 | public ViewHolder(View v) { 28 | super(v); 29 | namaBarang = (TextView) v.findViewById(R.id.nama_barang); 30 | hargaBarang = (TextView) v.findViewById(R.id.harga); 31 | } 32 | } 33 | @Override 34 | public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 35 | View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_barang, parent, false); 36 | ViewHolder vh = new ViewHolder(v); 37 | return vh; 38 | } 39 | 40 | @Override 41 | public void onBindViewHolder(ViewHolder holder, int position) { 42 | ModelMenu modelMenu = modelMenus.get(position); 43 | holder.hargaBarang.setText(modelMenu.getHargaMenu()); 44 | holder.namaBarang.setText(modelMenu.getNamaMenu()); 45 | 46 | } 47 | 48 | @Override 49 | public int getItemCount() { 50 | return modelMenus.size(); 51 | } 52 | 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /app/src/main/java/com/skripsi/anna/app/AppController.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna.app; 2 | 3 | import android.app.Application; 4 | import android.text.TextUtils; 5 | 6 | import com.android.volley.Request; 7 | import com.android.volley.RequestQueue; 8 | import com.android.volley.toolbox.ImageLoader; 9 | import com.android.volley.toolbox.Volley; 10 | import com.skripsi.anna.util.LruBitmapCache; 11 | 12 | public class AppController extends Application { 13 | 14 | public static final String TAG = AppController.class.getSimpleName(); 15 | 16 | private RequestQueue mRequestQueue; 17 | private ImageLoader mImageLoader; 18 | 19 | private static AppController mInstance; 20 | 21 | @Override 22 | public void onCreate() { 23 | super.onCreate(); 24 | mInstance = this; 25 | } 26 | 27 | public static synchronized AppController getInstance() { 28 | return mInstance; 29 | } 30 | 31 | public RequestQueue getRequestQueue() { 32 | if (mRequestQueue == null) { 33 | mRequestQueue = Volley.newRequestQueue(getApplicationContext()); 34 | } 35 | return mRequestQueue; 36 | } 37 | 38 | public ImageLoader getImageLoader() { 39 | getRequestQueue(); 40 | if (mImageLoader == null) { 41 | mImageLoader = new ImageLoader(this.mRequestQueue, 42 | new LruBitmapCache()); 43 | } 44 | return this.mImageLoader; 45 | } 46 | 47 | public void addToRequestQueue(Request req, String tag) { 48 | req.setTag(TextUtils.isEmpty(tag) ? TAG : tag); 49 | getRequestQueue().add(req); 50 | } 51 | 52 | public void addToRequestQueue(Request req) { 53 | req.setTag(TAG); 54 | getRequestQueue().add(req); 55 | } 56 | 57 | public void cancelPendingRequests(Object tag) { 58 | if (mRequestQueue != null) { 59 | mRequestQueue.cancelAll(tag); 60 | } 61 | } 62 | } -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 | 31 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /app/src/main/java/com/skripsi/anna/model/ModelPencarian.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna.model; 2 | 3 | /** 4 | * Created by gandhi on 6/11/17. 5 | */ 6 | 7 | public class ModelPencarian { 8 | 9 | private String NamaKuliner,FotoKuliner,AlamatKuliner,KategoriKuliner,IdKuliner,LatitudeKuliner,LongitudeKuliner; 10 | 11 | public ModelPencarian(String NamaKuliner, String FotoKuliner, String AlamatKuliner, String KategoriKuliner, String IdKuliner, String LatitudeKuliner, String LongitudeKuliner){ 12 | this.NamaKuliner = NamaKuliner; 13 | this.FotoKuliner = FotoKuliner; 14 | this.AlamatKuliner = AlamatKuliner; 15 | this.KategoriKuliner =KategoriKuliner; 16 | this.IdKuliner =IdKuliner; 17 | this.LatitudeKuliner = LatitudeKuliner; 18 | this.LongitudeKuliner = LongitudeKuliner; 19 | } 20 | 21 | public ModelPencarian() { 22 | 23 | } 24 | 25 | public String getNamaKuliner() { 26 | return NamaKuliner; 27 | } 28 | 29 | public void setNamaKuliner(String namaKuliner) { 30 | NamaKuliner = namaKuliner; 31 | } 32 | 33 | public String getFotoKuliner() { 34 | return FotoKuliner; 35 | } 36 | 37 | public void setFotoKuliner(String fotoKuliner) { 38 | FotoKuliner = fotoKuliner; 39 | } 40 | 41 | public String getAlamatKuliner() { 42 | return AlamatKuliner; 43 | } 44 | 45 | public void setAlamatKuliner(String alamatKuliner) { 46 | AlamatKuliner = alamatKuliner; 47 | } 48 | 49 | public String getKategoriKuliner() { 50 | return KategoriKuliner; 51 | } 52 | 53 | public void setKategoriKuliner(String kategoriKuliner) { 54 | KategoriKuliner = kategoriKuliner; 55 | } 56 | 57 | public String getIdKuliner() { 58 | return IdKuliner; 59 | } 60 | 61 | public void setIdKuliner(String idKuliner) { 62 | IdKuliner = idKuliner; 63 | } 64 | 65 | public String getLatitudeKuliner() { 66 | return LatitudeKuliner; 67 | } 68 | 69 | public void setLatitudeKuliner(String latitudeKuliner) { 70 | LatitudeKuliner = latitudeKuliner; 71 | } 72 | 73 | public String getLongitudeKuliner() { 74 | return LongitudeKuliner; 75 | } 76 | 77 | public void setLongitudeKuliner(String longitudeKuliner) { 78 | LongitudeKuliner = longitudeKuliner; 79 | } 80 | 81 | 82 | } 83 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 14 | 19 | 20 | 27 | 28 | 32 | 33 | 42 | 43 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_pencarian.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 20 | 21 | 27 | 28 | 40 | 41 | 50 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 24 | 28 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 45 | 48 | 49 | 52 | 53 | 57 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /app/src/main/java/com/skripsi/anna/adapter/BarangEditor.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna.adapter; 2 | 3 | import android.os.Bundle; 4 | import android.support.v4.app.FragmentController; 5 | import android.support.v7.app.AppCompatActivity; 6 | import android.support.v7.widget.RecyclerView; 7 | import android.view.LayoutInflater; 8 | import android.view.View; 9 | import android.view.ViewGroup; 10 | import android.widget.TextView; 11 | 12 | import com.skripsi.anna.MenuEdit; 13 | import com.skripsi.anna.R; 14 | import com.skripsi.anna.model.ModelMenu; 15 | 16 | import java.util.List; 17 | 18 | /** 19 | * Created by gandhi on 6/11/17. 20 | */ 21 | 22 | public class BarangEditor extends RecyclerView.Adapter { 23 | 24 | private List modelMenus; 25 | 26 | public BarangEditor(List modelMenus){ 27 | this.modelMenus = modelMenus; 28 | } 29 | 30 | public class ViewHolder extends RecyclerView.ViewHolder { 31 | public TextView namaBarang,hargaBarang; 32 | public ViewHolder(View v) { 33 | super(v); 34 | namaBarang = (TextView) v.findViewById(R.id.nama_barang); 35 | hargaBarang = (TextView) v.findViewById(R.id.harga); 36 | v.setOnClickListener(new View.OnClickListener() { 37 | public FragmentController appCompatActivity; 38 | 39 | @Override 40 | public void onClick(View v) { 41 | int position = getAdapterPosition(); 42 | ModelMenu modelMenu = modelMenus.get(position); 43 | MenuEdit menuEdit = new MenuEdit(); 44 | Bundle bundle = new Bundle(); 45 | bundle.putString("idMenu",modelMenu.getIdMenu()); 46 | bundle.putString("namaMenu",modelMenu.getNamaMenu()); 47 | bundle.putString("hargaMenu",modelMenu.getHargaMenu()); 48 | menuEdit.setArguments(bundle); 49 | AppCompatActivity activity = (AppCompatActivity) v.getContext(); 50 | activity. 51 | getSupportFragmentManager(). 52 | beginTransaction(). 53 | replace(R.id.flContent, menuEdit). 54 | addToBackStack(null). 55 | commit(); 56 | } 57 | }); 58 | } 59 | } 60 | @Override 61 | public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 62 | View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_barang_editor, parent, false); 63 | ViewHolder vh = new ViewHolder(v); 64 | return vh; 65 | } 66 | @Override 67 | public void onBindViewHolder(ViewHolder holder, int position) { 68 | ModelMenu modelMenu = modelMenus.get(position); 69 | holder.hargaBarang.setText(modelMenu.getHargaMenu()); 70 | holder.namaBarang.setText(modelMenu.getNamaMenu()); 71 | 72 | } 73 | 74 | @Override 75 | public int getItemCount() { 76 | return modelMenus.size(); 77 | } 78 | 79 | 80 | 81 | } 82 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 19 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | Android 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 62 | 63 | $USER_HOME$/.subversion 64 | 65 | 66 | 67 | 68 | 69 | 1.8 70 | 71 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 87 | 88 | 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /app/src/main/java/com/skripsi/anna/adapter/Pencarian.java: -------------------------------------------------------------------------------- 1 | package com.skripsi.anna.adapter; 2 | 3 | import android.content.Intent; 4 | import android.support.v7.widget.RecyclerView; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.widget.TextView; 9 | 10 | import com.android.volley.toolbox.ImageLoader; 11 | import com.android.volley.toolbox.NetworkImageView; 12 | import com.skripsi.anna.Constant; 13 | import com.skripsi.anna.Detail; 14 | import com.skripsi.anna.R; 15 | import com.skripsi.anna.app.AppController; 16 | import com.skripsi.anna.model.ModelPencarian; 17 | 18 | import java.util.List; 19 | 20 | /** 21 | * Created by gandhi on 6/11/17. 22 | */ 23 | 24 | public class Pencarian extends RecyclerView.Adapter { 25 | private List pencarianList; 26 | ImageLoader imageLoader = AppController.getInstance().getImageLoader(); 27 | 28 | public Pencarian(List pencarianList){this.pencarianList = pencarianList;} 29 | 30 | public class ViewHolder extends RecyclerView.ViewHolder { 31 | public TextView namaKuliner; 32 | public TextView alamatKuliner; 33 | public TextView kategoriKuliner; 34 | public NetworkImageView imageKuliner; 35 | 36 | public ViewHolder(View itemView) { 37 | super(itemView); 38 | imageKuliner = (NetworkImageView)itemView.findViewById(R.id.image_kuliner); 39 | namaKuliner = (TextView) itemView.findViewById(R.id.nama_kuliner); 40 | alamatKuliner = (TextView) itemView.findViewById(R.id.alamat_kuliner); 41 | kategoriKuliner = (TextView) itemView.findViewById(R.id.kategori_kuliner); 42 | itemView.setOnClickListener(new View.OnClickListener() { 43 | @Override 44 | public void onClick(View v) { 45 | int position = getAdapterPosition(); 46 | 47 | ModelPencarian modelPencarian = pencarianList.get(position); 48 | Intent intent = new Intent(v.getContext(), Detail.class); 49 | intent.putExtra("id_kuliner",modelPencarian.getIdKuliner()); 50 | intent.putExtra("nama_kuliner",modelPencarian.getNamaKuliner()); 51 | intent.putExtra("gambar_kuliner",modelPencarian.getFotoKuliner()); 52 | intent.putExtra("kategori_kuliner",modelPencarian.getKategoriKuliner()); 53 | intent.putExtra("alamat_kuliner",modelPencarian.getAlamatKuliner()); 54 | intent.putExtra("latitude",modelPencarian.getLatitudeKuliner()); 55 | intent.putExtra("longitude",modelPencarian.getLongitudeKuliner()); 56 | v.getContext().startActivity(intent); 57 | } 58 | }); 59 | } 60 | } 61 | @Override 62 | public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 63 | View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_pencarian, parent, false); 64 | ViewHolder vh = new ViewHolder(v); 65 | return vh; 66 | } 67 | 68 | @Override 69 | public void onBindViewHolder(ViewHolder holder, int position) { 70 | ModelPencarian item = pencarianList.get(position); 71 | if (imageLoader == null) imageLoader = AppController.getInstance().getImageLoader(); 72 | holder.imageKuliner.setImageUrl(Constant.Image+item.getFotoKuliner(),imageLoader); 73 | holder.namaKuliner.setText(item.getNamaKuliner()); 74 | holder.alamatKuliner.setText(item.getAlamatKuliner()); 75 | holder.kategoriKuliner.setText(item.getKategoriKuliner()); 76 | } 77 | 78 | @Override 79 | public int getItemCount() { 80 | return this.pencarianList.size(); 81 | } 82 | 83 | 84 | } 85 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_detail.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 20 | 21 | 28 | 29 | 30 | 31 | 42 | 43 | 51 | 59 | 60 | 61 | 62 | 69 | 70 | 73 |