[android-developers] Re: using SKIA canvas in native code, SimpleJNI hack.
Thanks Mark for the info, about contributing back to open source, certainly, except for the proprietary codec. Regards Siva On Oct 5, 8:07 pm, "Mark Murphy" wrote: > > Dianne, to be more specific, I work for an OEM application > > development, how do I provide my renderer like SWF or FLV through > > MediaPlayer framework. Is it something I can plug my renderer into > > Surfaceflinger? > > You will get better support for this in [android-porting], or perhaps > [android-platform] if you are planning on contributing this code back to > Android. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: using SKIA canvas in native code, SimpleJNI hack.
> Dianne, to be more specific, I work for an OEM application > development, how do I provide my renderer like SWF or FLV through > MediaPlayer framework. Is it something I can plug my renderer into > Surfaceflinger? You will get better support for this in [android-porting], or perhaps [android-platform] if you are planning on contributing this code back to Android. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: using SKIA canvas in native code, SimpleJNI hack.
Dianne, to be more specific, I work for an OEM application development, how do I provide my renderer like SWF or FLV through MediaPlayer framework. Is it something I can plug my renderer into Surfaceflinger? Regards Siva On Oct 5, 3:45 pm, siva wrote: > You are right Dianne in way, Also, I believe the OEMs can use such an > architecture, right? It's actually the OEM that is going to provide > update and they make sure it works with the update. > > We have been debating this question, what one should do if one has to > get best fps on a given hardware, will the JAVA SDK guarantee that? > or should I use Surfaceflinger in native code? > > Thanks, > Siva > On Oct 5, 12:01 am, Dianne Hackborn wrote: > > > > > You are using private APIs, which are not supported across platform releases > > or devices. Expect any app doing this to break arbitrary at some platform > > update or on some device(s). > > > On Sat, Oct 3, 2009 at 10:37 PM, siva wrote: > > > > I set out to use SkCanvas and other native SKIA classes but I could > > > not find any sample code. After a week's of search and diving deep > > > into Android source, I got it working. Below in my blog, I have > > > detailed, how to use SimpleJNI native sample, to get native canvas > > > going. If you find it useful or I did something wrong let me know > > > >http://matthiyosi.blogspot.com/2009/10/using-skia-in-android-native-c... > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see and > > answer them. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: using SKIA canvas in native code, SimpleJNI hack.
You are right Dianne in way, Also, I believe the OEMs can use such an architecture, right? It's actually the OEM that is going to provide update and they make sure it works with the update. We have been debating this question, what one should do if one has to get best fps on a given hardware, will the JAVA SDK guarantee that? or should I use Surfaceflinger in native code? Thanks, Siva On Oct 5, 12:01 am, Dianne Hackborn wrote: > You are using private APIs, which are not supported across platform releases > or devices. Expect any app doing this to break arbitrary at some platform > update or on some device(s). > > On Sat, Oct 3, 2009 at 10:37 PM, siva wrote: > > > I set out to use SkCanvas and other native SKIA classes but I could > > not find any sample code. After a week's of search and diving deep > > into Android source, I got it working. Below in my blog, I have > > detailed, how to use SimpleJNI native sample, to get native canvas > > going. If you find it useful or I did something wrong let me know > > >http://matthiyosi.blogspot.com/2009/10/using-skia-in-android-native-c... > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: using SKIA canvas in native code, SimpleJNI hack.
You are using private APIs, which are not supported across platform releases or devices. Expect any app doing this to break arbitrary at some platform update or on some device(s). On Sat, Oct 3, 2009 at 10:37 PM, siva wrote: > > I set out to use SkCanvas and other native SKIA classes but I could > not find any sample code. After a week's of search and diving deep > into Android source, I got it working. Below in my blog, I have > detailed, how to use SimpleJNI native sample, to get native canvas > going. If you find it useful or I did something wrong let me know > > > http://matthiyosi.blogspot.com/2009/10/using-skia-in-android-native-code.html > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---