Issue I developed a kivyMD app specifically for android which is running great on windows as .py but when converted to apk using ubuntu on windows, its giving an error that: /mnt/c/Users/Ayan/Documents/rackcalculator/.buildozer/android/build-arm64-v8a_armeabi-v7a/build/python-installs/rackcalculator/arm64-v8a/kivymd/material_resources.py, line 20, in <module> AttributeError: ‘NoneType’ object has
Continue readingTag: python
CRC with bit-wise operations in Dart
Issue I am having trouble with performing a CRC-64 ECMA calculation in Dart. While I am getting a result, it is not correct, as evidenced by a Python script that performs the same CRC calculation. Here’s the Python code: def
Continue readingHow can I authenticate users in my app with Firebase Authentication
Issue I have a Python app (using Kivy). At the start of the app there is a login screen, currently it takes anything as input and allows users to pass, but I want that it only lets them pass if
Continue readingBuilding an Android app with Kivy+Buildozer
Issue I have Python 3.7 and Windows 7 x64, and I did: pip install kivy buildozer It works, and I can successfully run a hello world example on my Windows machine: from kivy.app import App from kivy.uix.button import Button class
Continue readingBuildozer fails to compile Kivy app to android
Issue I’m using Ubuntu Desktop 22.04.3 in VirtualBox. I’m trying to make an AR/VR program for android using Kivy but whe I ran the command: buildozer android debug in the terminal. I got an error about a command failing. This
Continue readingDart equivalent to Python zip and list comprehension for generating list of widgets from two lists
Issue I want to create a list of widgets MyWidget(categoryName, color) from the following two lists. static const _categoryNames = <String>[ ‘Length’, ‘Area’, ‘Volume’, ]; static const _baseColors = <Color>[ Colors.teal, Colors.orange, Colors.pinkAccent, ]; In Python I would use a
Continue readingCannot display HTML string
Issue I am struggling with display string HTML in Android WebView. On the server side, I downloaded a web page and escape HTML characters and quotes (I used Python): my_string = html.escape(my_string, True) On the Android client side: strings are
Continue readingHow do I return a FileResponse (or StreamingResponse) in flet-fastapi?
Issue I’m actually trying to create a web-app that would ask a person some info, than edit \*.docx with jinja and return this \*.docx to the person as a download. I’m having trouble making flet-fastapi return a FileResponse. My workdir
Continue readingImport 'android.permissions' not working in Kivy app
Issue So I want to use plyer’s filechooser, and while it works fine on my pc, it doesn’t actually allow any selection of files on android. It opens the file chooser and doesnt get the filepath even when the user
Continue readingHow to fix UDP communication problem between Android application written in Flutter and server written in Python
Issue I’m facing challenges establishing a connection between an Android application written in Dart and a Python server. The Android application is running on an Android emulator. I successfully established a connection using WebSocket, but I’m encountering difficulties with UDP.
Continue reading