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

Nicer portable solution for installing the native component #3

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

Comments

@GoogleCodeExporter
Copy link

What feature is requested?
Use SDK 2.3s monkeyrunner and python for cross-platform single solution to 
install the native component
* Most likely Python UI libraries can be used to trigger the installation.
* We might also think about having an add-on to Android's SDK to integrate well 
with SDK?
* Maybe even extending ADT would be an option?

Which version it applies to ?
1.2

What will be the benefits from having the feature?
Easier installation for the users.

Original issue reported on code.google.com by ja...@potiuk.com on 6 Jan 2011 at 3:24

@GoogleCodeExporter
Copy link
Author

Original comment by karol.ku...@polidea.pl on 14 Jun 2011 at 1:23

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

My current solution was to have the asl-native file in my apps assets 
directory, then from the app, run shell commands:
(suRun(String command) is a method I wrote to run shell commands from java)
private void InstallNativeService()
    {
        suRun("unzip -o /data/app/com.acs.screencap* *asl-native -d /data/local/tmp");
        suRun("mv /data/local/tmp/assets/asl-native /data/local/asl-native");
        suRun("chmod 0777 /data/local/asl-native");
        suRun("/data/local/asl-native");
    }

Original comment by parabola949@gmail.com on 29 Aug 2011 at 6:32

@GoogleCodeExporter
Copy link
Author

Hello parabola949@gmail.com

Could you please provice me with the source of your method "suRun".

I tested it like you but no success happens to me.

Thanks in advance.

Original comment by freemonh...@gmail.com on 13 Dec 2011 at 7:38

@GoogleCodeExporter
Copy link
Author

Let us know this way parabola..

Original comment by ccrro...@gmail.com on 27 Oct 2012 at 11:29

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