paktan / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

Camera-Picture not saved when using "Take picture with camera" #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start logging, add a waypoint using the photo function
2. select "Take picture with camera" (not "Select picture from gallery")

What is the expected output? What do you see instead?
Expected: normally the picture file should be saved under folder structure 
osmtracker/2013-09-13... or osmtracker/data)
Current behaviour: No picture file is saved.

What version of the product are you using (See "About" screen)?
v0.6.5

Make/model of your device, and Android version?
Nexus 4, Android-Version 4.3

Please provide any additional information below.
1. Up to the previous version of OSMtracker, where the selection from 
camera/gallery was not implemented, everything worked fine.
2. The waypoint is saved as expected (as far as I can see) in the exported gpx 
file. Opening in JOSM and selecting the waypoint shows an error message as 
there is no picture-file which could have been copied to the pc.

Original issue reported on code.google.com by mark.kre...@gmail.com on 13 Sep 2013 at 2:17

GoogleCodeExporter commented 9 years ago
I have the same issue. Same device and version as mark.

Debug Infonrmation:
Environment.getExternalDirectory : "/storage/emulated/0"
Environment.getExternalStorageState: "mounted"
Can write to external storage: true

The exported gpx seems to be OK. There is no picture saved.

Original comment by rlf...@googlemail.com on 15 Sep 2013 at 5:15

GoogleCodeExporter commented 9 years ago
Hi,

I think I identified the line that got lost when this patch was applied: 
https://github.com/jakobmoellers/osmtracker-android/commit/9f8fc0fbe8c635f4519b5
799e4538854a4be4b2a#L1R416

I suspect that should result in the picture being saved in the standard gallery 
folder (next to regular camera pictures) rather than the OSM folder. Would you 
be able to confirm that?

Hopefully that shouldn't be hard to fix.

Original comment by nicolas@guillaumin.me on 15 Sep 2013 at 10:47

GoogleCodeExporter commented 9 years ago
I fixed it, that'll be available in the next release. Thanks!

Original comment by nicolas@guillaumin.me on 16 Sep 2013 at 9:14

GoogleCodeExporter commented 9 years ago
Dear Nicolas,
I have tested wether photos are saved as they should.
Result: everything works fine!
Thank you for the quick and helpful reaction.
Kind regards
Mark

Original comment by mark.kre...@gmail.com on 16 Sep 2013 at 4:24

GoogleCodeExporter commented 9 years ago
Dear Nicolas,

it works.
Thank you for you quick response.

Original comment by rlf...@googlemail.com on 19 Sep 2013 at 6:37