tags:

views:

608

answers:

3

I'm working on an application that requires support for forward locking of media files on Android (1.6 and above). Of course, there appears to be no documentation in the APIs on how this might work.

The two questions I have are firstly whether forward locking is supported on Android (and in which versions of the platform) and secondly how to implement it in a program that, for example, downloads DRMed ringtones and wallpapers.

+1  A: 

Android isn't that big on DRM, because of the open source heritage of the product. I think you'll have to implement any DRM solution yourself.

Jim Blackler
There's certainly support for DRM in the OS. There's a DRM content provider and DRMStore helper class in the (hidden) API, and the open API for ringtones and images has attributes for including DRMed content. This leads me to believe that there *is* a way of implementing forward locking for these file types.
Adrian
A: 

Forward lock means that your application offers no way to use protected content on other devices. Literally this means that your application must not have functionality for forwarding (sending) protected content to other devices or for writing to a file system or something else like that. For an open platform like Android that as well might require encrypting/obfuscating your applications content store to prevent access from other apps or from a USB-connected host computer.

A forward lock is identified by a flag in the media metadata (format is media-dependent IMHO). The content is not encrypted. Thus a forward lock is a simple check per content item to disable forwarding functionality as needed.

The whole concept came from and worked with closed embedded devices (like typical mobile phones 5 years ago) and sounds strange with open platforms like Android.

Bernd
May sound strange, but it *is* there. As you say, it works by storing the data in a separate content provider; it's the process of accessing this that is causing me problems.
Adrian
A: 

You have to ensure the applications which may want to transfer content to another device via bluetooth etc dont get the permission to transfer it.

OMA has defined how forward lock works. Hence that way you are sure of what has to be done. You have to check the header information of the content to get information on whether it has to be forward locked or not.

Praveen S