Skip to content
Advertisement

How to use Callback function to get language in Tizen?

I want to write a native application in c to get the value of language in Tizen. The compiled c code must be run on the Tizen phone and I need to get the Value of language. The callback function i got from Tizen source is

int app_cb_broker_appcore_lang_changed(void *data)
{
    app_language_changed_cb lang_changed_cb;

    lang_changed_cb = app_context.callbacks->language_changed;

    if (lang_changed_cb != NULL)
    {
            lang_changed_cb(app_context.user_data);
    }

    return 0;
}

How to use this function to get the value of current language?

Advertisement

Answer

Since you are trying to work with the Native API and Tizen is a quite new enterprise and even though Tizen is documented on the Web API side it is not fully documented on Native API, why don’t try to ask some of people that are developing it they might know better.

On their site they give an irc room https://www.tizen.org/community/irc:

Primary Channel: #tizen at irc.freenode.net: 24/7 open discussion.

Or the mailing list: https://www.tizen.org/community/mailing-lists

Later edit: I went myself on that IRC room and asked for some details on deployment and Native API and I received (after half an hour) this link: http://giscaro.wordpress.com/ so there can be a response there. I would have asked your question but I don’t know what you want to do exactly. If you do not have a IRC client installed you can use this link to login automatically to the #tizen chat room via a webchat, with a random username(You must complete Recapcha).

Advertisement