Skip to content

resource on Android #2772

Answered by freakboy3742
Pogzy asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need to explicitly declare data files as part of packaging the app - any file that is a folder named in your sources (or a subfolder of those folders) will be copied into your app bundle.

The toga.App.app.paths.app location won't be literally the same path on Windows and Android because the app will be in different locations - but it will be functionally the same, relative to the location of the app.

If you're having difficulty reading a database file, that's likely because the code hasn't been updated and the database file hasn't been includes as part of the app. Re-running briefcase update (or briefcase run -u) should fix that problem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Pogzy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants