Store image on first boot and use it in second boot
Hey Koders,
Nikhil here, i have seen many question that how to store image on first boot and use it offline on second boot.
Blocks
Extension Used
AIA
use_image_offline (1).aia (47.7 KB)
APK
Download_Multiple_Image.apk (4.8 MB)
Explanation
The logic is very simple.
- First i download the image with custom name if booted is 0.
- Then copy that file in hidden folder in package specified directory.
- Instead of setting image from link i used offline location of image that is downloaded from server.
*And when all image downloaded i stored booted value to 1
Hope you like it…
Is this post helpful to you.
- Yes
- No
0 voters