[AC-4701] I want to open the one app i have build from the other app. (just like you open messenger from facebook)
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | n/a |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2016-12-30T12:18:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Andreas Pingas |
Assignee | Shak Hossain |
Created | 2016-12-30T11:55:30.000+0000 |
Updated | 2016-12-30T15:40:18.000+0000 |
Description
Hello,
i want to connect the one app to the other. when i click one button one app i want to be transfered to other one and perform and certain function. the same thing i want to happen at the other app as well. both apps are my projects.
i have tried to resolve the issue with the help of your support team on chat and the asked me to write it here.
on the one app i have this:
http://schemas.android.com/apk/res/android">
on the other app i have this:
var isSuccess = Ti.Platform.openURL('URLSCHEMENAME://?');
the above does not work for me...
please let me know of the solution as it is very important for our app to perform that way...
(on the IOS we are already doing this succesfully...)
You would create an intent and start the external activity. See more in the [Ti.Android.Intent](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android.Intent) docs.
thank you for your reply! I have tried this as well and i always get a black screen when app is trying to open...This does not happen if the app is build on Alloy... Alloy runs with both ways but i build on "classic" and does not run at all...
any other suggestions please?