kivy

Kivmob - Interstitial ad not loading

谁都会走 提交于 2020-05-14 12:51:13
问题 I have been trying to add the library named kivmob to display ads in my application. Kivmob loads the banner ad but does not load the interstitial ad. I am confused as to why the banner works but not the interstitial. I have also tried with test IDs. Here is my main.py. from kivmob import KivMob from kivy.uix.widget import Widget from kivy.uix.screenmanager import ScreenManager, Screen, SlideTransition from kivy.properties import NumericProperty, ReferenceListProperty, ObjectProperty from

I always get this error when creating a Kivy app

泪湿孤枕 提交于 2020-05-14 01:24:08
问题 I am trying to make a simple app made from Kivy on Windows: import kivy from kivy.app import App from kivy.uix.label import Label class MyApp(App): def build(self): return Label(text='Hello world') if __name__ == '__main__': MyApp().run() (EDIT) But each time I get this very long error; this is all of it: [INFO ] [Logger ] Record log in C:\Users\danie\.kivy\logs\kivy_16-07-15_5.txt [INFO ] [Kivy ] v1.9.1 [INFO ] [Python ] v3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 20:20:57) [MSC v.1600 64 bit

how to convert android.bluetooth.socket inputstream to python string in Kivy?

吃可爱长大的小学妹 提交于 2020-05-13 07:55:46
问题 I'm working on Kivy app. Since I want to get data from bluetooth adapter, I used code below. from kivy.app import App from kivy.uix.label import Label from kivy.uix.scatter import Scatter from kivy.properties import ObjectProperty,NumericProperty from kivy.clock import Clock from kivy.lang import Builder from jnius import cast,autoclass from kivy.logger import Logger BluetoothAdapter = autoclass('android.bluetooth.BluetoothAdapter') bufferedreader = autoclass('android.bluetooth

how to convert android.bluetooth.socket inputstream to python string in Kivy?

亡梦爱人 提交于 2020-05-13 07:53:04
问题 I'm working on Kivy app. Since I want to get data from bluetooth adapter, I used code below. from kivy.app import App from kivy.uix.label import Label from kivy.uix.scatter import Scatter from kivy.properties import ObjectProperty,NumericProperty from kivy.clock import Clock from kivy.lang import Builder from jnius import cast,autoclass from kivy.logger import Logger BluetoothAdapter = autoclass('android.bluetooth.BluetoothAdapter') bufferedreader = autoclass('android.bluetooth

Fixed window size for Kivy programs

大兔子大兔子 提交于 2020-05-08 04:08:53
问题 Is there any way to keep the window size for Kivy programs fixed? Fixed in the sense its window size cannot be increased or decreased. For example, I want a Kivy program whose window size is 500x500 and the end user cannot either change the window size or turn it into fullscreen. I tried setting the height, width, minimum_height and minimum_width all with same values and still I can change window size and fullscreen it. 回答1: There is a way to configure the app to disable resizing from kivy

Fixed window size for Kivy programs

牧云@^-^@ 提交于 2020-05-08 04:07:06
问题 Is there any way to keep the window size for Kivy programs fixed? Fixed in the sense its window size cannot be increased or decreased. For example, I want a Kivy program whose window size is 500x500 and the end user cannot either change the window size or turn it into fullscreen. I tried setting the height, width, minimum_height and minimum_width all with same values and still I can change window size and fullscreen it. 回答1: There is a way to configure the app to disable resizing from kivy

mpmath and sympy error while packing apk with buildozer

五迷三道 提交于 2020-05-07 09:31:28
问题 I am trying to build a apk but it keeps telling me that i need mpmath=>0.19. the problem is coming from sympy because when i built the apk without it everything worked as expected. I don't know why it need mpmath even when I include mpmath in the requirement I keep getting the same error. I need help please. buildozer.spec Command: buildozer android debug deploy run. Spec file: https://pastebin.com/71maKs5n Full Logs `https://pastebin.com/EvALr3fW` 回答1: This is a dependency ordering issue,

mpmath and sympy error while packing apk with buildozer

两盒软妹~` 提交于 2020-05-07 09:30:44
问题 I am trying to build a apk but it keeps telling me that i need mpmath=>0.19. the problem is coming from sympy because when i built the apk without it everything worked as expected. I don't know why it need mpmath even when I include mpmath in the requirement I keep getting the same error. I need help please. buildozer.spec Command: buildozer android debug deploy run. Spec file: https://pastebin.com/71maKs5n Full Logs `https://pastebin.com/EvALr3fW` 回答1: This is a dependency ordering issue,

Python GUI界面编程-初识

时间秒杀一切 提交于 2020-05-03 18:30:56
图形用户界面(Graphical User Interface,简称 GUI,又称图形用户接口)是指采用图形方式显示的计算机操作用户界面。与早期计算机使用的 命令 行界面相比,图形界面对于用户来说在视觉上更易于接受。然而这界面若要通过在显示屏的特定位置,以"各种美观而不单调的视觉消息"提示用户"状态的改变",势必得比简单的消息呈现花上更多的计算能力。 GUI概述 图形用户界面(Graphical User Interface,简称 GUI,又称图形用户接口)是指采用图形方式显示的计算机操作用户界面。与早期计算机使用的 命令 行界面相比,图形界面对于用户来说在视觉上更易于接受。然而这界面若要通过在显示屏的特定位置,以"各种美观而不单调的视觉消息"提示用户"状态的改变",势必得比简单的消息呈现花上更多的计算能力。在 GUI 中,并不只是键入文本和返回文本,用户可以看到窗口、按钮、文本框等图形,而且可以用鼠标单击,还可以通过键盘键入,GUI 是与程序交互的一种不同的方式。 Python GUI常用框架 Flexx Flexx是一个纯Python工具包,用于创建图形用户界面(GUI),它使用Web技术进行渲染。 应用程序完全用Python编写;PScript转换器动态生成必要的JavaScript。 项目地址:https://github.com/flexxui/flexx 入门指南

Python GUI界面编程-初识

Deadly 提交于 2020-05-02 17:45:53
图形用户界面(Graphical User Interface,简称 GUI,又称图形用户接口)是指采用图形方式显示的计算机操作用户界面。与早期计算机使用的 命令 行界面相比,图形界面对于用户来说在视觉上更易于接受。然而这界面若要通过在显示屏的特定位置,以"各种美观而不单调的视觉消息"提示用户"状态的改变",势必得比简单的消息呈现花上更多的计算能力。 GUI概述 图形用户界面(Graphical User Interface,简称 GUI,又称图形用户接口)是指采用图形方式显示的计算机操作用户界面。与早期计算机使用的 命令 行界面相比,图形界面对于用户来说在视觉上更易于接受。然而这界面若要通过在显示屏的特定位置,以"各种美观而不单调的视觉消息"提示用户"状态的改变",势必得比简单的消息呈现花上更多的计算能力。在 GUI 中,并不只是键入文本和返回文本,用户可以看到窗口、按钮、文本框等图形,而且可以用鼠标单击,还可以通过键盘键入,GUI 是与程序交互的一种不同的方式。 Python GUI常用框架 Flexx Flexx是一个纯Python工具包,用于创建图形用户界面(GUI),它使用Web技术进行渲染。 应用程序完全用Python编写;PScript转换器动态生成必要的JavaScript。 项目地址:https://github.com/flexxui/flexx 入门指南