add app in the sharing list

I’m also asking Engineering about this for Android.

On iOS, Apple supposedly lets people register their apps some way so that the activity controller picks them up. But I think the app maker (i.e. Apple Maps or Google Maps) has to do something to pick up those external apps. This is certainly not going to be something supported by Corona SDK. It might be possible with Enterprise.

Rob

that  App URL Scheme is not what i want

ok i will for you to update this once you get the info from the engineers .

in the same time i would like to ask if i can launch other apps from app developed by corona . any app that i know its name not just twitter or facebook

i need to read more about the Intent filter

http://stackoverflow.com/questions/11095122/how-to-make-my-android-app-appear-in-the-share-list-of-another-specific-app

. i will update here later

Try this:

intentFilters = { { actions = { "android.intent.action.SEND" }, categories = {"android.intent.category.DEFAULT"}, data = { mimeType = "text/plain" }, }, },

That goes inside the “android” table. You will at a minimum need the INTERNET permission.

Rob

Yup it was the intent filter

here is my code so far

label = "My App Name", actions = { "android.intent.action.VIEW" , "android.intent.action.SEND", "android.intent.action.MAIN", }, categories = { "android.intent.category.DEFAULT", "android.intent.category.BROWSABLE", "android.intent.category.LAUNCHER", }, data = { mimeType = "text/plain" },

now i need to find a way to pass the shared parameter . i will update this once i find away .

Search for launchArgs… It should be there.

hey Rob Thanks

i already been able to get the information passed using the androidIntent using tostring(key)== “android.intent.extra.SUBJECT” and similar

now i am facing three issues and i am searching for a way to fix it

1- i cant get these intent unless my app was open ( applicationOpen ) if the app was in the launchArguments ( start ) i cant see those intents .

2- i am trying to find away now to pass intents ( or values ) from my app to other apps via share

3- i am using the plugin “social” to share these intent but i am not able to see all programs installed on my android device so i can pass these info too .

i will update here once i find something . you can also help

Ok Rob

is there away to call intent from Corona SDK

like this one

String url = "geo:" + lat + "," + lng; Intent intent = new Intent(android.content.Intent.ACTION\_VIEW, Uri.parse(url)); intent.setPackage("com.here.app.maps"); startActivity(intent);

here i can easily call here maps and give it the long+lat .

how can i launch apps from app developed by corona sdk . , lets say i create a button names here maps and want to launch here maps with some long and lat when i press it .

and in general how can i launch any apps installed in my device using corona sdk

Sounds like something Enterprise could do for you.

Rob

Thanks Rob .

so there is no way to launch apps using corona sdk ?

system.openURL()

nop i tested this before with 2 ways and none of them work

 function URL1F( event ) system.openURL("com.here.app.maps://") end

and

 function URL1F( event ) system.openURL("com.here.app.maps") end

none of these works

Does this work for you? -> https://coronalabs.com/blog/2011/12/22/using-app-url-schemes-in-ios/