+ 1

Hello guys ,how can i import an image from my phones folder to sololearn project ,so as to post in background?

https://code.sololearn.com/WmCizeBa2B0j/?ref=app

13th Mar 2019, 4:20 AM
Aleko Nache
Aleko Nache - avatar
3 ответов
+ 5
If you really want to use your local pictures without uploading them to a host, however, you will have to look into your device filesystem and get the absolute path of your image, i.e. The path which specifies where your image is located on your device. This largely depends on whether or not your image is on your SD card, or internal memory. For instance, I'm running Android and my image is stored locally in: file:///storage/emulated/0/DCIM so the full path to an image myImage.jpg would be file:///storage/emulated/0/DCIM/myImage.jpg You will need some sort of file manager to identify the path of your image, or maybe your gallery app does the job.
13th Mar 2019, 4:52 AM
Fermi
Fermi - avatar
+ 3
Remember to use the search bar for frequently asked questions! :> https://www.sololearn.com/Discuss/1054246/?ref=app https://www.sololearn.com/Discuss/1089625/?ref=app
13th Mar 2019, 4:47 AM
Fermi
Fermi - avatar
+ 3
To find your local file path Open the Chrome browser, enter file:///sdcard/ Look for the picture, press and hold to copy the link address. However this local link can only allows you to run your web only your phone only, not over the internet. For global access, please update your image to online file services like Dropbox and grt the proper public shared link from there.
13th Mar 2019, 4:58 AM
Calviղ
Calviղ - avatar