android

Chat Server with Python Socket Server and Android Client

Chat Server with Python Socket Server and Android Client Question: I am trying to create a simple Chat Server that runs on Python.I am having difficulties in getting a connection between my Android App and my Python Socket Server. I am not getting any response so I dont really know what the problem is. The …

Total answers: 1

APK Crashes immediately on android while clicking on the app icon, Kivymd

APK Crashes immediately on android while clicking on the app icon, Kivymd Question: I’m making an android app project using the Kivy framework. I have created 50% of my project. It works on Windows perfectly then I think to first try and check is it easily converting to APK file and runs on android? I …

Total answers: 2

How to play sound in an Android app created by BeeWare using Python?

How to play sound in an Android app created by BeeWare using Python? Question: I used the BeeWare environment to create a simple MahJong game (find & click pairs to remove them) using Python (with Toga as layout tool) for Android. Now I would like to have some buttons give a "click sound" when pressed: …

Total answers: 2

Python (back-end) and Kotlin (front-end) for Android

Python (back-end) and Kotlin (front-end) for Android Question: Ok I was doing some data science in python over the weekend and I got to looking at python for mobile development. I was curious as to if it’s possible to use both Python (back-end) and use Kotlin (front-end) together? I know python is a non GUI …

Total answers: 1

p4a Cannot Import Module _ctypes

p4a Cannot Import Module _ctypes Question: I am an extreme beginner with kivy and python-for-android. I’ve created a kivy tutorial app and have been trying to create the apk using p4a. I believe I’ve figured out the dependencies and command line requirements but I am currently stuck with a failure due to "_ctypes module not …

Total answers: 1

How do i make something like mobizen logo pop ups on screen in kivi python

How do i make something like mobizen logo pop ups on screen in kivi python Question: MOST OF US PROBABLY KNOW BUT MOBIZEN IS AN MOBILE SCREEN RECORDING APP The part that i want to know is how, mobizen logo stays on screen and, toolbar appears whenever you click the logo stays on screen even …

Total answers: 1

Buildozer stopped working all of a sudden despite always uploading the same files to Colab

Buildozer stopped working all of a sudden despite always uploading the same files to Colab Question: Check application requirements Compile platform Run ‘/usr/bin/python3 -m pythonforandroid.toolchain create –dist_name=demo3 –bootstrap=sdl2 –requirements=python3,kivy,pillow,kivymd,asyncio,bleak –arch armeabi-v7a –copy-libs –color=always –storage-dir="/content/.buildozer/android/platform/build-armeabi-v7a" –ndk-api=21 –ignore-setup-py –debug’ Cwd /content/.buildozer/android/platform/python-for-android [INFO]: Will compile for the following archs: armeabi-v7a [INFO]: Found Android API target in $ANDROIDAPI: 27 …

Total answers: 3

Stream image from Android with FFMPEG

Stream image from Android with FFMPEG Question: I’m currently receiving images from an external source as byte array and I would like to send it as raw video format via ffmpeg to a stream URL, where I have a RTSP server that receives RTSP streams (a similar unanswered question). However, I haven’t worked with FFMPEG …

Total answers: 2

Pyzbar on Android doesn't read QRcodes, but reads barcodes

Pyzbar on Android doesn't read QRcodes, but reads barcodes Question: I have been developing a kivy application with pyzbar to run on an Android that needs to read barcodes and QRcodes. The application read both barcodes and QRcodes running on my pc, but fails to read QRcodes while using the .apk built with buildozer, while …

Total answers: 2

How to use Pygame touch events in a mobile game?

How to use Pygame touch events in a mobile game? Question: Game Target is for android device. When i add the buttons, they seem only to work one at a time, how can i make it so more button could work? Here’s the function: def button_move(player_car): pressed = pygame.mouse.get_pressed() pos = pygame.mouse.get_pos() moved = False …

Total answers: 1