I want to make an app that could take an image and save it with the name as
I'm new to file saving, but you could use the Location sensor component, using location.GetLatitude and location.GetLongitude. You could then join those two together (using the Text Join block).
Yes. And, you can use the TinyDB to store the value. Also, set the
DefaultFileScope of Screen1 to Legacy.
Use this AIA file.
Location.aia (2.1 KB)
Hope this AIA file is the solution.
Works well for me.
I want the name of the file to be latitude_longitude but the name of the always shows app_inventor_xxxxx.jpg
xxxx over here are random numbers
Name of the what?
name of the image
join block to join texts.
You can use one of Taifun's extensions
(I forgot the name sorry ) to do that, this should be the name of the file:
Edit: Here's the extension: App Inventor Extensions: File | Pura Vida Apps
All about using extensions in App Inventor: App Inventor Extensions (mit.edu)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.