怎样才能锁定使用Java code在Android的文件? [英] How can I lock files in android using java code?

查看:118
本文介绍了怎样才能锁定使用Java code在Android的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想锁定的文件就是在Android上的SD卡。 我需要锁定他们,所以没有人,除了我的软件可以删除复制移动或​​送他们通过蓝牙或任何其他方式。 我该怎么办呢?

I want to lock files that is on the sdcard of android. I need to lock them so no one except my software can delete copy move or send them over bluetooth or any other way. How can I do it?

推荐答案

我想你想对文件进行加密。虽然该文件仍然可以到处移动,这将是无用的东西,但你的应用程序。人们将能够复制,移动,删除,但内容不会受到影响。

I think you want to encrypt the file. While the file can still be moved around, it will be useless to anything but your application. People will be able to copy, move, delete but the contents won't be compromised.

这篇关于怎样才能锁定使用Java code在Android的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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