Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Apr 10, 2015 · 10 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

1 similar comment
@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

Do you know what's the Solution ? 

Original comment by tonasiri...@gmail.com on 16 Oct 2012 at 8:54

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

who know the reason ? please help me ...
234953769@qq.com

Original comment by 234953...@qq.com on 17 Oct 2012 at 5:22

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant