soica,
You will need to get the plugin cnkFileManager from the Marketplace, link is on the thread link below. I’ll say it again, the is an Awesome Free Plugin!
Not sure what you have, but you need to add this to your build settings:
plugins = { ['plugin.cnkFileManager'] = { publisherId = 'es.cnksoft', supportedPlatforms = { android=true } }, }, android = --these permissions allow phone access { usesPermissions = { "android.permission.INTERACT\_ACROSS\_USERS", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.READ\_EXTERNAL\_STORAGE", }, usesFeatures = { { name="android.hardware.camera", required=false }, { name="android.hardware.location", required=false }, { name="android.hardware.location.gps", required=false }, }, intentFilters = { -- This is the intent filter that WORKS! { label = "AnyLabelHere", actions = { "android.intent.action.VIEW", "android.intent.action.EDIT", "android.intent.action.GET\_CONTENT", }, categories = { "android.intent.category.DEFAULT", "android.intent.category.BROWSABLE", "android.intent.category.OPENABLE", }, data = { scheme="file", mimeType="application/fileExtensionYourAppOpensHere", --possibly png as extension opens app }, }, }, },
Now, go take a look at this thread for a good start on the rest of the code you need. It’s not pretty, but gets the job done.
The launchArgs and onSystemEvent functions are setup to work with both iOS and Android. You will have to modify as needed depending what file extensions you app opens.
Android Share Link
Let me know how things go.
Hope this helps,
Nail