J junaidahmed Well-Known Member Licensed User Longtime User Mar 14, 2012 #1 As I am developing File System application.I would like to open any file like (Excel,word,jpg etc).pls advise how to do this in code.
As I am developing File System application.I would like to open any file like (Excel,word,jpg etc).pls advise how to do this in code.
stevel05 Expert Licensed User Longtime User Mar 14, 2012 #2 I am assuming that you want to open an existing app that is already installed on the device rather than handle the editing yourself within your app. You will need to use intents and mime types to get the device to display the available applications that can read the type of file (you could set one explicitly if you know it will be installed.) B4A Intents B4A Wiki documentation for intents List of Mime Types Last edited: Mar 14, 2012 Upvote 0
I am assuming that you want to open an existing app that is already installed on the device rather than handle the editing yourself within your app. You will need to use intents and mime types to get the device to display the available applications that can read the type of file (you could set one explicitly if you know it will be installed.) B4A Intents B4A Wiki documentation for intents List of Mime Types
J junaidahmed Well-Known Member Licensed User Longtime User Mar 14, 2012 #3 Thanks for your reply.but i want some example code to open pdf or jpg file using intent. Upvote 0
NJDude Expert Licensed User Longtime User Mar 14, 2012 #4 You can find some code samples HERE Upvote 0