如何让所有的安装点信息Android设备? [英] How to get all the mount point information for android device?

查看:124
本文介绍了如何让所有的安装点信息Android设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让所有的安装点信息Android设备编程?

How to get all the mount point information for android device programmatically ?

感谢
Nohsib

thanks
Nohsib

推荐答案

在Android的API底层Linux不完全是一部分,但会告诉你那些是的在使用的,如果你读/ PROC /坐骑

Not exactly part of the android apis, but the underlying linux will tell you about the ones that are in use if you read /proc/mounts

作为一个澄清,在以后的安卓版本的Linux公司拥有独特的坐骑为每个进程的祖先是杠杆的能力,所以由应用程序看到的可以(并且通常会)会比看到一些来自亚洲开发银行推出不同的坐骑,或核心系统的过程。

As a clarification, in later Android versions Linux's ability to have unique mounts for each process ancestry is leveraged, so the mounts seen by an application process can (and typically will) be different than those seen by something launched from ADB, or a core system process.

这篇关于如何让所有的安装点信息Android设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆