Comments (4)
https://gitee.com/ohos-dev/hap-viewer-android
我最近给hap查看器加入了hap安装功能,原理就是执行一句shell。实现的可能有一些不好,但是你可以参考一下。
from shizuku-api.
val process = Shizuku.newProcess(arrayOf("sh"), null, null)
from shizuku-api.
val process = Shizuku.newProcess(arrayOf("sh"), null, null)
这个方法在最新版本的依赖内已经变为了私有方法,且标为废弃,不推荐使用
from shizuku-api.
https://gitee.com/ohos-dev/hap-viewer-android 我最近给hap查看器加入了hap安装功能,原理就是执行一句shell。实现的可能有一些不好,但是你可以参考一下。
感谢你的回答,看了你的代码,和我之前弄的时候实现是差不多的,但是我觉得这样在有些场景会显得麻烦一些
from shizuku-api.
Related Issues (20)
- Pubg HOT 1
- 1234567
- mate60p
- Can't set user name by shizuku in emulator sdk 33 HOT 2
- Ios
- <a href="https://dontkillmyapp.com/lenovo"><img id="badge-shareable" width="306px" src="https://dontkillmyapp.com/badge/lenovo3.svg"></a>
- ya
- How can I copy file from android/data to internal storage?
- > * [ V] Shizuku version is up-to-date
- Rish
- Mrjayking7498 HOT 1
- Nom
- moe.shizuku.privileged.api/start.sh
- adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh HOT 1
- moe.shizuku.privileged.api/start.sh HOT 1
- moe.shizuku.privileged.api/start.sh
- https://github.com/RikkaApps/Shizuku-API/issues/118
- KAN9000.txt
- اا
- Shizuku.addRequestPermissionResultListener not triggering?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shizuku-api.