Project 3


For my project 3, I was gonna do something with tilting, but I will be doing GPS for special go to spots in different states, but for the sake of time and nearing the end of semester, I will only be using parts of california. Image down below is how the app should look like.


application design

How will the app work:

  1. Select state
  2. There will be a list of places within the selected fields
  3. screen will display all the hidden vacation spots that's a must see
  4. After choosing specific place, will be directed to the gps

The GPS will be like the traditional GPS system, it will show where you are, how far away you are from the destination and your movement, which in this case I will be using the ACCELEROMETER feature within andriod studio



GPS System: Background

The gps has three sources of location data:

  1. GPS satellite location
  2. satellite location
  3. Cell tower
  4. cell tower
  5. WIFI location
  6. application design
To use all the location requesting, we can use the class FusedLocationProvider , this will allow us to put all the features for the gps into one to make the GPS as accurate and energy efficient as possible. Along with FusedLocationProvider, we will use its data object, LocationRequest in order to use these features, I needed to implement com.google.android.gms:play-services-location:18.0.0 into the build.gradle. which I got from https://developers.google.com/android/guides/setup It gives you different types of APIs and ways top set up the services. The way to use this service, we had to: