Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1043165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:37:29+00:00 2026-05-16T15:37:29+00:00

I have an Android application which handles a particular type of file. It registers

  • 0

I have an Android application which handles a particular type of file. It registers intent filters for both the MIME type and the filename pattern. This all works fine from file managers; I select a file, I get prompted with a list of actions applicable to the file, my application is on the list, I select it and it works.

However, this doesn’t work when I beam a file to the device via Bluetooth. The file gets received and is correctly downloaded, but selecting the file from the transfer page does nothing (although I can still use a file manager to find the downloaded file in /sdcard/downloads/bluetooth and run it from there). The log contains:

V/BluetoothOppUtility(  565): Get data from db:/mnt/sdcard/downloads/bluetooth/foo.appnull00:11:22:33:44:55
E/BluetoothOppUtility(  565): ERROR: Para fileName ==null, or mimetype == null

(The name of the file here is foo.app.)

It looks like it’s deciding that the file has no MIME type and is giving up, rather than broadcasting an intent asking for a filename-based match.

This is on Froyo on an HTC Desire, and I know that HTC have been tinkering with the Bluetooth stack (as stock Android doesn’t allow arbitrary files to be beamed to the device). Does anyone know how I can make this work? Beaming .jpg and .png files works fine…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:37:29+00:00Added an answer on May 16, 2026 at 3:37 pm

    Investigation reveals that the Bluetooth stack, if it doesn’t receive a MIME type from the sender, determines the MIME type by using the android.webkit.MimeTypeMap class. This class has a hard-coded table of extensions and MIME types. This means that it’s not possible to register additional extensions without sending patches to Google and waiting for the next release.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Android Application which is basically uses WebView for all interaction.. How
I have an android application in which I have to execute some tasks at
I have a problem with my android application. That application which uses the kSOAP
I would like to develop an Android application which will have a local database.
I am developing android application in which i have to open option menu from
I am working on a Mapview in my android application, in which i have
I am writing a little application in android which would have a server part
I have written an Android application that uses SQLite database which is saved in
I have build an Android application which capture images and save in the /mnt/sdcard/Pictures/MyFolder
I have developed an android application in which some OK button (soft key) is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.