Skip to content

How to autorun this awesome app when quest powers on? #2807

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
julyseanudt opened this issue Apr 22, 2025 · 1 comment
Open

How to autorun this awesome app when quest powers on? #2807

julyseanudt opened this issue Apr 22, 2025 · 1 comment

Comments

@julyseanudt
Copy link

I want the quest headset run alvr client app automatically when powering on.
I have tried to use this adb command:
adb shell am startservice --user 0 -n alvr.client.stable
and received the error info:

Bad component name: alvr.client.stable at android.content.Intent.parseCommandArgs(Intent.java:7886) at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:370)

Is this way available?
It is appreciated to give me some help.

Best regards,
Wallace

@julyseanudt
Copy link
Author

I can use adb shell am start alvr.client.stable/android.app.NativeActivity to start alvr client app.
But fail to run this command:
adb shell am startservice --user 0 -n alvr.client.stable/android.app.NativeActivity

The error info is:
Error: Command failed: "C:\Users\Administrator\AppData\Roaming\SideQuest\platform-tools\adb.exe" -s 1WMHHB687W1381 shell am startservice --user 0 -n alvr.client.stable/android.app.NativeActivity Error: Not found; no service started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant