DmitriyDogaev / android-screenshot-library

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

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 #24

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:56

GoogleCodeExporter commented 8 years ago
I am facing the same issue ... I check whether the service is running in 
Android it shows it is running ... but still I get the Native service not found 
... any help please ?

Original comment by raviteja...@gmail.com on 14 Feb 2013 at 3:41