Android的保护MP3文件的形式被共享,但仍然可玩 [英] Android protect mp3 file form being shared, but still playable

查看:106
本文介绍了Android的保护MP3文件的形式被共享,但仍然可玩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能保护我从我的服务器(法律内容所有者)从网上下载通过电子邮件转发一个mp3文件,支持蓝牙等。

我希望该文件是对设备的媒体播放机上播放,所以我将它发送给ContentResolver的。

我已经看到了这对我们地区的一些官方应用程序,但我不知道如何举报/纪念我的文件为非股份能。

感谢您!


解决方案

  

我怎么能保护我从我的服务器(法律内容所有者)从网上下载通过电子邮件转发一个mp3文件,支持蓝牙等。


从技术上讲,你不能,除非你实现你自己的MP3播放器的应用程序,并将其存储在那里。如果您在其他应用程序依赖的定义其他应用程序来播放音乐的话可以访问音乐,可以想见,用它做的事情,比如通过电子邮件,蓝牙等分享。

然而,在实践中,如果你是一个启动媒体播放器来播放音乐,并且没有通过电子邮件,蓝牙等共享提供选项,则该用户不太可能有任何方便的手段,自己这样做,除了在扎根设备。

how can I protect an mp3 file I downloaded from my server (legal content owner) from being forwarded via email, Bluetooth etc.

I wish the file be playable on device media player so i will send it to ContentResolver.

I have seen this on some official apps for our region, but i do not know how to flag/mark my files as non share-able.

Thank You!

解决方案

how can I protect an mp3 file I downloaded from my server (legal content owner) from being forwarded via email, Bluetooth etc.

Technically, you can't, unless you implement your own MP3 player app and store it in there. If you are relying upon other apps to play the music, then by definition other apps have access to the music and could conceivably do things with it, such as sharing it via email, Bluetooth, etc.

However, in practice, if you are the one starting up the media player to play your music, and you do not offer options for sharing via email, Bluetooth, etc., then the user is unlikely to have any convenient means to do so themselves, except on rooted devices.

这篇关于Android的保护MP3文件的形式被共享,但仍然可玩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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