On Jul 21, 12:37 pm, matt wrote:
specifically i am writing a java program, that executes

adb pull /dev/graphics/fb0
Don't do that. While it works on some devices, it won't work on
others. There's an executable program called screencap or something
like that, which is what adbd uses to provide screenshots to ddms.

You really should look at the ddms sources and figure out how they are
doing it; otherwise you can try running that program from the shell
and capturing the data it dumps to stdout (though the path back might
not be binary clean?)

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupandroid-developers @
categoriesandroid
postedJul 21, '12 at 4:38p
activeJul 22, '12 at 1:30a
posts2
users2
websiteandroid.com

2 users in discussion

Chris Stratton: 1 post Matt: 1 post

People

Translate

site design / logo © 2019 Grokbase