>
> I don't see this getting fixed unless Google opens up the system mime 
> registry.  (I haven't found any documented API to extend what's returned 
> from e.g.
>
>        MimeTypeMap mapper = MimeTypeMap.getSingleton();
>        String kmlmime = mapper.getMimeTypeFromExtension("gpx");
>

Have a look at libcore.net.MimeUtils, theres System env 
content.types.user.table (.properties file) or (java.home = 
/system)/lib/content-types.properties.
However, in Android 4.3, the class is already loaded when 
Application#onCreate() is called, so you cannot use 
"content.types.user.table" for your own app.
So if you have root, you can add mappings for apps that use MimeTypeMap by 
creating/editing /system/lib/content-types.properties and rebooting.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to