wsharba / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 1 forks source link

Media choosers make Collect crash when API < 19 #1003

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a device with 4.1.x.
2. Use a form with an image field.
3. Click "Choose" and select an image.

What is the expected output? What do you see instead?
I should be able to select an image. Collect crashes instead.

Please use labels and text to provide additional information.
It was easy to debug the issue. The problem is that there is a reference to the 
KITKAT constant in the MediaUtils class. The number "19" should be used instead 
because KITKAT throws a NoSuchFieldError when API < 19.

Original issue reported on code.google.com by m.margar...@synergo.gr on 15 May 2014 at 8:38

GoogleCodeExporter commented 9 years ago
Thanks for reporting this.  I've just pushed an update to Google Play.

Original comment by mitchellsundt@gmail.com on 19 May 2014 at 5:58