Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

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

My Samsung Galaxy Ace has the latest official CyanogenMod nightly. I have Windows XP, a bluetooth dongle, and bluesoleil drivers.

I am able to send images and apk files from my pc to my phone. But when I try to send an epub file, or a 7z file, my pc says:

"Access is denied. Please make sure you have the proper right to access the files or folders."

So I tried to create a compressed file and instead of using 7z, I used .zip. And it was able to send it. So I'm positive that my phone has a list of allowed file types to be received. Is there any way to edit it? Thanks.

PS: I tried declining a file (that successfully went through), and it gave the same access denied error on my pc. So I believe that my phone is automatically denying certain file types. Thanks.

share|improve this question
up vote 5 down vote accepted

The reason it does not work is because there's certain data types that are allowed through such as JPG, PNG, zip, pdf, text, anything else is filtered out and denied for the simple reason of security and to prevent malicious exploitation of transferring a binary executable across it for example.

You cannot edit them as they are baked into the ROM and built at compile time.

Look in packages/app/Bluetooth/src/com/android/bluetooth/

public static final String[] ACCEPTABLE_SHARE_INBOUND_TYPES = new String[] {

It is similar in principle to the MIME types found in among Web servers, such as uploading a PNG or JPG to a site. The filters would be in place to prevent Window binaries to be uploaded.

share|improve this answer

Your Answer


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.