I am showing google map in tizen native using Ewebkit. Is it possible to send data (like latitude, longitude) to html page through Ewebkit? If not, how can i pass these data to the html page while loading? Here is my code....
Evas_Object* HelloWorldMainView::onCreate( Evas_Object* parent, void* viewParam )
{
setTitle( "app-assist-efl");
char edjPath[PATH_MAX] ={0,};
char *resPath = app_get_resource_path();
if (resPath) {
snprintf(edjPath, sizeof(edjPath), "%s%s", resPath, EDJ_FILE);
free(resPath);
}
Evas_Object* ewk = ewk_view_add(evas_object_evas_get(parent));
evas_object_size_hint_weight_set(ewk, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
char str[100] = "";
snprintf(str, 99, "file://%s%s", app_get_shared_resource_path(), "web/google/index.html");
ewk_view_url_set(ewk, str);
evas_object_move(ewk, 0, 0);
evas_object_show(ewk);
return ewk;
}