Problems with AppControl Gallery Picker

Problems with AppControl Gallery Picker

BY 11 Jun 2013 Native Application Development

Hi,

I am using the appcontrol to pick images from the gallery. The code is exactly the same as the one provided in the API documentation: https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fguide%2Fapp%2Fappcontrol_gallery.htm

The only changes made are that I have set the selection type to “images” and “single” select:

   String mime = L"image/*";
   HashMap extraData;
   extraData.Construct();
   String selectKey = L"http://tizen.org/appcontrol/data/selection_mode";
   String selectVal = L"single";
   extraData.Add(&selectKey, &selectVal);

The code works fine on my test device with the latest firmware and with the emulator. But the app fails with the Tizen store certification because loading of an image with the code above does not work (the gallery is opened but the selected image path is not returned properly) on their (redwood) test devices.

I had a similar problem with the camera picker where a key value had changed (and is wrong described in the API docs). Can anyone tell me why the gallery picker does not work with the store test devices’?

Regards,

Written by