hi i want write an app with kivy lib. it's works fine in linux or windows but it's didn't work in my phone
this app is going to send a requests to any website (in this case i just want to send a requests to google)
here is my code:
import urllib3
from kivymd.app import MDApp
from kivy.uix.floatlayout import FloatLayout
from kivy.lang.builder import Builder
uiHelper= """
MDFlatButton:
text: app.server()
"""
class ui(FloatLayout):
def __init__(self, **kwargs):
super(ui, self).__init__(**kwargs)
self.add_widget(Builder.load_string(uiHelper))
class MainApp(MDApp):
def build(self):
return ui()
def server(self):
http = urllib3.PoolManager()
r = http.request('GET', 'http://google.com')
return str(r.status)
app = MainApp()
app.run()
Description
hi i want write an app with kivy lib. it's works fine in linux or windows but it's didn't work in my phone this app is going to send a requests to any website (in this case i just want to send a requests to google)
here is my code:
buildozer.spec
Command:
Spec file:
logs