![](/img/trans.png)
[英]How to send message between two Android devices via bluetooth or BLE?
[英]How to send notification between two android devices
我在Android設備“ A”中有App“ A”,在Android設備“ B”中有App“ b”。我想用她的電話從設備“ A”向設備“ B”發送通知
您可能正在尋找Google Cloud Messaging服務。 有關詳細信息,請參考此鏈接。 http://developer.android.com/google/gcm/index.html
用於在推送通知中發送消息。 以下鏈接很有用。 http://developer.android.com/guide/topics/ui/notifiers/notifications.html
您可以使用電話號碼作為目標的推送通知。 看看Parse.com- Android推送指南您可以將電話號碼保存在ParseInstallation
,然后定位此安裝:
ParseQuery query = ParseInstallation.getQuery();
query.whereEqualTo("phone", "1234567890");
ParsePush push = new ParsePush();
push.setQuery(query);
push.sendPushInBackground();
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.