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/android/issues/detail?id=4875 / http://code.google.com/p/android/issues/detail?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/android-dev ... 67853.html
Maybe someone also knows some goog sources which sample where I can learn how I can do this?