Android的光束 - 回退时未安装我的应用程序我的、光束、应用程序、Android

由网友(橘落淮南终成枳)分享简介:我已经与 Android的光束样品code ,并用两个设备的工作,发送文本字符串。但是,如果收件人没有安装该应用程序,我的标签简单地收集,用于在稍后的日期。 I've had a play with the Android Beam sample code and have it working with two d...

我已经与 Android的光束样品code ,并用两个设备的工作,发送文本字符串。但是,如果收件人没有安装该应用程序,我的标签简单地收集,用于在稍后的日期。

I've had a play with the Android Beam sample code and have it working with two devices, sending a string of text. However, if the recipient doesn't have the app installed, my tag is simply collected for use at a later date.

有可能以某种方式将用户带到Android市场如果没有安装我的应用程序,以及处理数据的意图,如果它的是的安装?

It is possible in some way to take the user to the Android Market if my app is not installed, and to process the data in the intent if it is installed?

推荐答案

有一段评论code光束样品已经有应用的记录设置为你进来。只需取消其注释,看看是否是你想要的行为。

There is a piece of commented code in the Beam sample that already has the application record set up for you. Just uncomment it and see if that is the behavior you want.

阅读全文

相关推荐

最新文章