codename one. How to share a link to your app.

六眼飞鱼酱① 提交于 2019-12-08 19:06:29
Shai Almog

You can use the ShareButton or it's underlying native share API call (notice this behaves differently on devices as this relies on native functionality).

To share one URL that works on all platforms you need server side code as we have no way of knowing if the guy who will click the link has the same device as you have.

How to make QR code for BOTH Android Market and App Store answers that although it discusses QR codes this is applicable to links as well e.g. http://onelink.to/ looks like it could solve that although I haven't tried their service.

The correct answer to this question was actually URL intercepting. http://www.codenameone.com/blog/intercepting-urls-on-ios-android.html You share a url from your app to an external application. When the user opens that lick in an external application the user is automatically taken to your app if your app intercepts it.

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