hauke96 / GeoNotes

A simple app to create georeferences notes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text gone when rotating phone while taking photo

hauke96 opened this issue · comments

  1. Create a note and enter some text
  2. Click on the camera-button
  3. Rotate the phone
  4. Take a photo
  5. Accept photo

Now GeoNotes returns to the map view and two things are wrong:

  1. The photo is attached to the note but the text is gone
  2. The icon on the map is not the note-with-photo-icon but the normal one

Solution idea

The activity is destroyed when the device is rotated and returns to the normal map screen. If there's not a general problem with the code leading to this bug, saving the note when clicking the camera-button should solve this issue.