jb69 / android-screenshot-library

Automatically exported from code.google.com/p/android-screenshot-library
Other
0 stars 0 forks source link

takescreen #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  I run in cmd “adb shell "/ data / local / asl-native"” , when i press 
the "Take screenshot"in my phone, screen shots can be successful, but, 
asl-native service is stopped,It "shows Native service not found", after the 
start of each service only successful of one time
2.  When I start asl-native service in android code:
   java.lang.Process process = Runtime.getRuntime().exec("su");
    DataOutputStream os = new DataOutputStream(process.getOutputStream());
   os.writeBytes("chmod 0777 /data/local/asl-native" + "\n");
   os.writeBytes("/data/local/asl-native" + "\n");
   os.writeBytes("exit\n");
   os.flush();
   os.close();
when i press the "Take screenshot"in my phone,it still  ,asl-native service is 
stopped and "shows Native service not found".
3.Each screenshot, the height of the image is fixed, and can only display a 
little picture of the head

What is the expected output? What do you see instead?
Please tell me how to solve...

What version of the product are you using? On what operating system?
I'm using asl-native1.2 ,OS:windows7

Please provide any additional information below.

Original issue reported on code.google.com by 234953...@qq.com on 15 Oct 2012 at 3:54