Hi all,

I am planning to write a video player application and I am planning to
use the gstreamer on the native side. I am trying to use the
SurfaceFlinger for the rendering part. For this I have written a test
program to experiment on the rendering part. I am using the surface
flinger wrapper from the project

http://gitorious.org/rowboat/external-gst-plugins-android

But the following ERROR occurs when we try to run the .apk.

02-03 09:55:51.258: WARN/ServiceManager(582): Permission failure:
android.permission.ACCESS_SURFACE_FLINGER from uid=10032 pid=1361
02-03 09:55:51.258: ERROR/SurfaceFlinger(582): Permission Denial:
can't access SurfaceFlinger pid=1361, uid=10032

The I changed the permission for
"android.permission.ACCESS_SURFACE_FLINGER" in frameworks/base/core/
res/AndroidManifest.xml to "dangerous" and recompiled. But got the
same error.

Then I commented out the "checkCallingPermission" method in
IServiceManager.cpp and recompiled. Then also i got the same error.

Could someone please suggest any other alternatives or point out if I
am going in the wrong track.

Thanks in advance
sandeep

-- 
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