This commit is contained in:
yumoqing 2020-08-22 15:42:10 +08:00
parent f8b2ab4e3e
commit 7d48766d29
2 changed files with 1 additions and 3 deletions

View File

@ -46,7 +46,6 @@ from kivy.uix.filechooser import FileChooser
from kivy.uix.effectwidget import EffectWidget from kivy.uix.effectwidget import EffectWidget
from kivy.uix.colorpicker import ColorPicker from kivy.uix.colorpicker import ColorPicker
from kivy.uix.carousel import Carousel from kivy.uix.carousel import Carousel
from kivy.uix.camera import Camera
from kivy.uix.bubble import Bubble from kivy.uix.bubble import Bubble
from kivy.uix.codeinput import CodeInput from kivy.uix.codeinput import CodeInput
from kivy.graphics import Color, Rectangle from kivy.graphics import Color, Rectangle
@ -73,7 +72,6 @@ from .qrdata import QRCodeWidget
if platform == 'android': if platform == 'android':
from .widgetExt.phonebutton import PhoneButton from .widgetExt.phonebutton import PhoneButton
from .widgetExt.androidwebview import AWebView from .widgetExt.androidwebview import AWebView
from .widgetExt.camera import AndroidCamera
class WrapText(Label): class WrapText(Label):
def __init__(self, **kw): def __init__(self, **kw):

View File

@ -6,7 +6,7 @@ from plyer.facades import Camera
from plyer.platforms.android import activity from plyer.platforms.android import activity
Intent = autoclass('android.content.Intent') Intent = autoclass('android.content.Intent')
PythonActivity = autoclass('org.renpy.android.PythonActivity') PythonActivity = autoclass('org.kivy.android.PythonActivity')
MediaStore = autoclass('android.provider.MediaStore') MediaStore = autoclass('android.provider.MediaStore')
Uri = autoclass('android.net.Uri') Uri = autoclass('android.net.Uri')