08-11-2011 12:52 PM
I have one problem.
I'm writing app for navigation based on gpx (xml) file with coordinates, and I have problem.
I download .gpx file from some webpage and i try select it in simple form in my app and send to my server for modification.
When i try select file in form there are ony posibilities: photos, videos, music, documents.
How can i get file from downloads folder ??
08-11-2011 05:51 PM
Are you developing for the BlackBerry Smartphone or the Playbook?
08-12-2011 11:14 AM
Unfortunately in the current release of WebWorks for the playbook you cannot save/read files, only opening with a default app. However this support is coming in the upcoming Foxtrot Release.
However GPX files are just XML data, so you may be able to do what you want without any file manipulation at all. You can send XML data back and forth with simple AJAX calls.
08-12-2011 02:21 PM
ok thanks for reply.
You're right with ajax call's but it's can be more usefull to work with downloaded files.
However i can do more rich app with interacting with coordinates directly from source (websites)
08-12-2011 02:40 PM
What if you take the GPX file down as a string and parse the XML yourself?