Languages

Menu
Sites
Language
Bug: Camera AppControl fails

Ok, this is not good. SDK2.2b is broken again ...!

Just copy the sample code in the documentation and try it. The app will shut down on
 
                IList* pValueList = (IList*) pExtraData->GetValue(
                        String(L"http://tizen.org/appcontrol/data/selected"));
                if (pValueList) {
                // passed this check
                    for (int i = 0; i < pValueList->GetCount(); i++) {
                        String* pValue =
                                dynamic_cast<String*>(pValueList->GetAt(i));
                        AppLog("pValues %S", pValue->GetPointer());
                    }
                }

 

There is nothing returned ... null and then fails and shut down ...

I start to think is not worth it to do anything with this SDK... Come on Tizen  developers you can do better ....

 

 

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

Responses

3 Replies
john Smith
Hi, For me its working , i think you have not added privilege there. in manifest.xml, add the privilege application.launch. After that it work. I am also facing same issue, after adding privilege its working fine.
The sample code in 2.2b does not work..
Bug reported and fixed by tizen team ------------------------------------------ A guide should be fixed. IList* pValueList = (IList*)pExtraData->GetValue(String(L"http://tizen.org/appcontrol/data/selected")); Above line should be changed like below. IList* pValueList = const_cast(dynamic_cast(pExtraData->GetValue(String(L"http://tizen.org/appcontrol/data/selected")))); In SDK2.2 this guide will be updated. --------------------------------------------------------