A map that visualizes and stores the search locations of all users.
amazon Map is an Android application developed with Android Studio, Firebase Firestore, and Amazon Amplify. This guide outlines the steps to connect the Android app to Firebase and Amazon Amplify SDKs.
-
Firebase Project Setup:
- Create a project on Firebase Console.
- Follow the prompts to set up your project.
-
Android App Configuration:
- Register your Android app on Firebase Console.
- Download
google-services.jsonand place it in the app module.
-
Firebase SDK Integration:
- Add Firebase SDK dependencies to your app's build.gradle file.
-
Firestore Database:
- Set up Firestore on Firebase Console.
- Define the data structure for user searches.
-
Authentication (Optional):
- If needed, configure Firebase Authentication.
Guide to set up an Android app with Amazon Location Service.
- In Amazon Location console, create a new map.
- Provide Name and Description.
- Choose a map style and agree to Terms.
- Note the Amazon Resource Name (ARN) for your map.
- In Amazon Location console, create a new place index.
- Add Name and Description.
- Choose a data provider and storage option.
- Agree to Terms and note the ARN for your place index.
- Go to Amazon Cognito console.
- Choose Manage Identity Pools and create a new pool.
- Enable access to unauthenticated identities.
- Configure IAM roles.
- Note down the IdentityPoolId.
- Under View Details, enter a role name.
- Edit the policy document to add policies.
- Allow to create your identity pools.
For detailed documentation:
- Firebase Documentation: https://firebase.google.com/docs
- Amplify Documentation: https://docs.amplify.aws/
- Realtime data
- Light mode
Client: Android Studio
Server: Amazon Amplify, Firebase
- userId: String
- birthDate: Timestamp
- userId: Reference(users)
- searchWord: String
- latitude: Double
- longitude: Double