I want to write a native application in c to get the value of region in Tizen. The compiled c code must be run on the Tizen phone and I need to get the Value of language region. The callback function i got from Tizen source is
int app_cb_broker_appcore_region_changed(void *data)
{
app_region_format_changed_cb region_changed_cb;
region_changed_cb = app_context.callbacks->region_format_changed;
if (region_changed_cb != NULL)
{
region_changed_cb(app_context.user_data);
}
return 0;
}
How to use this function to get the value of current region?