An Android application that changes your home screen widget photo automatically every time you turn off or unlock your device. Compatible with a wide range of Android devices, including Samsung, Xiaomi, Huawei, and more...
- Auto-update on screen unlock
- Persistent foreground service : Uses a foreground service to ensure the widget keeps updating without being killed by the Android system.
- Dynamic 1x1 widget : Starts as a compact 1x1 tile on your home screen grid while remaining fully resizable to fit your layout.
- Android SDK : Minimum API Level 26 (Android 8.0 Oreo)
- Target SDK : API Level 34+
- Permissions :
READ_MEDIA_IMAGES/READ_EXTERNAL_STORAGE(to read your photo gallery)FOREGROUND_SERVICE,FOREGROUND_SERVICE_DATA_SYNC(to keep the receiver active)POST_NOTIFICATIONS(for the required background service notification)
- Photo picker : An interface with a custom image picker to allow users to select, manage, and remove images directly from the app.
- Automatic Boot Launch : Improve foreground service logic when device reboot.
- ...
- Install
- Download the latest
.apkdirectly to your phone from the Releases page, - Or export the
.apkfile. Go to Android Studio : Build > Generate app Bundles or APKs > Generate APKs
-
Open the
.apkfile on your phone to install it. -
Create a folder in your Gallery app named "WidgetPhotoFolder" (Note : there is currently no image picker interface, the application directly reads from this specific folder name)
-
Add the widget
- Go to your phone's HomeScreen and open the Widgets menu.
- Find UnlockPhotoWidget and drag it onto your screen. You can add multiple widgets on your homescreen.
- Grant storage/photos permissions when prompted.
- After Phone Restart: Due to background service restrictions on certain Android devices, the widget might pause updating after a device reboot. Simply open the app once or tap the widget to reactivate the background service.
- Widget Stops Updating: If the widget freezes or stops cycling photos, launching the main app once will instantly restart the background process.
If you encounter any bugs or issues, feel free to open an Issue on this repository. Your feedback is greatly appreciated :)