Hi,

I am trying to create an application that downloads ringtones to the
phone and I am trying to support Forward Locking on the downloaded
ringtones. Currently I am saving the contents as .mp3 on
externalDirectory.Reading forums and other articles online, it seems
like android does have DRM 1.0 and DRM 2.0 support using
libdrm1_jni.so or libdrm2_jini.so

e.g 
http://groups.google.com/group/android-platform/browse_thread/thread/12a3083e9ed21d6f

I have played around little bit with this. Approach that I tried
1.  I have downloaded the package android.drm.mobile1 and tried to
call one of its function DrmRawContent() from my app.

        Issues that this gives is, it loads one library which is
libdrm1_jni.so but it depends on others libraries which i have trouble
to load. Here is the snapshot:

D/dalvikvm( 6176): Trying to load lib /system/lib/libdrm1_jni.so
0x46aaa218
D/dalvikvm( 6176): Added shared lib /system/lib/libdrm1_jni.so
0x46aaa218
D/dalvikvm( 6176): +++ not scanning '/system/lib/libwebcore.so' for
'nativeConstructDrmContent' (wrong CL)
D/dalvikvm( 6176): +++ not scanning '/system/lib/libmedia_jni.so' for
'nativeConstructDrmContent' (wrong CL)
D/dalvikvm( 6176): +++ not scanning '/system/lib/libexif.so' for
'nativeConstructDrmContent' (wrong CL)
D/dalvikvm( 6176): +++ not scanning '/system/lib/libsrec_jni.so' for
'nativeConstructDrmContent' (wrong CL)
W/dalvikvm( 6176): No implementation found for native Lmobile1/
DrmRawContent;.nativeConstructDrmContent (Ljava/io/InputStream;II)I

Questions that I have:
1. Is there any approach I can follow to support DRM using the
existing code from Android?
2. The approach I followed, is it correct or am I missing anything?
3. If there is nothing already available on Android, Can someone
please point me to where I can find on "how to create DRM support"
specially for Forwar Lock?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to