Thanks Dianne,

So where do you think this composed data can be read, suppose i want
to read screenshot of the device programatically.

As i can see only 2 possibilities.

1.Use something like droidscreen - Java app
2.Direct access framebuffer ..

I wanted to know if there exists any 3rd opportunity for doing it
neatly.

Regards
Girish



On Sep 28, 2:44 am, Dianne Hackborn <[email protected]> wrote:
> No.  And there is no guarantee about what the format will be, in fact it may
> not be anything you coud possibly interpret (such as non-planar).
>
>
>
>
>
>
>
>
>
> On Tue, Sep 27, 2011 at 2:51 AM, Girish <[email protected]> wrote:
> > Dear all,
>
> > Is it possible to tap the composed data which is given to framebuffer
> > at android framework level ? In which format it will be RGB565 ?
>
> > I tried doing the same at
>
> > FramebufferNativeWindow.cpp -> int
> > FramebufferNativeWindow::queueBuffer(ANativeWindow*
> > window,android_native_buffer_t* buffer)
> > {
> > int res = fb->post(fb, handle);
> > fwrite(handle, sizeof(char),fb->width*fb->height*3/2 ,fpRGB);
> > }
>
> > But this doesnt work.
>
> > Regards
> > Girish
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> 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.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to