yes it is feasible to develop an android application in pure python, in order to achieve this I suggest you use BeeWare, which is just a suite of python tools, that work together very well and they enable you to develop platform native applications in python.
checkout this video by the creator of BeeWare that perfectly explains and demonstrates it’s application
How it works
Android’s preferred language of implementation is Java – so if you want to write an Android application in Python, you need to have a way to run your Python code on a Java Virtual Machine. This is what VOC does. VOC is a transpiler – it takes Python source code, compiles it to CPython Bytecode, and then transpiles that bytecode into Java-compatible bytecode. The end result is that your Python source code files are compiled directly to a Java .class file, which can be packaged into an Android application.
VOC also allows you to access native Java objects as if they were Python objects, implement Java interfaces with Python classes, and subclass Java classes with Python classes. Using this, you can write an Android application directly against the native Android APIs.
Once you’ve written your native Android application, you can use Briefcase to package your Python code as an Android application.
Briefcase is a tool for converting a Python project into a standalone native application. You can package projects for:
- Mac
- Windows
- Linux
- iPhone/iPad
- Android
- AppleTV
- tvOS.
You can check This native Android Tic Tac Toe app written in Python, using the BeeWare suite. on GitHub
in addition to the BeeWare tools, you’ll need to have a JDK and Android SDK installed to test run your application.
and to answer your second question: a good environment can be anything you are comfortable with be it a text editor and a command line, or an IDE, if you’re looking for a good python IDE I would suggest you try Pycharm, it has a community edition which is free, and it has a similar environment as android studio, due to to the fact that were made by the same company.
-
vivo T3 Pro 5G (Emerald Green, 128 GB) (8 GB RAM)Original price was: ₹29,999.00.₹24,999.00Current price is: ₹24,999.00.
-
boAt Airdopes 141 Bluetooth TWS in Ear Earbuds with 42H Playtime,Low Latency Mode for Gaming, ENx Tech, IWP, IPX4 Water Resistance, Smooth Touch Controls(Olive Green)Original price was: ₹4,490.00.₹1,299.00Current price is: ₹1,299.00.
-
Apple iPhone 16 (256 GB) – BlackOriginal price was: ₹89,900.00.₹89,000.00Current price is: ₹89,000.00.
-
Redmi 13C 5G (Startrail Silver, 4GB RAM, 128GB Storage) | MediaTek Dimensity 6100+ 5G | 90Hz DisplayOriginal price was: ₹13,999.00.₹10,499.00Current price is: ₹10,499.00.
-
Apple 20W USB-C Power Adapter (for iPhone, iPad & AirPods)Original price was: ₹1,900.00.₹1,549.00Current price is: ₹1,549.00.
-
Redmi 13C (Starfrost White, 4GB RAM, 128GB Storage) | Powered by 4G MediaTek Helio G85 | 90Hz Display | 50MP AI Triple CameraOriginal price was: ₹11,999.00.₹7,698.00Current price is: ₹7,698.00.
-
One Article PostOriginal price was: ₹2,000.00.₹1,000.00Current price is: ₹1,000.00.
-
Standard PlanOriginal price was: ₹40,000.00.₹29,988.30Current price is: ₹29,988.30.
-
Search Engine Optimization(SEO)Original price was: ₹7,000.00.₹4,999.00Current price is: ₹4,999.00.
Discover more from Soa Technology | Aditya Website Development Designing Company
Subscribe to get the latest posts sent to your email.