Hi Ganesh, I faced the same issue that u wrote when I tried to use surfaceflinger with reflection from java level. I'm just wondering that you found THE SOLUTION and can u share with me? Anyway I found something about surfaceflinger related permissions but I tried all that way without positive results :/
http://stackoverflow.com/questions/10169591/permission-denial-cant-access-the-surfaceflinger Balázs On Friday, 2 July 2010 07:08:25 UTC+2, ganya wrote: > > Hi all, > > This is about the issue, I am facing in Android display system(Video > Rendering using Surface Flinger Native APIs). > > As for my understanding, Android display system relies on > Surfaceflinger library( a system wide screen composer). > Surfaceflinger runs as a service along with Mediaserver service, > Camera service, Audioflinger and these services interact with each > other through Binder APIs at native level. If any user application > wants to access SurfaceFlinger native APIs, it requires Surfaceflinger > Access permissions. > > My requirement is that I want to create a SurfaceView at the JAVA > level (Android Application level) and render video data to that > Surface, means, pass video data to the Surface flinger library by > invoking native Surface Flinger APIs. But, because of Permission > Problems, I am not able to invoke Native Surface Flinger APIs from > Application Layer. > > Is there any ways to invoke Surface Flinger Native APIs from > Application Level ? > > > Thanks & Regards, > Ganesh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1ff85798-326e-49d4-932a-b156e7454945%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

