Questions tagged [qpython]

Python scripting facility for Android

QPython is a Python scripting engine running on Android. It embeds the python interpreter, console, editor and the SL4A library for Android, which can allow you to use your Android device to write & run python scripts or projects.

221 questions
0
votes
1 answer

Scripts won't run on QPython3

I'm trying to run scripts on qpython3, android 5.0.1 and when executing the scripts nothing happens. Even the example scripts that are installed with the app. Interactive mode/running commands in console does work, only scripts don't. What could be…
Ido Wolf
  • 181
  • 1
  • 2
  • 8
0
votes
2 answers

Incoming call in Android with Qpython

Im trying to get incomingcall number with qpython on android 4.4.3 Already try this: import androidhelper w=1 while (w == 1): droid = androidhelper.Android() droid.startTrackingPhoneState() phonest = droid.readPhoneState() number =…
alien4u
  • 1
  • 2
0
votes
1 answer

QPython error: 'Needs more than one value to unpack'

I started programming on my Android with Qpython and kivy. But every time i run this code, it teels me that I need more than one value to unpack. What did I do wrong? Here is the code: from kivy.app import App from kivy.uix.widget import Widget from…
Noe
  • 3
  • 4
0
votes
1 answer

QPython3 on Android read and write txt file

I am writing a little python textbased game on my android phone with qpython3. Now I want to store the highscores in a txt file but I can't find out how I can realize this. I know how I can do it on windows but it doesn't work on android. Hope…
Kevin Kreps
  • 560
  • 6
  • 18
0
votes
2 answers

How to import from saved QPython file?

With QPython on Kindle fire .. I use QEdit to write & save a .py file .. say bob.py .. But when I switch to Console, I can't IMPORT from bob .. Can someone tell me how to do this? John (new to QPython)
0
votes
3 answers

Send SMS QPython

So i am rather new to Q Python and android scripting and i am stuck trying to test out sending text messages. i have done some other simple things. here is my code below. the actual script has my own number in it so i am trying to send a message…
Peter3
  • 2,549
  • 4
  • 20
  • 40
0
votes
2 answers

How Can I Write/Run Python On Galaxy Note 3? And What Is SL4A?

For reasons not understood by most, I'm trying to write/run python code on my Galaxy Note 3. So far, I've installed the apps: "QPython", "Script Launcher", and "Droid Edit". In QPython, whenever I run a script, it takes me to a terminal looking…
Jason T. Eyerly
  • 183
  • 1
  • 6
  • 18
0
votes
2 answers

Starting a new django project on qpython

I have installed qpydjango on my android phone and the sample project works perfectly. I have been trying start a new project(django website) but have not succeeded. I've tried running "django-admin.py startproject mysite" but I get this error…
njmwas
  • 1,111
  • 14
  • 15
0
votes
0 answers

Running OpenCV Python code on Rooted Android

I tried using QPython, but had difficulties in installing numpy, let alone OpenCV . Is there anyway I can run my OpenCV code on android? I have read this answer, Is there a way to run Python on Android? , however, I need to know if OpenCV is…
GradStudent
  • 166
  • 1
  • 3
  • 12
0
votes
1 answer

QPython Kivy application running in service

I have an application that controls the A/C in my car. I use Kivy + Python for development. Now I need to make it running even if it is minimized. It works on Windows (obviously), but now I want to move it to Android tablet (Nexus 7). So I should…
0
votes
1 answer

Is there any command in api reference for python about nfc

I am working on android, i am new to it. i tried all facades in the api reference of android-python. there are commands for bluetooth,wifi,camera.But, there is no command for nfc to check whether it is on or off or anything. i want to know is there…
Krish gopi
  • 155
  • 4
  • 12
0
votes
1 answer

NFC to read the tag and paste the UID where ever we want

I have Nexus 7 tablet which is NFC enabled, with using of Android NFC apps in that I am able to read the UID of the NFC tag. But what I want is when the NFC tag is showed to tab UID should copy and it should paste where ever the cursor at that point…
PSSR
  • 471
  • 1
  • 10
  • 18
0
votes
2 answers

ImportError: No module named _csv . Qpython for android logs

I put goog_appengine inside android located at /mnt/sdcard I also put wsgiref folder at same location. from Qpython I manage to "send control key" + "d" I got sh $ I put command like the ff: "$python /mnt/sdcard/google_appengine/appcfg.py" But Igot…
-1
votes
1 answer

Join columns to a table in parallel

Currently I use a function to run an aj join for a single column from a large table on to a smaller table which has its time column shifted t milliseconds ahead, joining on a sym column as well as time. I then compute and programatically name a new…
foam78
  • 264
  • 1
  • 8
-1
votes
2 answers

Force killing of q session after query is done

I am trying to force killing (not closing) a q session once my query is done to save resources on my machine. It is currently working using: conn.sendAsync("exit 0") Problem is, if I run a query right after it again (trying to reopen the connection…
JejeBelfort
  • 1,593
  • 2
  • 18
  • 39
1 2 3
14
15