Questions tagged [python]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

Install Python to run speedtest-cli on android phone with no access to device - via adb

I want to install python on an android phone (the phone is connected to a pi so I don't have any GUI or physical access to the device). I can connect to the phone via adb shell and run/install ...
0
votes
0answers
23 views

Reliable way to send sms to google sheets

apologies if this is the wrong place. I have a temperature sensor, which every hour sends an SMS to my android phone, using IFTTT this then gets sent to a google sheet, from there I have a python ...
0
votes
0answers
24 views

Where is usually located the Python Interpreter on Android devices?

I have installed qpython. Just don't know what exactly is an interpreter neither where should i look for it on Android devices. Thanks
0
votes
0answers
42 views

Error when using MobSF

When I run MobSF, I get a lot of DEBUGs, as shown in the screenshot below. I tried to run both with the indication of the port (8000), and without specifying. I will be grateful for the help.
0
votes
0answers
69 views

How to install pyalsaaudio

Using pip in Pydroid 3 (running under Win10 Memu) I am trying to install pyalsaaudio. The build fails with "no such file" for "alsa/asoundlib.h". Other Linux distros suggest installing libasound2-dev ...
1
vote
0answers
136 views

Termus/Python - How to mark unread SMS messages as read?

I made a simple SMS reader script with Python and Termux/Termux API (I use termux-tts-speak to read the messagees and execute the script from Termux). The script reads messages (with termux-sms-list) ...
1
vote
1answer
319 views

Python on android (not the usual solutions)

I'm trying to get Python 3 to run natively on android. By "native" I mean native Linux, just Androids variation of it. I'd like to be able to simply open a terminal and type "python /path/to/script.py"...
1
vote
1answer
396 views

Unable to install PyCrypto

I'm installing PyCrypto because it is a dependency of another package. The installation always ends in an error in Termux (pip install pycrypto): Command "/data/data/com.termux/files/usr/bin/python -...
1
vote
2answers
2k views

How can I run a python script in terminal emulator?

I tried running a python script in terminal emulator (app) with "./script.py" and I get an error saying "permission denied" so I googled how to do this and it said I have to download a file called ...
2
votes
2answers
1k views

How to install python in android rooted device?

I am trying to install python in my android device but it fails. For references i have used scripting language for android and python for android apks from the below link: https://github.com/...
0
votes
2answers
37k views

Android Emulator - INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113

When I try to install an apk file through the monkeyrunner Python script, getting the error INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113. How can I resolve this issue? ...
0
votes
3answers
2k views

Downloading using youtube-dl and QPython on Android

I used this tutorial to install youtube-dl and QPython on Android But when I run the command youtube-dl https://www.youtube.com/watch?v=D5nxkynkSDI It throws the following error: [youtube] ...
0
votes
2answers
452 views

How to install python on my Android GT-P7510?

My Samsung tablet 10.1 GT-P7510 is running Android 4.0.4. I have root access to the device. What is the best way to install python on my device. I have tried QPython - Python for Android however ...
0
votes
0answers
869 views

How to access GNURoot Debian executables from outside the app?

I've just setup GNURoot Debian and I could install Python 2.7. However, I'd like to run Python 2.7 outside of the GNURoot Debian Terminal Window. For example, if I ssh into the device, I'd like to be ...
0
votes
1answer
1k views

How to enable pip, QPython to write to Android filesystem?

I have been following this guide to install youtube-dl on my Android phone. http://www.arulraj.net/2015/11/download-any-videos-in-android-using-youtube-dl.html However, when downloading the videos, ...
2
votes
0answers
4k views

ipython notebook on android

im trying to run ipython notbook on my android. Followed this link: http://forum.xda-developers.com/nexus-7-2013/general/ipython-jupyter-notebook-android-t3037226 it worked fine but the kernel is ...
-1
votes
2answers
151 views

Invoking in the terminal

I have downloaded Python 3 and a terminal emulator. But when I type python3 in the terminal, it says "not found". How do I run the python interactive shell inside the terminal?
0
votes
1answer
428 views

Android Tethering - Shell To Python Code (SL4A API)

I know I can convert how I call an activity from within a shell to python code. So given the correct code can someone help me in that conversion? I know I can use pyjinus so that should be another ...
0
votes
2answers
1k views

How to display Python script output on screen, similarly to Conky

I use Conky as a desktop monitoring software. I also use it to monitor stock prices and portfolio net worth through a Python script. Basically, I fetch the stock prices from Yahoo Finance using curl....
1
vote
1answer
1k views

How install python interpreter on an android device

I cant download the http://code.google.com/p/android-scripting/ because in my country is block this URL. Where can I install the python app for android
1
vote
1answer
761 views

Python 3 on Android using TerminalIDE

I want to code Python 3 on my Android device. So I went through Lanky Cyril's blog post on using the Terminal IDE to put all that I needed to do code on an Android terminal. For Python 2.X that is ...
0
votes
1answer
4k views

Check if an app is installed on the device

I'm trying to use the package name and determine the apk path of an app to check if my app is installed in the device. pathCmd = './adb shell pm path ' + packageName pathData = os.popen(pathCmd,"r")...
0
votes
0answers
2k views

Using Popen to invoke adb sendevent

I am running into a strange issue, running adb shell sendevent x x x commands from commandline works fine, but when I use any of the following: subprocess.Popen(['adb', 'shell', 'sendevent', 'x', 'x',...
1
vote
1answer
997 views

Python with matplotlib

Is there a way to set up python 2.7.x + matplotlib on a tablet so that you can run simple standard python code? I would like to be able to run the same scripts I run on my Linux desktop,