Re: [android-developers] Re: Using java surface on the native side

2010-03-18 Thread Romain Guy
Your code is accessing a private API, which means that your app will likely break in a future version of Android. DO NOT DO THIS :) On Thu, Mar 18, 2010 at 12:53 PM, Sandy wrote: > Basically I'm trying to pass the surface which is created by Java > Application to my native library. When I use the

[android-developers] Re: Using java surface on the native side

2010-03-18 Thread Sandy
Basically I'm trying to pass the surface which is created by Java Application to my native library. When I use the GetIntField() function to get the surface object (ISurface) function, the object passed by app is becoimg null. Anyone faced similar issues? Thanks, Sandeep On Mar 18, 2:31 pm, Sand