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
Opened this issue · 10 comments
GoogleCodeExporter commented
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
Hi same problem I am facing in its demo > then i debug the code > its method
calls as isNativeRunning() line as sock.connect(..) giving exception as >
java.net.ConnectException: localhost/127.0.0.1:42380 - Connection refused . and
I am getting toast message as Native Service not found. > I test it on Samsung
Galaxy GT-I900 with Froyo and HTC with ICS . Please any suggestion ?
Original comment by tonasiri...@gmail.com
on 15 Oct 2012 at 2:38
GoogleCodeExporter commented
Do you know what's the reason
===>http://code.google.com/p/android-screenshot-library/issues/detail?id=25
Original comment by 234953...@qq.com
on 16 Oct 2012 at 3:32
GoogleCodeExporter commented
Do you know what's the reason
===>http://code.google.com/p/android-screenshot-library/issues/detail?id=25
Original comment by 234953...@qq.com
on 16 Oct 2012 at 3:32
GoogleCodeExporter commented
Do you know what's the Solution ?
Original comment by tonasiri...@gmail.com
on 16 Oct 2012 at 8:54
GoogleCodeExporter commented
I don't know a...
why the picture display a little head of the screen...
Original comment by 234953...@qq.com
on 17 Oct 2012 at 5:21
Attachments:
GoogleCodeExporter commented
who know the reason ? please help me ...
234953769@qq.com
Original comment by 234953...@qq.com
on 17 Oct 2012 at 5:22
GoogleCodeExporter commented
Hi my issue looks different as your . I am unable to take picture even its
small .I am trying its demo . . .
Original comment by tonasiri...@gmail.com
on 17 Oct 2012 at 8:24
GoogleCodeExporter commented
Anyone explain why its saying as Native Service not found ? I am testing its
demo . looks its not working .Saying message as "Native Service Not Found"
Original comment by tonasiri...@gmail.com
on 4 Nov 2012 at 10:13
GoogleCodeExporter commented
may be i had find the reason why it say the message "Native Service Not Found"
first i had see the file of run.sh----
$adb push ./asl-native /data/local/asl-native
$adb shell /system/bin/chmod 0777 /data/local/asl-native
then you need the most important step
adb shell
# /data/local/asl-native /data/local/asl-native.log
then, you can use the button to take screenshot
Original comment by weitao2...@gmail.com
on 30 Nov 2012 at 4:16
GoogleCodeExporter commented
Hi thanks for your comments , if you can explain the reason why we need to do
adb shell
# /data/local/asl-native /data/local/asl-native.log ?
I did't try to go with these steps yet if you can explain more please ?
I am not much expert with commands related language . . thanks again . .
Original comment by tonasiri...@gmail.com
on 10 Dec 2012 at 8:46