On Sun, Feb 1, 2009 at 9:30 PM, iblues <[email protected]> wrote:
>
> Mathias,
>
> How does Android plan to support rendering of raw data (YUV or RGB)
> onto the Surface at the library layers in future?  For my requirement,
> I defined my middleware class as a friend class of Surface in
> Surface.h file. After this, I was able to access the ISurface object.

Oh dear... you absolutely cannot do that.
Android has public APIs, these are at the Java level and that's all
you can use at the moment.
I repeat: you CANNOT use native APIs. period.

There are no way to display graphics from native code currently.

> Do you mean that my native library would become obselete in future? Do

Yes. It will crash.

> you have any recommendations for an alternate way for rendering raw
> data?

You can do this from Java, using the Bitmap.java class.


Mathias



>
> Regards,
> iblues
>
> -----------------------------
>
> On Feb 1, 4:00 am, Mathias Agopian <[email protected]> wrote:
>>
>
>> ISurface is NOT a public API, nor is SurfaceHolder.getISurface(), they
>> will change in the near future. Nothing will be made to try to
>> maintain backward compatibility.
>>
>> mathias
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to