I believe it is by design to not provide right permissions on the sdcard to the mediaserver. If needed, you need to figure out a way to pass an open file handle to your CPM component, and then use that to do the writing.
-Ravi On May 31, 7:19 am, NoraBora <[email protected]> wrote: > Some CPM plugins have to write drm information on external > storage(nand, sdcard). > > I added WRITE_EXTERNAL_STORAGE permission in app's AndroidManifest.xml > but didn't work. > > because opencore is used by MediaPlayer process. <- MediaPlayerService > <- mediaserver > > and mediaserver doesn't have 'sdcard_rw' groups. > > I tried using 'setgroups()' in main_mediaserver.cpp but returned no > permission to set groups. > > Without write-external-storage permission, cpm is no use. > > Is it impossible? or am I missing something? -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
