A simple Android application designed to help elderly people restore their phone settings with a single tap.
Most of the codebase was developed with assistance from Claude Code.
GrannyAid is designed for elderly users who may accidentally change critical phone settings and have difficulty navigating the phone's settings menu to restore them. With a single tap on the large "FIX IT" button, the app will automatically restore all settings to their predefined values.
- Simple, large-text interface designed for elderly users
- Large, prominent "FIX IT" button
- Settings for:
- Airplane mode (on/off)
- Bluetooth (on/off)
- Wi-Fi (on/off)
- Mobile network (on/off)
- Sound volume (0-100%)
- Earpiece volume (0-100%)
- Easy settings configuration
- Initial Setup: A caregiver or family member sets up the app by configuring the desired settings (e.g., Wi-Fi should be ON, Airplane Mode should be OFF, etc.).
- Daily Use: If the elderly person accidentally changes settings on their phone and experiences issues, they simply open the GrannyAid app and tap the large "FIX IT" button.
- Automatic Fix: The app automatically restores all settings to their predefined values.
- Android 7.0 (Nougat) or higher
- System permissions for modifying settings
Android restricts direct modification of certain system settings (especially Airplane Mode, Wi-Fi, and Mobile Network) for security reasons. These restrictions vary by Android version:
- Android 7-9: Some settings can be changed with appropriate permissions
- Android 10+: Direct programmatic changes to Airplane Mode, Wi-Fi, and Mobile Network are severely restricted
To work around these limitations, GrannyAid:
- Attempts direct settings changes where permitted
- When direct changes are restricted, the app navigates the user to the appropriate settings screen with clear instructions
This approach ensures the app remains useful across all Android versions while respecting system security boundaries.
-
Prerequisites:
- Android Studio (Meerkat 2024.3.1+ recommended)
- Java 11 or higher
- Android SDK Platform 24 (Android 7.0) or higher
-
Clone and open:
git clone https://github.com/madcat1991/grannyaid.gitOpen in Android Studio: File > Open > select the project folder
-
Build and run:
- Connect an Android device or set up an emulator (Tools > Device Manager)
- Click the green "Run" button (or Shift+F10 / Ctrl+R)
-
Generate APK for distribution:
- Build > Generate Signed Bundle/APK > APK
- Follow the signing process to create the release APK
- Install on the target device by enabling "Install from unknown sources"
The app requires special permissions to modify system settings. When prompted, please grant these permissions for the app to function correctly.
-
Gradle/Java compatibility issues:
- Java 11+ required (check with
java -version) - For Java 11: Gradle 8.0+ recommended
- Fix: In gradle.properties, add
org.gradle.java.installations.auto-download=true
- Java 11+ required (check with
-
Sync or build failures:
- Try File > Invalidate Caches / Restart
- Build > Clean Project, then Build > Rebuild Project
- Check SDK Manager for missing components
-
AndroidX issues:
- Ensure
android.useAndroidX=trueis in gradle.properties
- Ensure
-
Settings not changing:
- Grant all required permissions in Settings > Apps > GrannyAid > Permissions
- Some settings require system privileges or aren't changeable on newer Android versions
-
App crashes:
- Verify Android 7.0+ (Nougat)
- Check logcat for detailed errors
-
Device-specific limitations:
- Samsung, Xiaomi, and other manufacturers may have custom restrictions on settings access