Store image offline for second boot

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

Annotation 2020-05-11 184624

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 :smiling_face_with_three_hearts: :smiling_face_with_three_hearts:
  • No :face_with_thermometer: :face_with_thermometer:

0 voters

6 Likes

Good job :+1:

1 Like

Thank you very much.

1 Like

thank you for using the file extension App Inventor Extensions: File | Pura Vida Apps
a small tip: your blocks get more readable, if you use the boolean values true or false rather than 1 or 0… also you can save some blocks…

Unbenannt

Taifun

1 Like

ok from next time i’ll remember about this
i used that so that beginner can understand easily.

thanks to you to make such extension