Hello All, I am developing video renderer application. In that i am using surface flinger APIs. I am building and testing my application on eclipse with adt packages. I have one wrapper code which is accesing surface flinger APIs and its classes. Now when my .apk is being installed on emulator , i am getting following errors.
servicemanager : Permission failure : android.permission.ACCESS_SURFACE_FLINGER from uid = 10032 and uid = 660 surfaceflinger : permission Denial : can't access Surface flinger pid=660 , uid =10032 I have changed my AndroidManifest.xml also and added <permission android:name="android.permission.ACCESS_SURFACE_FLINGER" android:protectionLevel="signature" /> But still i am getting the same error. I have read that when we build application on eclipse it already self signed application.apk file. I have applied steps mentioned at following link to sign it again. http://developer.android.com/guide/publishing/app-signing.html But still i am getting same error. Now what Dianne Hackborn is telling that " You need to work with your device manufacturer. If you don't have one, you will want to download the Android source code to build your own emulator and system image, so you can sign your app with the same cert used to sign your system build. Please direct further questions to android-porting, as this is outside the scope of SDK development. " I am little bit confused how can i build emulator and generate system image. I am following steps mentioned at following link to download android source code and building it for beagle board. http://code.google.com/p/android-development-environment/wiki/FroyoOnBeagleBoard It gives me rootfs as well as kernel image. But when i simulate my application on eclipse emulator it fails at permission failure of surface flinger. Can anyone guide me , if i am doing something wrong. Also tell me the procedure to get surface flinger access from my native code. For this whatever procedure will be there , i am ready to do it. Waiting for your kind reply. Thanks In Advance, Tejas. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting