Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android, how to choose save file location?

is there any solution how to choose the saving files location? maybe with the original file browser, to choose the destination?

thank you!

like image 334
David Avatar asked Aug 07 '12 14:08

David


People also ask

How do I save a file to a specific location?

Select File > Save As. Select a place to save the file, or select Browse and go to the location where you want to save the file. Enter a name for the document. Select Save as type and choose the file format you want to use.

How do I edit Android save files?

To edit a document on Android:Go to the file you want and tap it to open it. Select the app you want to use to edit it. Make your edits. When you're finished, tap the menu button again and select File > Save (or click Back to be prompted to save).

Can I change the default save location on my tablet?

Can I change the default save location on my tablet? Download the Forums for Android™ app! Open "Browser." Tap "Settings." Tap "Advanced" and select Default Storage to change it to external storage instead of internal storage.

How do I find a saved location on Google Maps?

Select a location on Google Maps. From the address description, select the Save icon. To find the location again, tap Saved on mobile or click Your Places on Desktop. First, open the Google Maps app on your iPhone or Android phone. Then, select an address you’d like to save.

How to change download location on Android?

How to Change Download and App Locations on Android 1 The Basics. Naturally, the first thing you’ll want to try is the simplest option, which is to use Android’s built-in feature to move apps over from your internal storage to ... 2 Change Download Settings Within the Apps. ... 3 The Nuclear Option. ... 4 Conclusion. ...

How do I change the default storage on my Android™ device?

Download the Forums for Android™ app! Open "Browser." Tap "Settings." Tap "Advanced" and select Default Storage to change it to external storage instead of internal storage.


2 Answers

All you need is Android Directory Picker

like image 90
Basbous Avatar answered Sep 21 '22 15:09

Basbous


Better to save files with your app namespace:

String extStorage = Environment.getExternalStorageState();
path = extStorage+"/Android/data/com.mydomain.myapp/";

It will be deleted when app gets uninstalled.

Here is actually everything about data storing.
http://developer.android.com/guide/topics/data/data-storage.html

From the above link:

If you're using API Level 7 or lower, use getExternalStorageDirectory(), to open a File representing the root of the external storage. You should then write your data in the following directory:

/Android/data/<package_name>/files/
like image 30
Maxim Avatar answered Sep 20 '22 15:09

Maxim