I have no intention of obtaining your secret. It is your patented technology. I just need to know the general method. Can you roughly explain the principle of implementation through adb?
cgapk
Recent community posts
Hi, great version 9.0.0, very cool, can you tell me how to call the uninstall function?
I use luajava to write the function of uninstalling the installed program, but it cannot take effect. This is my uninstall function code.
-- Uninstall app
function uninstall(pkgName)
local intentUninstall = Intent(Intent.ACTION_DELETE)
intentUninstall:setData(Uri.parse("package:" .. pkgName))
activity:startActivity(intentUninstall)
activity:finish()
end
// Pass the package name
uninstall(com.xxxx)
Yes, it won't start on 57 systems.
How do I add the adb toolkit to my application? I would be very grateful if you could give some help documentation, as far as I know the application cannot execute adb commands.
I only know that on the PC side, you can use adb shell am start -n (game package name)/com.unity3d.player.UnityPlayerActivity to start the game
I'm very sorry, I shouldn't be asking here, but I really need to know how to fix this problem.
The app you developed is great! Can you tell me about the code that implements the icon to launch the game?
I use lua language to write an icon launcher program to launch the quest game, but it cannot jump to start the VR game. I have tried various methods to no avail. Can anyone tell me how to do it.
I don’t know what code needs to be written in the AndroidManifest.xml file
Below is my code:
--Create a function to start the quest game
function launchQuestGame(pkgName)
local intent = Intent()
.setClassName("com.oculus.vrshell", "com.oculus.vrshell.MainActivity")
.setAction(Intent.ACTION_VIEW)
.putExtra("uri", "vrshell://launch/" .. pkgName)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
if intent.resolveActivity(packageManager) then
activity.startActivity(intent)
else
toast("Cannot start the application")
end
end
-- Called in another file directory, such as running the beat saber game
launchQuestGame(com.beatgames.beatsaber)