Questions tagged [sl4a]

Scripting Layer for Android, a library for executing scripting languages on Android

Scripting Layer for Android (SL4A) brings scripting languages to Android.

Currently supported languages are:

Soon: Scheme and Squirrel

233 questions
0
votes
1 answer

Writing Android application using GPS data with Python

I want to write an Android application using Python. I've found 2 options for that: kivy and SL4A. In kivy, at least for now, I can't use the GPS data. Anyone knows if I can get the GPS data using SL4A with Python? As I understood, one can write…
Noam Peled
  • 4,484
  • 5
  • 43
  • 48
-1
votes
1 answer

Android Errno -2

I have a script that I want to run on my Android phone using the ADB and SL4A. This script worked fine on my Windows machine but when I've tried it from Linux I get the following error: Traceback (most recent call last): File "test_device.py",…
Woody1193
  • 7,252
  • 5
  • 40
  • 90
-1
votes
2 answers

How can I push a python script onto my android device?

I am trying to figure out how to push a script I wrote in python to my android device. I am not using an emulator I am using an actual device. I thought I might be able to do it using adb to push it but I can't seem to figure it out. Also I have…
-1
votes
2 answers

How can I delete an sms straight after it is sent on android with SL4A?

I have a small company and I wanted to make a rather simple python3 program that will run on my phone on Qpython3 using SL4A. The purpose of it is to send group SMSs to my customers with offers (whose phone numbers I store in a list) from my…
-1
votes
1 answer

python: Delete all SMS from tasker with SL4A

I'm trying to delete all text messages, both sent and received from Tasker on an Android Galaxy S4 M919 Rooted from tasker, by saving it as a .sh file in Sdcard/sl4a What is the code needed to put in SL4A Script, for Tasker to find? so far I have…
adam
  • 1
  • 2
-1
votes
1 answer

calling HTML using webViewShow in sl4a

trying out some basic html scripts with sl4a and my python application can't seem to call the HTML... trying to send data from a small form in the HTML over to the python side here's the HTML
Sean Perez
  • 99
  • 1
  • 12
-2
votes
2 answers

Get list of all apps with QPython / sl4a

Does anyone know how I can get a list of packages from all apps installed on Android using Qpython? My goal is to list all apps and be able to run, using getLaunchableApplications() and the "launch" function until I could open some, but it does not…
-2
votes
1 answer

Windows equivalent of sl4a

I'm teaching myself Python and have been experimenting with sl4a to interact with Android features like GPS and text to speech with codes like import androidhelper droid = androidhelper.Android() location =…
1 2 3
15
16