11-25-2025 01:14 PM
Hello all,
I am testing Home API to create my routines. I clone sample app and start to work on it.
I tested android app with two devices and one of them is working and other one is not working.
- Pixel 7 Pro. Successfull
- Lenovo Tab M7 (TB-7306F). Failed.
I was working on using my old Lenovo tablet as home control device however those app not working on it.
Tablet is using Android GO edition and it has lack of some core functionalities.
Sample app is failing with below error code:
Explain: Failed to get user selected account for home access.
com.google.home.HomeException: 13: Task failed with error: 17
As I understand from my debug, it is trying to use HomeClient.registerActivityResultCallerForPermissions function in PermissionsManager.kt init function. However, Android GO edition doesn't have accounts selection functionality, it is failing automatically for authentication.
Is there any other way to get permissions without using this class?
Thanks 🙂
Answered! Go to the Recommended Answer.
12-08-2025 02:27 PM
The Google Home Permissions API is designed to use the standard Android Activity Result API (which replaces startActivityForResult) to launch a dedicated Google Play Services screen.
Since the Home API's authorization flow is tightly integrated with a Google Account picker, your only practical solution is to target a non-Go edition device.
For your use case as a dedicated home control panel, here are a few options:
12-08-2025 02:27 PM
The Google Home Permissions API is designed to use the standard Android Activity Result API (which replaces startActivityForResult) to launch a dedicated Google Play Services screen.
Since the Home API's authorization flow is tightly integrated with a Google Account picker, your only practical solution is to target a non-Go edition device.
For your use case as a dedicated home control panel, here are a few options:
12-11-2025 07:46 AM
Hi @arm_dpe , thanks for clarification. I understand that I can't use my old tablet for testing and reusing :). I will check other options.