[Q] How to call the default launching app?

Lidanh

Senior Member
Feb 4, 2011
84
29
0
Hi,

I looked all over XDA and googled it, and found nothing.

Does anyone know how to call the default launching app of a file?

Basically, I want to download a file, DOC for example, and run it with the default launching program, Office.

Is it possible? if so, how?

Thanks,
Lidan.
 

Lidanh

Senior Member
Feb 4, 2011
84
29
0
hay

you cant associate a file type with another program

If you click on a doc file with IE9, Office will automatically open and show you the doc file. And you CANT save it on your mobile device :(
Hi,
I don't need to associate file type with another program.
All I need is to download a file (with WebClient or any other way) and launch it.

Now, I understand you can do it with IE. I don't want to do it this way.

I think I better mention that I'm developing an homebrew that must run on interop-unlocked device.
For example, file explorers do that, when you double click a DOC or PDF file the proper app will automatically launched.

Thank you for your answer.

Still looking for solution.

Lidan.
 

Marvin_S

Retired Recognized Developer
Dec 8, 2010
883
239
0
Hi,
I don't need to associate file type with another program.
All I need is to download a file (with WebClient or any other way) and launch it.

Now, I understand you can do it with IE. I don't want to do it this way.

I think I better mention that I'm developing an homebrew that must run on interop-unlocked device.
For example, file explorers do that, when you double click a DOC or PDF file the proper app will automatically launched.

Thank you for your answer.

Still looking for solution.

Lidan.
the only way i know of is passing the file on to ie9 with webbrowsertask :) maybe that will do it for u.
 

Lidanh

Senior Member
Feb 4, 2011
84
29
0
the only way i know of is passing the file on to ie9 with webbrowsertask :) maybe that will do it for u.
Hi,

Thanks for your answer.

When you say passing the file to IE9 you mean the http link to the file or somehow the actual file?

If it's possible to pass the actual file somehow then I'm good :)

Lidan.