You could use Nearby https://developers.google.com/nearby/.  It has WiFi,
ultrasonic and Bluetooth options which would work around the lack of
internet connectivity, but it would require users to be on the same WiFi
network or in relatively close proximity.

On 29 November 2016 at 10:32, Nerox <[email protected]> wrote:

> I am working on an app that makes sure all the members of a certain group
> are present in the same location as the group leader..
>
> so the idea is that in the app there are groups that consist of members
> and a group leader, when the leader clicks on a certain button the app
> checks if each member in the group is present with the leader.
>
> Here is how I thought of doing it, but don't know the tools I'll need or
> even if there is a better way of doing it.
>
> When the group leader clicks on the button the app in each member's device
> will retrieve the X, Y by the GPS and calculate the distance between the
> leader's XY and his XY, if the distance is lower than 100 meters for
> example then the member is present.
>
> But problem with that method is that everybody has to have a working
> internet connection and has to have the location service enabled.
>
> I wanna know if there is another way of doing it like with the Wifi for
> example and what does it require and if there isn't what tools/functions
> will my idea require in order to make the app.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/046cc782-46b5-4542-ae9d-
> 0dbdbd9730a1%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/046cc782-46b5-4542-ae9d-0dbdbd9730a1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAPhephVod3DDaYxX1ZEJD5-w%3DhgRP2dpeOxiKidSA8formmC6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to