Worklight(6.1v) hybrid app - need to open other application from my app

廉价感情. 提交于 2019-12-02 19:44:04

问题


This is the case

1) check whether someXXX app is installed in the device

2) if installed open the app.

3) if not, open play store/App store app with someeXXX page.

if there any examples or codebases or links provided would be helpful and appreciated.

Thanks


回答1:


You can also take a look at the following accepted answer: IBM Worklight - How to launch another app?

Two options are provided within:

  • Using URI schemes
  • Using a Cordova plug-in in your Worklight application (demo project attached)



回答2:


Check this plugin, looks like it answers all your points: https://github.com/lampaa/org.apache.cordova.startapp



来源:https://stackoverflow.com/questions/25273233/worklight6-1v-hybrid-app-need-to-open-other-application-from-my-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!