Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
How XML data parse from array and display into list view
Hello,
I fetched http data from URL using CURL and get in into array…but my objective display data in list view any one please help me with example…
Here I attached my sample code…
void printParsedList(Eina_List * jsonlist, int level)
{
Eina_List *l;
void *list_data;
int i=0;
EINA_LIST_FOREACH(jsonlist, l, list_data)
{
……
……
}
eina_list_free(jsonlist);
}
static void parseArray_clicked_cb(void *data)
{
JsonParser *jsonParser;
jsonParser = json_parser_new ();
guint nested_objects = G_N_ELEMENTS (data);
LOGI(“ParseNestedObjects size %d”,n_test_nested_objects);
for (int i = 0; i < nested_objects; i++)
{
GError *error = NULL;
if (!json_parser_load_from_data (jsonParser, data[i], -1, &error))
{
LOGI(“ParseNestedObjects Error”);
g_error_free (error);
}
else
{
int level =1;
Eina_List *jsonList = NULL;
jsonList =ParseJsonEntity(json_parser_get_root (jsonParser),false);
printParsedList(jsonList,level);
}
}
g_object_unref(jsonParser);
}
Required XML to list view from array buf[].
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio