Sending data from one phone to another

69 views
Skip to first unread message

Coley Pritchett

unread,
Sep 23, 2015, 5:26:35 PM9/23/15
to Google App Engine
Hello all,

So I added GAE to my app using this tutorial: https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/HelloEndpoints

My question is, instead of sending the string to and from the same app on one phone, how would I go about sending it to the same app on another phone?

Thanks!

Nick (Cloud Platform Support)

unread,
Sep 24, 2015, 5:20:13 PM9/24/15
to Google App Engine
Hey Coley,

It's not generally possible to send messages directly to other phones without somehow communicating with a server which can handle the message-passing. The closest thing to what you're describing sounds like Bluetooth, or if somehow a static IP or domain name could be given to a phone on the network of the phone's data-link. The short answer is that no, you'll need (and want) to send messages to a back-end server which will be a central hub for communication. You could also look into Firebase, or other similar technologies. 

Anastasios Hatzis

unread,
Sep 24, 2015, 8:38:44 PM9/24/15
to google-a...@googlegroups.com

Hi Coley!

I'm not sure if I did understand your use-case correctly. That said, if your use-case relates to communications between phones in close proximity (less than 100 feet), you might want to check out the new Nearby Messages API available for iOS and Android.

It uses Bluetooth, BLE, Wi-fi and Ultrasound, and includes Publishing and Subscription features.

http://developers.google.com/nearby

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ae6a1fd6-20c2-4fa2-8246-8f5f6f8981b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

HATZIS Edelstahlbearbeitung GmbH
Hojen 2
87490 Haldenwang (Allgäu)
Germany

Handelsregister Kempten (Allgäu): HRB 4204
Geschäftsführer: Paulos Hatzis, Charalampos Hatzis
Umsatzsteuer-Identifikationsnummer: DE 128791802
GLN: 42 504331 0000 6

http://www.hatzis.de/

Coley Pritchett

unread,
Sep 26, 2015, 11:45:07 AM9/26/15
to Google App Engine
Thanks for the reply, Nick. I was under the impression GAE had something like that built into it, but I'll look into Firebase or something like it. Cheers.

Coley Pritchett

unread,
Sep 26, 2015, 11:47:09 AM9/26/15
to Google App Engine
Hey Anastasios, the app I'm trying to build is going to be used by people who will most likely be a bit farther than 100 feet, but thanks for the advice anyways!
Reply all
Reply to author
Forward
0 new messages