出于安全目的,请创建安全数据锁定器。
我不希望其他可用的查看者打开该文件夹中的文件。
我希望每次访问该特定文件夹时都使用我的原生pdf查看器。
Datalocker 应用将使用opensource android pdf viewer。数据锁定器应用程序只能使用内部存储。
答案 0 :(得分:0)
从你的问题我理解的是,
1。使用安全加密/解密算法,例如 AES-256和基于密码的加密密钥。
还有代码混淆& jumble算法可用于安全密钥生成,以避免逆向工程攻击达到一定程度。
2。对于应用程序的内部存储,您可以在清单文件中更改 android:installLocation =“internalOnly”
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="string"
android:sharedUserId="string"
android:sharedUserLabel="string resource"
android:versionCode="integer"
android:versionName="string"
android:installLocation="internalOnly">
. . .
</manifest>
有关详细信息,请参阅this question & answer