Forum

January 29th, 2009
Current User: Guest
Please consider registering

Get mimeType with mail app

UserPost

3:39 am
December 10, 2009


prodigy7

Guest

 
1

Since 2 weeks I’ve an android powered device and I like it very much!
Now, I want to bring some in my sight usefull things to this os. For this, I’ve an question which could help me, understanding the whole system better.

How I can assign for some filetypes (=mimeType) an application? I know there are really many applications which do this, but what I’m looking for, is an very poor sample which only implements following:
If filetype xyz (e.g. audio/x-wav) is called, execute me (the sample app) and the called sample app should only display the informations, which they gets (path? file or what ever).

Background: Mail in Android currently doesn’t handle the wav-files which is really crappy (see http://code.google.com/p/andro…..il?id=4875 / http://code.google.com/p/andro…..il?id=1712). Now, I build for me already an small application which plays wav files and what I need, is that somehow the content which is attached to the mail is streamed/copied/linked to my application. My starting point was http://www.mail-archive.com/an…..67853.html

Maybe someone also knows some good sources which sample where I can learn how I can do this?



Reply to Topic: Get mimeType with mail app

Guest Name (Required):

Guest EMail (Required):

Topic Reply:

HTML Editor
Save New PostSmileys

Guest URL (required)

Math Required!
What is the sum of:
8 + 4
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

 


Comments are closed.