2

Is there a way to use android.py module without installing SL4A?

I mean I have Python running on android successfully from Terminal Emulator. Can I use that module without installing that layer (or if I can't install it anymore)?

2
  • if android.py doesn't depend on any other SL4A libraries, you can copy it in python lib and start using... Commented Oct 30, 2012 at 10:47
  • @avasal: unfortunately, it needs some connection that sl4a creates when starts the server. Commented Oct 30, 2012 at 20:05

1 Answer 1

2

No, because the SL4A package provides the facade to make device API calls, acting as a middleman. Without it you might be able to import it, but you could not be able to make any API calls.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you very much! That is the answer I've been waiting for. But not the one I would be satisfied with.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.