LocationApp is a simple Android application that displays the user's current location by fetching location permissions and utilizing Google services.
- Fetches the user's current location.
- Displays the location on the screen.
- Utilizes Google Play Services for accurate location data.
- Handles runtime permissions for location access.
- Android Studio installed.
- Google Play Services configured.
- A device or emulator with location services enabled.
- Clone the repository:
git clone https://github.com/yourusername/LocationApp.git
- Open the project in Android Studio.
- Sync the project with Gradle files.
- Add your Google API key in the
AndroidManifest.xmlfile.
- Launch the app on your device or emulator.
- Grant location permissions when prompted.
- View your current location displayed on the screen.
The app requires the following permissions:
ACCESS_FINE_LOCATIONACCESS_COARSE_LOCATION
- Google Play Services
- Android documentation for location services.
- Open-source contributors.
- Inspiration from location-based apps.