N NetStorm Member Licensed User Longtime User Jun 23, 2011 #1 Hey, Anyone know how I can make my app the default for opening a certain filetype and how I would then know the filename and location of the file that has opened my app. Thanks for any help.
Hey, Anyone know how I can make my app the default for opening a certain filetype and how I would then know the filename and location of the file that has opened my app. Thanks for any help.
Erel B4X founder Staff member Licensed User Longtime User Jun 24, 2011 #2 Currently you cannot get the Intent that started your application, so you will not be able to get the filename and location. I believe that this will be added in the next update. Upvote 0
Currently you cannot get the Intent that started your application, so you will not be able to get the filename and location. I believe that this will be added in the next update.
H hackhack Active Member Licensed User Longtime User Sep 23, 2011 #3 What about making the app default? How do you do that? How do you tell the system "Hey, I can open pictures and URLs" ? Upvote 0
What about making the app default? How do you do that? How do you tell the system "Hey, I can open pictures and URLs" ?
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2011 #4 It is now possible using Activity.GetStartingIntent. You will need to add an IntentFilter declaration in the manifest file. It is not so simple. You can read more about it here: Intents and Intent Filters | Android Developers Upvote 0
It is now possible using Activity.GetStartingIntent. You will need to add an IntentFilter declaration in the manifest file. It is not so simple. You can read more about it here: Intents and Intent Filters | Android Developers