Skip to content
/ cuedes Public

An Android app which gives a cue (alarm) to the users that they are about to reach their destination.

License

Notifications You must be signed in to change notification settings

Kalaiz/cuedes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CueDes

Android CI Status

Table of Content:

📜 Description:

A simple Android App which rings an alarm when one is about to reach a destination.

A slight peek at the progress so far.

Note: The Video to GIF convertor made the GIF skip the video frames (look laggy).

🛠️ Tools Used:

  • ViewBinding, LiveData, DataStore, Room, ViewModel, FragmentStateAdapter, Foreground and Bound Service, Property Animation Framework and Preference library.
  • Views: Motion, Constraint, Linear and Frame Layouts, Spinner, RecyclerView, SearchView, TabLayout BottomNavigationView, ViewPager2, SwitchCompatand OnBoardSupportFragment.
  • Google Maps SDK (FusedLocationProvider API, Geofencing API)
  • Timber
  • TSnackbar
  • Kotlin: Scope functions, Flow, Co-routines

✍️ Reflection

🔖 References:

  • Learned a gradle way to hide API key from this google codelab.
  • Google Map ApiDemos repository by Google; Although some parts were obsolete, it gave me gotchas on the usage of the API alongside with ViewGroups such as RecyclerView.
  • XML style for making BottomSheetDialog have rounded corners is adapted from this SO answer.
  • Prevented the dismissal of BottomSheetDialogFragment upon touching outside/pulling it down via this method.
  • Used a Custom ViewPager2 Transition via this answer.
  • Expanding BottomSheetDialogFragment to a custom height was done with the help of this answer
  • The code for finding LatLng bounds of the area of interest from this answer is used.
  • The method of persisting a single instance of the repository w/o singleton pattern is based on this codelab.
  • Flaticon for a few awesome icons.

⚙️ Installation:

Note: It will be easier to do the following via a phone.

  1. Install the APK.
  2. Allow App Installations from Unknown Sources, if requested.

About

An Android app which gives a cue (alarm) to the users that they are about to reach their destination.

Resources

License

Stars

Watchers

Forks

Languages