Skip to content

How to create my app name automatically on usb connect #2071

@mp-007

Description

@mp-007

I'm working on android 9 and I am able to save my txt file on my usb by using this path:
/storage/external_SD/Android/data/com.your.app.name/files. Where external_SD changes in different vendors.

When I connect my usb, a folder Android/data is automatically create but I don't see my app name in it. I have to create manually my app_name/files to be able to save my txt file.

My question is simple: It is possible to automatically create my app name/files directly on my buildozer spec, python code or AndroidManifest.xml

Reference:
pull request #1528
I can confirm that here.
Path that does work is /storage/external_SD/Android/data/com.your.app.name/files on my lollipop device.
Where external_SD changes in different vendors.
Also it seem that latter Nugat threre was an API added for this but I don't have a device to test.

Originally posted by @guysoft in #1528 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions