Replies: 1 comment 2 replies
-
Yes, the tutorial page is out of date: you can now use all the Chaquopy binary packages on Android. If your app uses Briefcase, just add the package to the Or if your app uses Chaquopy without Briefcase, follow the instructions in the Chaquopy documentation here. |
Beta Was this translation helpful? Give feedback.
-
On my research how to get sound into an (existing) briefcase-Android project's app (at Stack-O) I got the recommendation from BeeWare's new apiarist Malcolm Smith (creator of the amazing Chaquopy Python APIs) to use his API and SoundPool for my project.
In Tutorial 6 there is stated quite definitely "you can only use pure Python packages" and "This means that libraries like numpy, scikit-learn, or cryptography can be used in a desktop app, but not a mobile app."
But fortunately briefcases FAQ mentions the "Chaquopy package index" website where you can find a list of nearly a hundred packages – among them:
numpy, scikit-learn, and cryptography …
As a non-professional hobbyist and Python-enthusiast I'd really, really appreciate it very-very-very much if someone could develop and post a simple example/tutorial here at beeware on how to go about including & implementing e.g. matplotlib into an Android app, covering items like:
– pip --… install matplotlib from Chaquopy's repository (binary wheels)
– editing build.gradle, requirements.txt (and whereever else necessary)
– importing matplotlib into app.py and a simple use of it
– whatever else is relevant to an app
(– maybe also: how to detect which version is required ?)
Thanks a lot! Clemsam
Beta Was this translation helpful? Give feedback.
All reactions