Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom file selector #476

Merged
merged 18 commits into from Feb 13, 2019

Conversation

Projects
None yet
3 participants
@marioba
Copy link
Contributor

marioba commented Feb 12, 2019

The new file selector, no longer uses Android's documents providers because QField currently needs to work with local files of which the full path is known. Documents providers work with Uris and Filestreams that make them versatile and usable even with remote storage etc., but make QField integration and customization very tricky.
The new file selector only shows *.qgs files that physically reside on the device and is perfectly integrated with the rest of QField and it complies with the guidelines of Android much better.

As roots for file selection, there are:

  • The primary media/shared storage directory returned by Environment.getExternalStorageDirectory()
  • The application-specific directories on all shared/external storage devices where the application can place persistent files it owns if they are not already included in the primary storage directory.

Other directories on sd cards and the like are not shown as they are currently read-only for QField. The only directory on removable memory cards that is writable is Android/data/ch.opengis.qfield/files (i.e. the application-specific directory).

@qfield-fairy

This comment has been minimized.

Copy link
Collaborator

qfield-fairy commented Feb 12, 2019

Uploaded test apks for armv7 and x86

@marioba marioba referenced this pull request Feb 12, 2019

Closed

QGS or QGZ does not exist #390

@qfield-fairy

This comment has been minimized.

Copy link
Collaborator

qfield-fairy commented Feb 12, 2019

Uploaded test apks for armv7 and x86

@qfield-fairy

This comment has been minimized.

Copy link
Collaborator

qfield-fairy commented Feb 12, 2019

Uploaded test apks for armv7 and x86

@qfield-fairy

This comment has been minimized.

Copy link
Collaborator

qfield-fairy commented Feb 12, 2019

Uploaded test apks for armv7 and x86

@qfield-fairy

This comment has been minimized.

Copy link
Collaborator

qfield-fairy commented Feb 13, 2019

Uploaded test apks for armv7 and x86

@qfield-fairy

This comment has been minimized.

Copy link
Collaborator

qfield-fairy commented Feb 13, 2019

Uploaded test apks for armv7 and x86

@mbernasocchi mbernasocchi self-requested a review Feb 13, 2019

@marioba marioba requested a review from qfield-fairy Feb 13, 2019

@qfield-fairy

This comment has been minimized.

Copy link
Collaborator

qfield-fairy commented Feb 13, 2019

Uploaded test apks for armv7 and x86

@marioba marioba merged commit eff739f into master Feb 13, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@marioba marioba deleted the custom_file_selector branch Feb 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.