I've tried android-screenshot-library and it works if I start its daemon from adb on my computer. But no app up till now can take screenshot without the help of a computer and without root permission at the same time.
On Aug 17, 9:01 pm, Appaholics <[email protected]> wrote: > Extract from my tutorial: > > Let us move on to the phone now. You can use the method shown above as well > by connecting your device. There are however simpler ways. I will now tell > you about two apps that allow you to take screenshots. The likelihood of > these working depends on your phone manufacturer and how much freedom they > give you. They will certainly work on rooted devices. The apps are Screenshot > It<https://market.android.com/details?id=com.edwardkim.android.screensho...> > and ShootMe <https://market.android.com/details?id=com.bw.picme.local>. > Just install them, set your preferences and use them!! Comment with success > or failure of these apps with your device name, Android version, and whether > it is rooted or not to help others. > > Both of the aforementioned apps work without root on a lot of devices. If it > works on yours then leave a comment on the tutorial fro others to see. > > Thanks > > > > > > > > > > On Wed, Aug 17, 2011 at 6:28 PM, Carl Lee <[email protected]> wrote: > > Thank you but that is not what I want, what I want is to get > > screenshot from the device without > > the help of a computer and without root permission > > > On Aug 17, 8:47 pm, Appaholics <[email protected]> wrote: > > > There is a tutorial on that at my sitehttp:// > >www.appaholics.in/lets-take-a-screenshot/. > > > > Thanks > > > > On Wed, Aug 17, 2011 at 6:08 PM, Carl Lee <[email protected]> wrote: > > > > >http://android.git.kernel.org/?p=platform/system/core.git;a=tree;f=ad. > > .. > > > > > I was reading these source code from android git, because I want to > > > > use a feature of Android Debug Bridge - screenshot. > > > > Most screenshot apps on market needs Root permission, which I don't > > > > like very much. > > > > >http://code.google.com/p/android-screenshot-library/ > > > > After some googlings and researches, I found this small library that > > > > allows me to take screenshot without root permission. > > > > But at last I found out it needs user to install Android SDK, and > > > > install a native program onto device using adb tool from a computer. > > > > This is what I wanted, neither. > > > > So after reading this library's code I found out what it does is > > > > really simple, read from "/dev/graphics/fb0" and decode it. > > > > The key of this library is to have the "shell" user permission. > > > > > After reading some of the code and docs on Android Debug Bridge's git, > > > > I found it is possible to communicate with the adbd (which runs on the > > > > device when "Application->Development->USB debug" is selected) through > > > > a socket interface. > > > > I tried it on a emulator and it works!! > > > > Unfortunately, most devices don't have that socket open. Instead, most > > > > devices listens on USB device instead of socket. > > > > Since I am some kind of a "C" noob, I am wondering if I am still able > > > > to communicate with the adbd daemon from a process that only has > > > > normal Android application permission and take a screenshot through > > > > that interface? > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" 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-developers?hl=en > > > > -- > > > -------------------- > > > Raghav Sood > > > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles > > > required to have complete control) > >http://www.raghavsood.com/https://market.android.com/developer?pub=Ap... > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" 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-developers?hl=en > > -- > -------------------- > Raghav Sood > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles > required to have complete > control)http://www.raghavsood.com/https://market.android.com/developer?pub=Appaholicshttp://www.appaholics.in/ -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

