Hi,
I've been looking a way to take screenshots from a service, and I've found that there is no way on android to take screenshots of other apps (here; I could't find the "many other threads" referring to that maybe because the word "screenshot" is used in many contexts). I've trying for hours using and example with JavaObjects I've found here, getting exceptions, until I've found (I believe) that the example is made for B4J because some "awt" libraries doesn't exist on android (true?).
Looking for a bit more I've found some java class that claims to take screenshots on android without even being the device rooted (here). I've read the manual to convert that java code into a b4a library but I think I'ts too much for me since 1) I don't know java (that's why I'm using b4a) and I have difficult following the library creation tutorial, 2) I don't even have eclipse installed and 3) I'm just playing around to get familiar with b4a; it's not like I'm learning java for this; this "project" doesn't worth installing eclipse on my overloaded-developer-pc.
So, because maybe is useful for someone (it would be for me), now or in the next years, someone could convert the java library provided into a b4a library before I do it when I get time (sometime after 2018 I think)
Also; would that library be able to take screenshots, once converted? Or with just a look one could say it won't work?
Regards!
I've been looking a way to take screenshots from a service, and I've found that there is no way on android to take screenshots of other apps (here; I could't find the "many other threads" referring to that maybe because the word "screenshot" is used in many contexts). I've trying for hours using and example with JavaObjects I've found here, getting exceptions, until I've found (I believe) that the example is made for B4J because some "awt" libraries doesn't exist on android (true?).
Looking for a bit more I've found some java class that claims to take screenshots on android without even being the device rooted (here). I've read the manual to convert that java code into a b4a library but I think I'ts too much for me since 1) I don't know java (that's why I'm using b4a) and I have difficult following the library creation tutorial, 2) I don't even have eclipse installed and 3) I'm just playing around to get familiar with b4a; it's not like I'm learning java for this; this "project" doesn't worth installing eclipse on my overloaded-developer-pc.
So, because maybe is useful for someone (it would be for me), now or in the next years, someone could convert the java library provided into a b4a library before I do it when I get time (sometime after 2018 I think)
Also; would that library be able to take screenshots, once converted? Or with just a look one could say it won't work?
Regards!