Questions tagged [beeware]

Beeware claims "Write your apps in Python and release them on iOS, Android, Windows, MacOS, Linux, Web, and tvOS using rich, native user interfaces. Multiple apps, one codebase, with a fully native user experience on every platform."

Links

Subprojects

60 questions
2
votes
0 answers

Beeware Toga WebView widget TypeError

I'm trying to run the beeware tutorial. When adding a toga.WebView I get the following error message when running briefcase run -u: ** (__main__.py:25869): WARNING **: 16:57:29.287: Failed to load shared library 'libwebkit2gtk-4.0.so.37' referenced…
ezdazuzena
  • 6,120
  • 6
  • 41
  • 71
2
votes
1 answer

What is the most correct method of having multiple layouts in beeware

In the beeware example tutorial there is example code to show a single layout. How do you create multiple layouts and switch between them. class HelloWorld(toga.App): def startup(self): main_box = toga.Box(style=Pack(direction=COLUMN)) …
TinBane
  • 866
  • 11
  • 19
2
votes
1 answer

Problem with building android app, LeftShift error

i have building problem in android studio, i have made an android app with beeware and when i am trying to build it i get an error. I have tried building it from android studio and i fixed all the versions problems and everything else except this…
2
votes
1 answer

Random numbers in PyBee VOC

I'm trying to generate random numbers in Python code running on the JVM with PyBee's VOC transpiler. For now, it looks like the Python random module isn't included, so how can I generate random numbers? Here's the code I tried to transpile: from…
Don Kirkby
  • 53,582
  • 27
  • 205
  • 286
1
vote
1 answer

how to set the environment variable BRIEFCASE_HOME in BeeWare python

I'm going to create a simple android apk file using python and BeeWare I installed BeeWare and togo in a virtual env when I write briefcase new or briefcase create and press Enter, I got this error: The location Briefcase will use to store tools and…
Sir H
  • 11
  • 2
1
vote
2 answers

I have being trying to build a new briefcase on BeeWere and at the end of it I encounter de error:

Generating a new application 'IMC' Using app template: https://github.com/beeware/briefcase-template, branch v0.3.14 Using existing template (sha be60e3889a819b0f9b547a21e803342f79cb868e, updated Wed Apr 12 11:07:29 2023) Log saved to…
1
vote
1 answer

on_double_click on table in python/beeware

I want to access data from a row of my table and display it in the terminal when that row is double-clicked. import toga from toga.style import Pack from toga.style.pack import COLUMN, ROW class HelloWorld(toga.App): def startup(self): …
1
vote
0 answers

briefcase packaging with streamlit ,localhost connection issue briefcase run command

briefcase packaging with streamlit running successfully in "briefcase dev" command but shows , localhost refused to connect problem. It runs without any issues opening in briefcase dev command- automatically allocating port. I disbaled proxies…
1
vote
1 answer

BeeWare Android App development: How can I access and save data on a phone with my app

I am in the process of trying to developp a small app with BeeWare for Android for my own use. The purpose of the app is to pick a random word from a pre-built list, and ask the user for the translation (english to korean, or korean to english), and…
1
vote
2 answers

How to modify Beeware (toga) table column width

I m new to Beeware and Toga and i don't know how to make the column width bigger, so that the full text is displayed. When i execute the app in Linux the table works fine, but on Windows this happens How can i make the table colums wider by default?…
Wizard
  • 63
  • 4
1
vote
1 answer

How to solve Invalid keystore format while building beeware android app

Tried to build android app using beware on windows. Log file: BriefcaseCommandError: Error while building project. [12:18:50] …
Attya
  • 11
  • 4
1
vote
1 answer

How to access Android notifications with a Toga app

I am trying to build an app with Toga/Beeware, mainly for Android but ideally cross-platform. I need the app to send push notifications at user-specified times. I see some have previously attempted the same challenge, but there's currently no…
gimi
  • 395
  • 3
  • 13
1
vote
1 answer

Using BeautifulSoup in a BeeWare app gives `ModuleNotFoundError: No module named 'bs4'

I am trying to import beautifulsoup4in a BeeWare app (with its own virtual environment) using the command: from bs4 import BeautifulSoup But I get a ModuleNotFoundError: No module named 'bs4' even though I have installed beautifulsoup4 in my…
gimi
  • 395
  • 3
  • 13
1
vote
1 answer

Can you install APKs programmatically using Beeware?

I'm making a GUI app for a package manager I'm working on, but I don't if you can install APKs programmatically using Beeware. I'm using Beeware because it's the only library I'm comfortable using.
wideey
  • 13
  • 3
1
vote
1 answer

How to access the phone contacts in beeware (all names and phone numbers and make calls)?

I want to access the contacts, their names and phone numbers in my programs and use them in my program, and also how can I make a phone call with a number by pressing a button. I could not find this feature in beeware. Please guide me if possible,…