+ 2
(Answered) What's the best method to create android apps using Python?
10 Answers
+ 1
Learn some framework / library that has the feel of Java or Kotlin...Else learn Kotlin. Python can be used for multiple purposes, which include the following:
*Desktop application
*Desktop games
*3d games or applications using PyGame or Panda3d
*Data analysing console application
*Games using PyGame or Tkinter
*AI
*Face or Voice recognising gooey-manipulating applications
*Back-end web apps (most common purpose) using Flask
*Back-end sites using Django (also commonly used by sites like Instagram, Youtube, Spotify and Amazon)
*Android back-end apps
As you can see, Python is undoubtedly very flexible but that doesnât mean that it is the best choice for that particular purpose. For example, Java or Kotlin is preferred over Python in Android app development in the same way that C# is preferred over Python in Desktop game development.
+ 1
kivy & buildozer
+ 1
KivyMD
+ 1
Thanks
+ 1
I use both
0
from kivymd.app import MDApp
from kivy.uix.screenmanager import Screen,ScreenManager
from covid import Covid
import time
from kivymd.uix.label import MDLabel
from datetime import datetime
class MyApp(MDApp):
def build(self):
pass
class Manager(ScreenManager):
pass
class Screen1(Screen):
def countries(self):
covid = Covid()
status = str(covid.get_status_by_country_name("CANADA"))
self.ids.results.text = status[12:-73]
def usa(self):
covid = Covid()
status = str(covid.get_status_by_country_name("US"))
s = status
self.ids.results.text = s[13:-70]
def mexico(self):
covid = Covid()
status = str(covid.get_status_by_country_name("Mexico"))
s = status
self.ids.results.text = s[13:-76]
def china(self):
covid = Covid()
status = str(covid.get_status_by_country_name("China"))
s = status
self.ids.results.text = s[13:-75]
def russia(self):
cov =
0
Im a newbie but i can do u can do it , thats my code all ur guys now, .kv not included
0
Good, I would use notepad if i had to lol
- 1
I use pydroid
- 1
Or pycharm , pydroid is good, it helps u practice on the go , 5 mins hete , 20 mins there , you will enjoy