How does Starbucks show the user interface on Android devices in the nearest store?

I am a fairly new Android developer. One thing I noticed is that when I go near / in the Starbucks store, my Android device shows the following:

enter image description here

Question:

  • How does this user interface automatically appear on my mobile device when I'm near / inside the store?
  • Does this interface appear because the Starbucks app is installed on my phone? Does the application use a webcast listener? Example. If Google Starbucks Wi-Fi is detected in this area, does the application display the user interface as activity?
  • Or does the Starbucks Router stream a special network packet to mobile devices to get the mobile device to display this? If so, what is inside this network packet? I would like to do the same.
+6
source share
1 answer

This is not a Starbucks application, it is only your device that detects the availability of the open network you have connected to in the past and requires authentication to access the Internet. Android OS will automatically open this window as it is directed by the Starbucks online service.

+1
source

Source: https://habr.com/ru/post/986018/


All Articles