As a starting point, i just put a little function in android/media/ MediaPlayer.java and replaced it in my android.jar using in eclipse Android Appication.
now when i try to access that function in my App, it gives me exception ERROR/dalvikvm(2239): Could not find method android.media.MediaPlayer.myMethod, referenced from method org.apache.android.media.MyProgramDemo.onCreate could anyone guide me if i can override the sdk file? how can i use passthru plugin (or OMA1) in my application? On Feb 22, 11:23 am, "Fred Grott(Android Expert, http://mobilebytes.wordpress.com)" <[email protected]> wrote: > it would seem that would require to be root which most users do not > have.. > > On Feb 20, 7:25 am, Peter Lee <[email protected]> wrote: > > > Hello~ > > > I am trying to make a DRM module downloadable on Android. > > > I've already applied our modules in embedded system. > > To apply a DRM module in Android, I made it as a CPM Plug-in of > > OpenCore and added its uuid in pvplayer.cfg. > > After applying, DRM-protected music contents can be played in Music > > Application of Android. > > > I've planning to make the module downloadable because I want that drm- > > protected music contents can be played in not only new android phones > > but existing android phones, after a user downloads and installs it in > > their phones. > > > BUT, we have a lot of difficulties in finding method. > > > If anyone knows any method, could you tell me? > > > I have another question. > > When myAppl.apk is installed in Android, I want a .cfg file written > > in /system/etc. > > Is it possible? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

