-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
sdcard - points not saved #32
Comments
The same setup works here. Error reporting in the app certainly could need some love. Something we have experienced problems with in the past was if no autoincrementing primary key was present in the spatialite file. |
I did add an autoincrement key field to the spatiallitedb-layer. But its is the same behaviour, points are lost after closing/opening the project on sdcard |
Can you attach the project and the database here (or send it to us by mail if it is not public) |
Too bad we do not have an sdcard slot in our test device. |
OK, its not an urgent problem, we don't need project on sdcard for the moment, I can put project/data to device storage |
Note to self, probably only requires this permission: http://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE |
building to test |
as of 0.6.6 from playstore writing to external sd fails silently |
the same project on internal sd works as expected. My own builds crash when writing anywhere, I guess that is something else |
IIUC, all works needs to be done in With Android 5 we get this extra intent ACTION_OPEN_DOCUMENT_TREE |
haha, I was going to post the same comment after noticing how ES file browser does things. |
Confirmed that putting projects and data on the external SD card in
Works on my galaxy s7 edge android 6 |
so currently QField supports reading data from any location on an an SD card but writing only works in the /Android/data/ch.opengis.qfield/files folder of the SDCard. No writing is possible yet in other folders (unless possibly if the device is rooted). |
Thanks @mbernasocchi I think we should (in the following order)
|
Thank's for the redirection and the answer. |
Does the layer's CRS match the project CRS? |
Humm not really, I've got WGS84 mbtiles with Lambert 93 (EPSG:2154) shapefiles. Project is in on the fly SCR. Qfield needs only one projection to work ? |
Yes, I just documented the status in #58 |
Interesting information https://bugreports.qt.io/browse/QTBUG-50759 |
What is the status here @m-kuhn? |
@marioba looked into it and adjusted the project loader dialog to be more explicit about where data is read only and where it's writable. |
If the project and spatiallite db is on sdcard of smartphone, the points disappear after closing and ropening the project. There is no error message that points cannot be saved. The project/database on memory of smartphone is working fine
The text was updated successfully, but these errors were encountered: