Skip to content

easy1one/Place-Search-Android-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Place-Search-App(Android.ver)

  • Trevel-n-Entertainment Search Android App using Google Places API

1. High Level Description

: This is the Android App version of "Place-Search-Web". The App that allows users to search for a place, look at information about it, save some as favorites and post on Twitter about the place. Once the user clicks on a button to serach for place details, the webpage should display several tabs which contain an info/ photos/ map/ route/ reviews respectively.

2. Skillsets

: Java, Android Studio : Google Maps API, Google Serch Nearby API, etc.

3. Code relationships

  1. AndroidMenifest.xml
  2. build.gradle
  3. "places_search" folder: Java Code
    • (1) Adapeters
      • CustomRecyclerAdapter.java
      • SectionsPageAdapter.java
      • CustomPhotoAdapter.java
      • CustomListAdapterReview.java
      • CustomRecyclerAdapterFav.java
      • PlaceArrayAdapter.java
      • PlacesAutoAdapter.java

    • (2) main Fragments
      • MainActivity.java
      • SearchFragment.java
      • SearchTable.java
      • FavFragment.java
      • DetailActivity.java
      • InfoFragment.java
      • PhotosFragment.java
      • MapFragment.java
      • ReviewsFragment.java

    • (3) Object Classes
      • MyPlace.java
      • Reviews.java
      • Yelp.java

  4. "res" folder : XML code mostly
    • (1) "drawable" for images
    • (2) "layout" for each fragment
    • (3) "values" > "arrays.xml" for the values of spinners

4. Demo and Details

  • Runs on Nexus 5X API 27(Android 8.1.0, API 27) on Android Studio simulator

  • For the full video: https://youtu.be/hJdGYt2Aop0

  • The result table display upto 20 places and active the Previous/Next button if there are more pages

  • A user can modify the start location with autocomplete service
    Imgur

  • Info tab contains Address/ Phone Number/ Price Level/ Rating/ Google Page/ Webpage/ Website/ Hours
    Imgur

  • Photos tab contains photos in 4 rows from the Google library

  • HTTP request by Picasso () for asynchronously loading data and images into ImageViews

  • Map tab contains Travel mode{Driving/Bicycling/Transit/Walking}

  • Google Play services for getting the current lication
    Imgur

  • Review tab displays the Google reviews and Yelp review of the place

  • For Yelp, "Business Match" and "Business Reviews" APIs
    Imgur

  • Favorite tab keeps the selected places and they could be deleted from the favorite list using HTML5 local storage
    Imgur

  • Error handlings for searching, favorite list are applied

  • A dynamic progress bar is displayed while data is being fetched

About

[Web] Travel-n-Entertainment Search for Android App on Android Studio using Google Search, Yelp APIs

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages