ServenScorpion / VirtualApp

support android 12 应用分身、模拟设备、模拟wifi、虚拟多开、钉钉打卡、企微打卡、插件开发、XP插件、模拟用户操作、java hook、c++ hook
842 stars 362 forks source link

我想直接打开已安装的应用程序而无需单击。 #36

Open dream811 opened 1 year ago

dream811 commented 1 year ago

我想直接打开已安装的应用程序而无需单击。 Intent intent = VirtualCore.get().getLaunchIntent("..***", 0); VActivityManager.get().startActivity(callback, intent, 0); 我想只使用package name, userid 而不使用callback来运行它,但是有什么办法吗? 如果我需要一定创建一个回调,你能分享一些关于如何创建它的代码吗? AppLauncherCallback callback = ...;(这样) 试图使用它,但缺少一个参数。 VActivityManager.get().launchApp(0, "com.tencent.mobileqq");

image 我想直接从列表页面运行它,而在此屏幕上没有按钮。 Thanks again!

ServenScorpion commented 1 year ago

不好意思,你可以按照demo来,如果想更多定制可以邮件我

Dream @.***> 于 2023年2月27日周一 下午10:06写道:

我想直接打开已安装的应用程序而无需单击。 Intent intent = VirtualCore.get().getLaunchIntent("..***", 0); VActivityManager.get().startActivity(callback, intent, 0); 我想只使用package name, userid 而不使用callback来运行它,但是有什么办法吗? 如果我需要一定创建一个回调,你能分享一些关于如何创建它的代码吗? AppLauncherCallback callback = ...;(这样) 试图使用它,但缺少一个参数。 VActivityManager.get().launchApp(0, "com.tencent.mobileqq");

[image: image] https://user-images.githubusercontent.com/45660446/221584496-b0a62229-6755-4803-bcf0-90285ac922d1.png 我想直接从列表页面运行它,而在此屏幕上没有按钮。 Thanks again!

— Reply to this email directly, view it on GitHub https://github.com/ServenScorpion/VirtualApp/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATTYXROP2WASXXBCAMW6RRDWZSYHRANCNFSM6AAAAAAVJOJ4AE . You are receiving this because you are subscribed to this thread.Message ID: @.***>