0
Answered

How to open a specific on IOs?

Abhijeet Ramgir 10 years ago in i2 Control V2.2 updated by Olga (expert) 10 years ago 2
Hey,

I found this on the wiki:
IR.AddListener(IR.EVENT_START, 0, function(){ // OS Windows
IR.Execute("http://iridiummobile.net"); // Example of the link
IR.Execute("mailto:contact@iridiummobile.ru"); // Write an e-mail through the mail agent
IR.Execute("cmd"); // Activate the command string
IR.Execute("calc"); // Activate the calculator
IR.Execute("c:\\Program Files\\iRidium\\iRidium.exe"); // Start the app


// iOS - iPhone
IR.Execute("http://iridiummobile.net"); // Example of the link
IR.Execute("mailto:contact@iridiummobile.ru"); // Write an e-mail through the mail agent
IR.Execute("tel:+1234567890"); // Call on the phone
IR.Execute("sms:+1234567890"); // Send an SMS
IR.Execute("music:"); // Open the app for listening to music
IR.Execute("videos:"); // Open the app for watching videos
IR.Execute("ibooks://"); // Open the app for reading e-books
IR.Execute("fb://feed"); // Open the Facebook app
IR.Execute("twitter://"); // Open the Twitter app

// iOS - iPad
IR.Execute("http://iridiummobile.net"); // Example of the link
IR.Execute("mailto:contact@iridiummobile.ru"); // Write an e-mail through the mail agent
IR.Execute("music:"); // Open the app for listening to music
IR.Execute("videos:"); // Open the app for watching videos
IR.Execute("ibooks://"); // Open the app for reading e-books
IR.Execute("fb://feed"); // Open the Facebook app
IR.Execute("twitter://"); // Open the Twitter app

// OS Android
IR.Execute("http://iridiummobile.net"); // Example of the link
IR.Execute("mailto:contact@iridiummobile.ru"); // Write an e-mail through the mail agent
IR.Execute("tel:+1234567890"); // Call on the phone
IR.Execute("sms:+1234567890"); // Send an SMS
IR.Execute("file:///tmp/android.txt"); // Open the file
});


1) How do I open a specific app (Tata sky mobile : https://itunes.apple.com/in/app/tata-sky-mobile/id385090000?mt=8) in IOs)
2) How do I open the same app on android, or any app on android? as in the example above there is no example to open an app in android.

Any help would be appreciated,
Thanks!
Abhijeet.

Answer

Answer
Answered
Dear Abhijeet,

1) You need to find the special URL scheme for this application if there is such. We do not look for it. It is made by the developer. We recommend searching the Internet or contacting the developer.

2) It is done the same way as on iOS. But the set of URL schemes can be different. If the developer didn't anticipate the possibility to open the application via URL, then we cannot do anything.

Sincerely yours,

Olga Ermakova
iRidium mobile Team
Answer
Answered
Dear Abhijeet,

1) You need to find the special URL scheme for this application if there is such. We do not look for it. It is made by the developer. We recommend searching the Internet or contacting the developer.

2) It is done the same way as on iOS. But the set of URL schemes can be different. If the developer didn't anticipate the possibility to open the application via URL, then we cannot do anything.

Sincerely yours,

Olga Ermakova
iRidium mobile Team