Nobuo Miwa
asked on
Open Excel file with external application
Hello experts,
I am a new in Android programming.
My application downloaded a Excel file(.xlsx) and I want to open it and view it with other application that can open it (ex. DocumentsToGo).
How can I call and pass a Excel file to external application ?
Could you show me some sample code ?
Regards,
Nobuo Miwa
I am a new in Android programming.
My application downloaded a Excel file(.xlsx) and I want to open it and view it with other application that can open it (ex. DocumentsToGo).
How can I call and pass a Excel file to external application ?
Could you show me some sample code ?
Regards,
Nobuo Miwa
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello,
I tried this approach, and I saved my file into /data/data/[package]/files /
with permission -rw------- .
When I set its url to "file:///data/data/[packag e]/files/d ownloaded. jpg" to open it,
it appeared as just dark screen.
If you have any good idea, please let me know..
Regards,
Nobuo Miwa
I tried this approach, and I saved my file into /data/data/[package]/files
with permission -rw------- .
When I set its url to "file:///data/data/[packag
it appeared as just dark screen.
If you have any good idea, please let me know..
Regards,
Nobuo Miwa
ASKER
Hello.
I solved this, I just copied target file to other name with
MODE_WORLD_READABLE. Then other Application can
open and view it.
Thank you.
I solved this, I just copied target file to other name with
MODE_WORLD_READABLE. Then other Application can
open and view it.
Thank you.
ASKER
It was a nice suggestion to me and quick reply. Thanks.
ASKER
I will try and reply result.
Regards,
Nobuo Miwa