Languages

Menu
Sites
Language
Problems with AppControl Gallery Picker

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,

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
Michał
Hello, I made app with FilePicker and Camera AppControls. Firstly tests were failed because after button press and choosing file or making photo app was returning to menu. I made video for certification team showing that on my RD-PQ this app is working well. They test it and app pass certification conditionally, because on old device it was not working and on newer it was... and they will retest it after some device hit market and suspend it or not. Later I flashed my device because WiFi was not working. I noticed that there are two system versions: first with core applications preloaded, second with reference apps preloaded. Firstly I flashed device with "core apps preloaded" and after that i found that my app is not working like on their older device. I found : https://wiki.tizen.org/wiki/Porting_Guide/Application . " The core applications are developed with platform internal interfaces, such as Enlightenment Foundation Libraries (EFL) and other 3rd party libraries. The reference applications are developed with Tizen native APIs." So if they are using device with core applications made not in Tizen native API it is possible that all AppControls are not working like they should (its my opinion). When i flash it with reference apps preloaded my app is working well. Its very strange that Samsung is forcing to make apps for Tizen and they are not helping developers and all this developer support is kinda wack...
Harald Meyer
Thanks. I will try it with a sample video for the certification team.