Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

So I'm writing this simple script to pull the process ID of my app, and then run the "top" command with the value I pulled as the -p argument. The goal is to run the "top" command ...
mbob98's user avatar
  • 71
1 vote
0 answers
108 views

I have developed an android application using java on an android studio. And now I need to implement the python script for a part of the backend functionalities. I want to access the data from our ...
krishna's user avatar
  • 409
0 votes
1 answer
3k views

I need a bump in the right direction here. I want to write a script that will scroll up or down, maybe unlock the screen ( no lockscreen security set ) every 30 minutes or so. Also if possible I'd ...
fluffehStack's user avatar
3 votes
1 answer
10k views

My Requirement is : App A will Run shell script(myshellscript.sh) that is already in "system/bin" location and shell script will install App B that is stored in "sdcard/Download" location and will ...
Rishikesh pathak's user avatar
0 votes
2 answers
4k views

I am in the process of migrating my scripts from python SL4A to QPython (can't get SL4A to work on android lollipop). I can't save a file to the disk So I am using: with open("foo.txt" ,"a") as f:...
user850498's user avatar
0 votes
1 answer
153 views

I'm trying to draw an Arc in AndroidScript on the canvas. Does that method exist? Thanks, Dan [they're making me add more to the question, so here you go]
ProGrammar's user avatar
0 votes
1 answer
420 views

I'm working on a fully-featured, basic classic RPG (JRPG) using the Android "Javascript" IDE--AndroidScript (which is great!). However, this program is getting a little large for one file (700 lines). ...
ProGrammar's user avatar
0 votes
2 answers
371 views

I'm working on a fully-featured, basic classic RPG (JRPG) using the Android "Javascript" IDE--AndroidScript (which is great!). Here's a few questions to start off: (I'm going to ask in separate ...
ProGrammar's user avatar
3 votes
1 answer
3k views

Does Google still support SL4A for Android. I have created an apk file for SL4A which is A6 using the old source code, could anyone kindly let me know if the source code for SL4A is available for ...
Jegadeeshan's user avatar
1 vote
1 answer
2k views

My android app launches a script using Runtime.exec(). The script in turn runs a command that starts a process. I want to capture the pid of that process, so I can keep track of its status and kill it ...
MidnightJava's user avatar
  • 2,057
2 votes
0 answers
121 views

I am rendering an html file using webview in my Android application. I am also using some javascript functions to handle the contents. Is there any way to inspect the html content (like the inspect ...
Jithu.S's user avatar
  • 88
0 votes
1 answer
629 views

I have an philips w626 dual-sim android 2.3.5 phone. When I manually turn on data connection, SIM selection dialog appears and I have to choose what Card should data be switched on. And exaclty this ...
user1748070's user avatar
2 votes
1 answer
1k views

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 ...
alexeyprog's user avatar
0 votes
1 answer
798 views

I have an application with WebView I tried to load external data via Ajax (Get) but it failed with no errors, tried JSONP and failed with no errors too. Now here are more info: When my External ...
Shehabic's user avatar
  • 6,897
1 vote
1 answer
1k views

My main aim is to run a something like below from within an Android application: $(normal mode)su #(root mode) chmod 777 <some file> But the problem here is as soon the shell changes from $ --> ...
user avatar
2 votes
5 answers
4k views

I want to get list of installed software on remote computer.For that I want to use python script in my android application.Now,I have a python script which is getting the list of installed software on ...
krushnakant's user avatar
0 votes
2 answers
1k views

I've downloaded the latest available version of python interpreter here. Now, how can i start scripting in python on my phone? The apk (r4) that i've installed is has not any other option than ...
Pabluez's user avatar
  • 2,825
20 votes
4 answers
3k views

I'm trying to develop a simple app using Android Scripting and Python. Now, I have a phone number, and I want to find out which contact has that number. I can do a contactsGet() and search for ...
utdemir's user avatar
  • 27.3k
1 vote
1 answer
485 views

I have 2 classes - Buttons_Class - Display_Class On the screen I show a few Buttons and a TextView at all times. The Buttons class sends a startActivityforResult to the Display class with a string ...
EliFromToronto's user avatar
0 votes
1 answer
161 views

I am building an application that has 2 classes - Buttons_Class - Display_Class I want to keep them as separate classes. When the user clicks on a button the OnClick routine in the Buttons_Class ...
EliFromToronto's user avatar
0 votes
2 answers
101 views

I'm confused how the the android scripting enviornment is supposed to work. Is there a relatively easy way to include python scripts that I run from my java code without making the users download any ...
Falmarri's user avatar
  • 48.7k
9 votes
2 answers
12k views

Can someone point me to a tutorial on using the android scripting enviornment? I've seen plenty of tutorials on how to write python code using the android API especially from http://code.google.com/p/...
Falmarri's user avatar
  • 48.7k
0 votes
1 answer
4k views

I know you can use python and other scripting languages in android. But I haven't seen weather or not it was possible to use python as an interface to sqlite in android. Is this possible? This is the ...
Falmarri's user avatar
  • 48.7k
7 votes
2 answers
5k views

I want to install a python package from source on android. Is this possible? I tried in the console to run the py install files, but distutils (.core, ccompiler) isn't being found. Is it possible to ...
V_H's user avatar
  • 1,793
4 votes
1 answer
818 views

I am trying to run a python script through an application I've written. I found some pages which say that this piece of code is doing it, but I can't figure it out. http://code.google.com/p/android-...
V_H's user avatar
  • 1,793
2 votes
1 answer
301 views

I am working on am Android Scripting Environment (ASE) script in Python to replicate an iPhone app. I need a device UID of some sort. My thoughts where a salted MD5 hash of the MAC address or device ...
creuzerm's user avatar
  • 830
8 votes
1 answer
920 views

I learned that the Android Scripting Environment (ASE) supports python code. Can I take my existing python programs and run them on android? Apart from the GUI, what else will I need to adapt? How ...
Mascarpone's user avatar
  • 2,578
2 votes
1 answer
931 views

Could someone explain how to use the Timer.schedule - that is used for scheduling tasks - in Python? Note that Python's time.sleep will not work in Android.
Sridhar Ratnakumar's user avatar
15 votes
5 answers
6k views

Here's my Python script written using android-scripting: import android, time droid = android.Android() interval = 1 # every 1 minute while True: # define your own vibrate pattern here ...
Sridhar Ratnakumar's user avatar
5 votes
1 answer
1k views

Downloaded ASE from google code, and was looking through tutorials, and available scripts. I found a script I wanted to try, however copy pasting it is removing all whitespace (and this is a Python ...
Brett Allen's user avatar
  • 5,557
8 votes
1 answer
12k views

Given that scripting is not natively supported in Android and wrapping libraries like javax.script.ScriptEngine into your app will make it too large, is it possible to send a javascript string to an ...
Tawani's user avatar
  • 11.3k
2 votes
1 answer
1k views

I'd like to use python scripts as plugins for an app I'm developing. This seems to be possible by interacting with android-scripting-environment (ASE), as is done by Locale, but I haven't found any ...
Joakim Lundborg's user avatar
2083 votes
23 answers
781k views

We are working on an S60 version and this platform has a nice Python API.. However, there is nothing official about Python on Android, but since Jython exists, is there a way to let the snake and the ...
Bite code's user avatar
  • 601k