Re: [android-developers] Android screen capture delay due to writing data in the file..

2013-09-26 Thread 12169
Hi, i do not have understanding of native developement. can you read data directly from fram-buffer which actually hold the data while capturing the image. On Wednesday, September 18, 2013 5:03:19 PM UTC-7, Baodong Chen wrote: Of course you can,but you should use native code to do that,

[android-developers] Android screen capture delay due to writing data in the file..

2013-09-18 Thread ashish
Hi, I have a rooted device and i successfully capture the screenshot of current screen.and use the below code. Process process = Runtime.getRuntime().exec(su); DataOutputStream os = new DataOutputStream(process.getOutputStream()); os.writeBytes(/system/bin/screencap -p +

Re: [android-developers] Android screen capture delay due to writing data in the file..

2013-09-18 Thread Cg
Use toast. ashish ashish.a...@gmail.com wrote: Hi, I have a rooted device and i successfully capture the screenshot of current screen.and use the below code. Process process = Runtime.getRuntime().exec(su); DataOutputStream os = new DataOutputStream(process.getOutputStream());

Re: [android-developers] Android screen capture delay due to writing data in the file..

2013-09-18 Thread Baodong Chen
Of course you can,but you should use native code to do that, SurfaceFlinger has interface for that! 2013/09/18 17:27 ashish ashish.a...@gmail.com: Hi, I have a rooted device and i successfully capture the screenshot of current screen.and use the below code. Process process =