🌐
Kivy
kivy.org › doc › stable › guide › packaging-android.html
Create a package for Android — Kivy 2.3.1 documentation
Kivy module for binary dependencies. ... Native support for Multitouch devices on Linux, using libmtdev. Auto Create Input Provider Config Entry for Available MT Hardware (linux only). ... You can create a package for android using the python-for-android project. This page explains how to download and use it directly on your own machine (see Packaging your application into APK or AAB) or use the Buildozer tool to automate the entire process.
🌐
Kivy
kivy.org › doc › stable › guide › android.html
Kivy on Android — Kivy 2.3.1 documentation
Here is a simple example showing Pyjnius’ ability to access the normal Android vibration API, the same result of the plyer code above: # 'autoclass' takes a java class and gives it a Python wrapper from jnius import autoclass # Context is a normal java class in the Android API Context = autoclass('android.content.Context') # PythonActivity is provided by the Kivy bootstrap app in python-for-android PythonActivity = autoclass('org.renpy.android.PythonActivity') # The PythonActivity stores a reference to the currently running activity # We need this to access the vibrator service activity = PythonActivity.mActivity # This is almost identical to the java code for the vibrator vibrator = activity.getSystemService(Context.VIBRATOR_SERVICE) vibrator.vibrate(10000) # The value is in milliseconds - this is 10s
Discussions

Examples of kivy apps
Hey I'm currently working on an app (I can hopefully upload it soon), but here I have found a list of apps: https://github.com/kivy/kivy/wiki/List-of-Kivy-Projects More on reddit.com
🌐 r/kivy
9
5
August 19, 2020
How viable is Kivy?
I gave up on Windows. [to be explicit: gave up developing on Windows using Kivy for Android apps.] Was advertised as windows compatible, but devs in forum said they don't support windows. (n.b. 3? years ago.) More on reddit.com
🌐 r/learnpython
26
23
March 2, 2024
Has anyone made an android app with kivy?

I made one, and then I contributed some stuff to kivy, and then I became a core developer. So, I guess it went pretty well.

One thing I've done is a series of video tutorials that you might find useful.

I know it will be hard

I'd actually say that the process of making a working app and running it on an android device is remarkably easy in general. That's what I covered in the first 20 minutes of (real time) video tutorial just to try and demonstrate how cool it is.

Of course, building any non-trivial app needs a lot of learning in any toolkit, just to get an idea of good ways to work and fit things together. I think kivy is mostly very reasonable about this, it has a simple but pythonic api and optional-but-recommended language for declaring widget trees without all the python boilerplate.

Kivy also has an excellent, active community, so don't be afraid to ask questions on the irc channel or mailing list.

More on reddit.com
🌐 r/Python
50
116
September 14, 2014
Is Kivy a viable option for a standard everyday app?

Kivy is not designed for game design. It's designed for standard everyday apps. The impression might get caused by kivy mostly showing games in the gallery, but that's just because a lot of users like to create games. Has nothing to do with the intention of kivy itself :) Another reason why a lot of people think that kivy is heavily designed for games is that it uses pygame as a background service. Most users don't know that kivy just uses pygame to draw on a window. It doesn't even give you the ability to use pygame features yourself. It's basically just a background provider for a drawable surface!

The only problem I see with using kivy for everyday apps is the slow startup. That might be a reason to develop the app in a different language (especially when it's supposed to be an app that you open and close very often each day)

So:

  • Apps that get opened/closed really often -> Might consider switching to a different framework/language. Perhaps the native Java app thing.

  • Apps that you open less often (so you can live with the startup time) or if you don't care about the startup time: use kivy!

More on reddit.com
🌐 r/Python
60
49
January 22, 2015
🌐
Kivy
kivy.org › doc › stable › examples
Gallery of Examples — Kivy 2.3.1 documentation
Application from a .kv in a Template Directory · Camera Example · Bezier Example · Canvas stress · Circle Example · FBO Canvas · Line (SmoothLine) Experiment · Lines Extended Demo · Mesh test · Multitexture Example · Repeat Texture on Resize · Rotation Example · Stencil demo · Tesselate Demonstration · Texture Wrapping and Coordinates Example · Shuffled Camera Feed Puzzle · Kivy Catalog ·
🌐
LogRocket
blog.logrocket.com › home › build an android application with kivy python framework
Build an Android application with Kivy Python framework - LogRocket Blog
June 4, 2024 - You can use Kivy v2.0.0, but if you have a smartphone that is older than Android v8, I recommend v1.9.0. You can mess around with the different versions during the build to see the differences in features and performance. To specify the version, add the version number right after the import kivy line as follows: ... Now, we’ll create a class that will define our app; I’ll name mine RandomNumber.
🌐
GitHub
github.com › kivy › kivy › wiki › List-of-Kivy-Projects
List of Kivy Projects
September 18, 2022 - Rocket Kite: Fly your rocket kite among the planets in this colorful space simulator (pure kivy, github). ... SlideWords: A challenging word search puzzle game. Smite Damage Calculator: A calculator for a MOBA game.
Author   kivy
🌐
Real Python
realpython.com › mobile-app-kivy-python
Build a Mobile Application With the Kivy Python Framework – Real Python
August 16, 2024 - In this step-by-step tutorial, you'll learn how to build a mobile application with Python and the Kivy GUI framework. You'll discover how to develop an application that can run on your desktop as well as your phone. Then, you'll package your app for iOS, Android, Windows, and macOS.
🌐
Medium
medium.com › @Scofield_Idehen › build-your-first-mobile-application-using-python-kivy-a5f31283e8dc
Build Your First Mobile Application Using Python Kivy. | by Scofield O. Idehen | Medium
June 12, 2024 - To package your app for Android, you’ll need to install the buildozer tool. ... Create a new directory for your project and navigate to it. Run buildozer init to create a configuration file (buildozer.spec). ... Open the buildozer.spec and customize the configuration file as needed (e.g., set the app title, package name, etc.). For starters, you can leave the file with the default name, but keep in mind the default name. ... Copy your Kivy application files (.py and .kv) to the project directory.
Find elsewhere
🌐
Kivy
blog.kivy.org › 2016 › 01 › kivy-android-app showcase
Kivy Android app showcase – Kivy Blog
Beyond this, Barly does not make such wide use of the Android API or unusual Kivy features, but nor does it try to; it is a nice example of a complete and self-contained Kivy app using the power of Python for an unusual and interesting goal.
🌐
GitHub
github.com › kivy › python-for-android
GitHub - kivy/python-for-android: Turn your Python application into an Android APK · GitHub
Turn your Python application into an Android APK. Contribute to kivy/python-for-android development by creating an account on GitHub.
Starred by 8.9K users
Forked by 2K users
Languages   Python 75.1% | Java 13.9% | C 5.4% | Makefile 1.4% | kvlang 1.4% | Cython 1.2%
🌐
Python Forum
python-forum.io › thread-39916.html
Kivy App - Python3 script to Android app (opencv)
Hello all, i am Jayson... I have really gotten into flask because of this forum and am also starting to make android apps with my scripts in P4a w buildozer. right now i have made a dual or Two Cam solution for cell phones....... when i run it in te...
🌐
Pythonista Planet
pythonistaplanet.com › python-kivy-projects
7 Python Kivy Projects (With Full Tutorials) – Pythonista Planet
August 7, 2022 - This tool will help you to compile your Kivy application into an Android app. Buildozer runs only on Linux and Mac. If you have a Windows machine, you might need to use a virtual machine from your Windows host.
🌐
STechies
stechies.com › android-application-development-python-using-kivy-framework
Android Application development with Python using Kivy Framework
Every Kivy-based app demands the subclass App that overrides build(). Now, we have to declare and define the build() function and inside this, we create the Label widget and pass parameters along with the text ('My first Android App using Kivy') as ...
🌐
Uq
staff.itee.uq.edu.au › pjr › kivy.html
Kivy on Android
Kivy can be run on Android phones using the Kivy Launcher (from the Android store) or an APK can be build using Python for Android (see http://kivy.org/docs/guide/packaging-android.html). Here is a simple "Hello World" example of using Kivy (from the documentation).
🌐
Kivy
kivy.org › doc › stable › api-kivy.app.html
Application — Kivy 2.3.1 documentation
Think of it as your main entry point into the Kivy run loop. In most cases, you subclass this class and make your own app. You create an instance of your specific app class and then, when you are ready to start the application’s life cycle, you call your instance’s App.run() method. To initialize your app with a widget tree, override the build() method in your app class and return the widget tree you constructed. Here’s an example of a very simple application that just shows a button:
🌐
GitHub
gist.github.com › SpotlightKid › 2a68300733d96b027c5f7a3ea5c79556
Building your Kivy App for Android · GitHub
May 24, 2022 - mkvirtualenv -p python2.7 buildozer pip install "Cython==0.25" # Important: install Cython and Kivy in two steps! pip install "kivy==1.10.0" # for testing on build host git clone https://github.com/kivy/buildozer.git cd buildozer wget -O buildozer-android-project-properties.diff https://git.io/v914C patch -p1 -i buildozer-android-project-properties.diff sudo python setup.py install ... Set at least title, package.name, package.domain, version and author. If your app needs additional files besides those with extensions, which get included by default, adapt source.include_exts and/or source.include_patterns.
🌐
Android Authority
androidauthority.com › home › kivy python tutorial: build attractive mobile apps in python!
Kivy Python tutorial - Build mobile apps in Python! - Android Authority
February 18, 2021 - There you have your first Kivy Python app! That was a very simple introductory project to show you how Kivy works for the purpose of this Kivy Python tutorial. ... One smart thing we can do with Kivy, is to separate the UI layer from the code — just as we do in Android Studio (where the UI is handled by XML in separate files).
🌐
Kivy
kivy.org › doc › stable-1.10.1 › installation › installation-android.html
Installation on Android — Kivy 1.10.1 documentation
Kivy is a Python framework, and simply installing it on an Android device the same way as on a desktop machine will do nothing. However, you can compile a Kivy application to a standard Android APK that will run just like a normal java app on (more or less) any device.
🌐
Kivy
kivy.org › doc › stable › _modules › kivy › app.html
kivy.app — Kivy 2.3.1 documentation
See :mod:`kivy.app` for example usage. .. versionadded:: 2.0.0 ''' self._run_prepare() await async_runTouchApp(async_lib=async_lib) self._stop() [docs] def stop(self, *largs): '''Stop the application. If you use this method, the whole application will stop by issuing a call to :func:`~kivy.base.stopTouchApp`. Except on Android, set Android state to stop, Kivy state then follows.