Вопрос

I have this use-case for Android Beam. I could have tested it myself but my app is not available in Google Play yet. Here it goes:

I want to beam some content from my phone and the receiver phone does not have it. So with AAR, the app will be fetched from Google Play on the receiver phone. So far so good. So I download and login.

My question is: Once the app is downloaded will the receiver app still have the information that was beamed or should the sender initiate Beam again? Will my data in first Beam be lost? How should this be handled?

Theoretically, the onResume should be called to handle the intent.

Any thought if someone has come across such a kind of case.

Это было полезно?

Решение

The data will be lost, unfortunately. Think of it as if the NDEF message with the AAR will have been delivered to the Play Store app. (The Play Store app will not be able to deliver it to your newly installed app.) The only solution is to Beam again.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top