Well I'm not quite sure what you actually want, but if you just want to
capture the screen - user lever, there is a way: press the sleep button
while pressing the home button. A screen capture will appear in the picture
gallery (works on lg p970 - didn't test is otherwise)
Or if you wish to capt
On Mon, Jun 13, 2011 at 4:26 AM, rich friedel wrote:
> And you address that here:
>
> If/when we do have an API for an application to take a screenshot, this will
> probably be something along the lines of making a request for the
> screenshot, resulting in the system taking the screenshot and sho
I am only throwing the permissions thing out there as it was the easiest to
illustrate my point. I fully understand the implications of an app having
the ability to take a screenshot. However, sometime this is a reasonable
need by a user. What I was trying to say is that there must be a better w
You are significantly under-stating what you can do with the ability to take
a screenshot at any time. This basically lets you see whatever the user is
doing. For example it would be quite feasible to wait until you determine
the user is needing to enter their password and start taking screenshot
On Sun, Jun 12, 2011 at 12:58 PM, Mark Murphy wrote:
> I suspect that part of the reason why user-level screenshot capability
> is not in the OS is to make damn sure that there's no way via
> reflection or other games that somebody could programmatically invoke
> it. That's just a guess, though.
>
I agree that an app taking a screenshot of extremely private information is
a high security risk. However, how is that any different than allowing an
application access to my contacts, browser, phone state, etc... As an
example take LauncherPro, because it is a complete launcher it requires
nea
On Sun, Jun 12, 2011 at 3:10 PM, rich friedel wrote:
> What security implications arise from allowing the device to take screenshots?
Allowing the user to take screenshots would not be a problem, in isolation.
Allowing an SDK application to take screenshots of itself presumably
would not be a pr
What security implications arise from allowing the device to take screenshots?
I see that line of reasoning toss about a lot to describe why something doesn't
work automatically.
I don't understand why this couldn't be something that is normally available...
all it would require is a simple per
The Samsung Galaxy Tab 7" does support screenshots, albeit unelegantly
- while holding down Back, press Power. You may have to go into
another activity first before pressing Back and hitting Power at the
same time LOL.
On Jun 9, 2:07 am, Adam Ratana wrote:
> I just checked this approach out as a
Reporting back, as far as specifically capturing camera preview output to a
bitmap and following the prior examples to draw, this is definitely
possible. There's some interesting things going on that may be helpful for
others:
1. Camera preview size varies, some phones (such as the Samsung Ga
On Wed, Jun 8, 2011 at 2:07 PM, Adam Ratana wrote:
> Mark Murphy, you said this is impossible, did you mean in the sense of the
> way DDMS grabs the full-monty screenshot?
Um, for some definition of "full-monty", I presume, yes. :-)
> I do hope that Android Handset/Tablet manufacturers catch on
I just checked this approach out as a user had emailed me asking about
screenshot capability. This definitely does the trick, but a another poster
pointed out, any output from certain components (in my case the camera
preview surfaceview) does not show up.
Perhaps the correct approach then is t
On Wed, Jun 8, 2011 at 6:57 AM, Bharathi raja
wrote:
> Same thing i wanted to do it on phone without connecting to pc.
What you want is impossible, for security reasons.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twi
Same thing i wanted to do it on phone without connecting to pc.
On Wed, Jun 8, 2011 at 10:47 AM, harsh chandel wrote:
> go to ddms select device on top you have options for getting the
> screen capture for device
> click on capture then save it wherever you want
>
> On Jun 7, 7:56 pm, Bharathi
go to ddms select device on top you have options for getting the
screen capture for device
click on capture then save it wherever you want
On Jun 7, 7:56 pm, Bharathi raja
wrote:
> Hi,
> thanks for ur sample code.
> As i said, they are some application screens made up of graphics component.
> F
Hi,
thanks for ur sample code.
As i said, they are some application screens made up of graphics component.
For eg. Gallery3D application, all the component there in screen are
graphics component. (those component can't see through hierarchy viewer
tools)
Can't test it through robotium.
Only way to
Well after much trial and error I managed to capture the entire layout or
activity
using the following code
View myView = findViewById(R.id.form);
Bitmap bmp= Bitmap.createBitmap( myView.getMeasuredWidth() ,
myView.getMeasuredHeight() , Config.ARGB_);
Canvas canvas = new Canvas(bmp);
Hi,
Thanks for sharing code.
Code u shared will capture the entire screen, even if it is not widget
component.
[mean screen may have android or flash or web component]
i wanted to capture all the three.
Regards,
Bharathiraja R
On Fri, Jun 3, 2011 at 1:39 AM, New Developer wrote:
> Okay I outpu
Okay I output my bitmap to file as PNG and it only shows the visible
portion of the layout
What is currently seen on the screen not the entire layout.
So would I change the onClick Code to capture the entire layout ?
thanks in advance
On Jun 2, 3:35 pm, New Developer wrote:
> I'm trying to
I'm trying to do something similar
Inside my button's OnClick I have
ViewmyView = arg0.getRootView();
myView.setDrawingCacheEnabled( true );
mPDF.addImage( myView.getDrawingCache() );
I'm hoping this will capture the screen to a bitmap
my PDF.addImage is as follows:
public void
Your process will need permission to do that. ADB has it by default,
but regular apps don't. Unless you're rooted, you can't do that.
On Jun 2, 4:27 am, Bharathiraja R
wrote:
> Hi All,
>
> Want sample code to capture screenshot of current screen from phone,
> same like ddms (screen capture).
> Pl
21 matches
Mail list logo