Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero Mobile for Android or iOS
>
Deleting files on an Android device
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Deleting files on an Android device (Read 323 times)
Richard M.
Posts: 14
Deleting files on an Android device
«
on:
October 23, 2024, 12:16:16 pm »
Our application uses ui.Interface.frontCall( "mobile", "takePhoto", [], [path] ) to enable a photo to be taken using the device camera.
path is an 'opaque' location of the photo on the device which is available for use in the current iteration.
An example of the path returned is 'content://media/external_primary/images/media/457?name=JPEG_GMA_20241022_170235.jpg&ext=jpg'
I was hoping to use os.Path.delete() to remove the picture, but the path above looks like a URL and is invalid when used in os.Path.delete().
Any ideas on how to do this?
Thanks
Richard M.
Posts: 14
Re: Deleting files on an Android device
«
Reply #1 on:
October 28, 2024, 03:18:34 pm »
The path that seems to work is '/sdcard/Pictures'
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...