Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Android 2.3 device (Samsung Galaxy Y Duos, S6102) and want all files that I receive via bluetooth to save to my SD card.

How can I do that?

share|improve this question
up vote 7 down vote accepted

The default location is already on your external SD card in the /bluetooth folder.

It's not possible to configure it up to Android 4.1 Jelly Bean:
With the included stock bluetooth receiver you cannot change the location as of now, because it's hard coded. You need a 3rd party app like Bluetooth file transfer which might be configurable here.

In ./packages/apps/Bluetooth/src/com/android/bluetooth/opp/ you can see it.

Constants.java defines this:

public static final String DEFAULT_STORE_SUBDIR = "/bluetooth";

BluetoothOppReceiveFileInfo.java has no switch for the location:

File receiveFile = new File(uniqueFileName);
if (sDesiredStoragePath == null) {
    sDesiredStoragePath = Environment.getExternalStorageDirectory().getPath() +
        Constants.DEFAULT_STORE_SUBDIR;
}
share|improve this answer
1  
The Bluetooth file transfer app works well. You can change your home folder in settings and to get higher up the folder tree (to get to your ext SD) you need to use the back button (took me a while to figure that one out). You may also need to change your destination folder in settings. Just doing home alone won't cut it. – Oliver Burdekin Jun 1 '14 at 9:53
    
FYI, the default directory is not always on the external SD card. (Mine was on my internal storage. I deleted the folder Bluetooth on internal storage and created a new empty folder with the same name on the external SD card. When I tried to transfer something, it ignored the external SD card and re-created the Bluetooth folder on the internal storage.) – Jess Riedel Dec 19 '15 at 20:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.