+ 1

Python is best for Android app development or not?

Android ps

29th Apr 2018, 5:05 AM
🐕Pradeep Simba đŸ¶
🐕Pradeep Simba đŸ¶ - avatar
4 Answers
+ 4
I guess it's because android apps run on DVM (Dalvik Virtual Machine), and they are compiled to bytecode and packaged as app package (.apk file). On the other hand python source files are interpreted from source code. So there is fundamental difference between android apps and python code. If you can compile python to DVM bytecode and package it, you can create android apps. But I don't know about any tool to do this. Also, Kotlin is now the official language for android. I'll say it's best to learn kotlin for android app development. Unfortunately, SoloLearn's Kotlin course is still under construction. These may help for learning: www.kotlinlang.org https://www.sololearn.com/discuss/823843/?ref=app You can also run your kotlin codes on SL CPG. N. B. I'm not an expert and sorry for my bad English. Cheers!
29th Apr 2018, 5:32 AM
DAB
DAB - avatar
+ 2
Python its not main language for android apps (that use Java, Kotlin and C++ ) but you can use it thank to projects like python-for-android that allow to package a bootstraped python application and QPython that allow to run directly python scripts on device
29th Apr 2018, 6:44 AM
KrOW
KrOW - avatar
+ 2
Martin Taylor Yes but Kotlin is AN official android language
29th Apr 2018, 10:04 AM
KrOW
KrOW - avatar