Well SurfaceHolder is an interface and not a class derived from
android.os.Parcelable so I don't think you can use it in your AIDL
file.
On Dec 14, 9:11 pm, Kalpesh Patil <
kalpeshpatil.ti....@gmail.com>
wrote:
> Thanks a lot Ying. It really worked with it.
>
> But I still face some issue.
>
> I want to import following two
> "import android.view.*Surface*"
> "import android.view.*SurfaceHolder*"
>
> Out of these two, android.view.*Surface *is getting imported.
> But android.view.*SurfaceHolder *is *NOT *getting imported.
>
> My actual intention is to pass Surface to my custom library, for which, I
> need to pass *SurfaceHolder *and in custom library, I will extract Surface
> with *SurfaceHolder.getSurface()*.
>
> So importing *SurfaceHolder *is more important for me.
>
> Any help for this will be highly appreciated.
>
> Thanks and Regards
> Kalpesh Patil
>
> >>
android-platfo...@googlegroups.com<
android-platform%2Bunsu...@googlegroups.com>
> >> .
> >
android-platfo...@googlegroups.com<
android-platform%2Bunsu...@googlegroups.com>
> > .