I want to connect Google's Find My Device service within my app , meaning that it logs in with a Google account inside my application once, is saved, and displays the available devices, and all the things that I can do in find my device, I can do in my app.
Use a web viewer, and go to https://android.com/find
If you need to find a different phone to the one in your hand, then you may need to sign out of your google account in the webviewer: https://accounts.google.com/Logout
Does that work?
If you just want to know where you are, you could try this little app:
WAY.aia (4.7 KB) (WhereAreYou)
When you open the application nothing is displayed within the web viewer.
.
Is there anything else I need to do? I have never used this resource before
That is odd, I see this, after pressing the button:
Maybe you need to ensure your devices are correctly setup? However this should not stop the web page from appearing...
I don't really know what's wrong
I found an error when activating this, the web viewer does not display anything, but when I deactivated it, it displayed the web page.
Now I need to make it save the account registered with it so that the user does not need to log in every time he opens the application
The webviewer stores sign in cookies, so once the user has signed in with the chosen google account, it will remember and take the user directly to the device location.
As above, if you want to use a different google account (for a different device), then you should provide the user with the sign out link.
But it is not saved in my app
When entering, you must log in every time
I don't know why
Try a sign in to your google account first. It is possible that find my device does not actually "sign you in".
The workflow
- Sign in to google account (
https://accounts.google.com/ServiceLogin
) - Find my Device
- If another google account needed, sign out (as above)
[EDIT]
On reflection, it is probably better the way it is, requiring a sign in each time.
Thank you for helping me
But why would it be better to keep it as it is? It requires a login every time
Better security for the account...
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.