+ 2
Do Android devices have command prompt?
Is it possible to give an android device commands via "an android shell" maybe or some command line app?
12 ответов
+ 6
Bartas Dausynas 🤦♂ Bro I mean ,
$ python
python 3.6.5
>>> import tkinter
>>> root = Tk()
Just like this I wanna say . I means the Computer is the best option.
+ 4
Bartas Dausynas Like using python and any language in computer and laptop and in android is different, like you cant use tkinter, etc
+ 4
Youssef Atta'i Pydroid is amazing Even jupyter notebook and pygame also we use but I want to say about Terminal that in terminal you cant do such things, which a computer terminal can give. BTW thanks for replying
+ 3
Youssef Atta'i yes, you have to root your device.
+ 3
In current world most of users use android, so you can use Termux, but the full features and enviorment you can only get in PC or laptop 😊😊
+ 2
Youssef Atta'i to a certain extent I guess. If you tried to do anything hacky with your phone or just need permissions to certain things you'll have to root.
+ 2
Termux is cool...no root needed for intermediate level usage
+ 1
Thank you, Jan
+ 1
import os
os.system("pip install somepythonmodule")
This actually ran with no problems on android, so can I just use os.system() as if it was the windows cmd, without rooting or installing any apps?
+ 1
Maxwell Anderson Thank you, Maxwell
+ 1
Rishi I actually tried using tkinter on android using Pydroid3 and it worked, that's one reason I feel like it's sometimes possible to treat android like windows.
also, take a look at this:
import os
os.system("date")
this shows date and time on both windows and android.
0
Can I overcome those restrictions if my device is rooted?