[android-developers] Re: How to screen capture through fb0 on galaxy nexus?

2012-09-23 Thread Bin Wang
I have same issue too!!! Do you figure it out? On Thursday, February 16, 2012 11:11:40 AM UTC+8, Prolific MI wrote: I cat dev/graphics/fb0 /data/local/picture Nexus S with Android 4.0.3 is OK. but galaxy nexus is failed.(all raw data is zero) Can you tell me how to get fb0 on galaxy

[android-developers] Re: How to screen capture through fb0?

2012-03-22 Thread bafett
the reason is that:the frame buffer supports page-flip(double framebuffer).so you can't get the right address. On 2月14日, 下午5时40分, bluestar bluestar8...@gmail.com wrote: Dear Sir: I use the source code from frameworks\base\cmds\screencap to do screen capture If using

[android-developers] Re: How to screen capture through fb0?

2012-03-22 Thread Pent
shot, and as of 3.0 the command for taking a screen shot and internal Java implementation use a different mechanism that always qworks. What is the 'command for taking a screen shot' ? Thanks, Pent -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to screen capture through fb0?

2012-02-21 Thread bluestar
Dear Sir: I use screencap to get and it works well, but change screenshot to fail I study source code of screencap, and it uses ScreenshotClient class that passing through SurfaceFlinger to work well, but screenshot that using /dev/graphics/fb0 can't work

[android-developers] Re: How to screen capture through fb0?

2012-02-16 Thread sky tree
Dear Sir: I found the same GPU type(SGX 540) in Nexus S and Galaxy nexus, the I don't know why the Nexus S can work but Galaxy nexus can not. Could you give me some suggestion and commend? thank you so much, BRs, Allen On 2月15日, 上午5時39分, Dianne Hackborn hack...@android.com wrote: This

[android-developers] Re: How to screen capture through fb0?

2012-02-16 Thread sky tree
Dear Sir: I found the same GPU type(SGX 540) in Nexus S and Galaxy nexus, the I don't know why the Nexus S can work but Galaxy nexus can not. Could you give me some suggestion and commend? thank you so much, BRs, Allen On 2月15日, 上午5時39分, Dianne Hackborn hack...@android.com wrote: This

Re: [android-developers] Re: How to screen capture through fb0?

2012-02-16 Thread Dianne Hackborn
I suggest you use what I told you. Direct access to the frame buffer has been a hack that kind-of works; it is not the correct way to take a screen shot, and as of 3.0 the command for taking a screen shot and internal Java implementation use a different mechanism that always qworks. 2012/2/15

[android-developers] Re: How to screen capture through fb0?

2012-02-14 Thread lbendlin
as far as I remember you need a rooted phone to have access to fb0 -- 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