<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/>
<tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.1455957378" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
<tool id="org.tizen.nativecore.tool.sbi.po.compiler.1467013362" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
<tool id="org.tizen.nativecore.tool.sbi.edc.compiler.626098173" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler">
- <option id="sbi.gnu.edc.compiler.option.misc.id.1317882362" name="Image Path (-id)" superClass="sbi.gnu.edc.compiler.option.misc.id" valueType="stringList">
+ <option command="-id " id="sbi.gnu.edc.compiler.option.misc.id.1317882362" name="Image Path (-id)" superClass="sbi.gnu.edc.compiler.option.misc.id" valueType="stringList">
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/edje/images""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/res/edje/images}""/>
</option>
- <option id="sbi.gnu.edc.compiler.option.misc.sd.1377446978" name="Sound Path (-sd)" superClass="sbi.gnu.edc.compiler.option.misc.sd" valueType="stringList">
+ <option command="-sd " id="sbi.gnu.edc.compiler.option.misc.sd.1377446978" name="Sound Path (-sd)" superClass="sbi.gnu.edc.compiler.option.misc.sd" valueType="stringList">
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/edje/sounds""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/res/edje/sounds}""/>
</option>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/>
</natures>
<filteredResources>
<filter>
- <id>0</id>
+ <id>1465204573885</id>
<name></name>
<type>26</type>
<matcher>
</matcher>
</filter>
<filter>
- <id>0</id>
+ <id>1465204573892</id>
<name></name>
<type>6</type>
<matcher>
#ifndef GL_WIDGET_DEBUG_H
#define GL_WIDGET_DEBUG_H
+#define LOG_TAG "GALLERY_WIDGET_APP"
+
#if !defined(FLOG)
#define DbgPrint(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "[%s : %05d]" fmt "\n", __func__, __LINE__, ##arg)
#define ErrPrint(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, "[%s : %05d]" fmt "\n", __func__, __LINE__, ##arg)
#define TIMER_INTERVAL 5
#define WIDGET_HEIGHT 500
#define WIDGET_WIDTH 500
-#define EDJE_FILE "edje/gallerywidget.edj"
+#define EDJE_FILE "gallerywidget.edj"
#define GL_WIDGET_ARGV_IV_VIEW_BY "View By"
#define GL_WIDGET_ARGV_IV_VIEW_BY_FOLER "By Folder"
#define GL_WIDGET_ARGV_IV_PATH "Path"
EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(layoutButton, EVAS_HINT_FILL,
EVAS_HINT_FILL);
+ char path[1024];
+ char *res_path = app_get_resource_path();
+ if (!res_path) {
+ DbgPrint("Resource path not found");
+ return;
+ }
+ DbgPrint("Resource path : %s", res_path);
+ snprintf(path, 1024, "%s%s", res_path, EDJE_FILE);
+ DbgPrint("path : %s", path);
elm_layout_file_set(layoutButton,
- "/usr/apps/org.tizen.gallery/res/edje/gallerywidget.edj",
+ path,
"today_button");
elm_object_domain_translatable_part_text_set(layoutButton, "elm.text",
"gallery", "IDS_QP_ACBUTTON_EDIT_ABB");
return -1;
}
+ char path[1024];
+ char *res_path = app_get_resource_path();
+ if (!res_path) {
+ DbgPrint("Resource path not found");
+ return -1;
+ }
+ DbgPrint("Resource path : %s", res_path);
+ snprintf(path, 1024, "%s%s", res_path, EDJE_FILE);
+ DbgPrint("path : %s", path);
elm_layout_file_set(layout,
- "/usr/apps/org.tizen.gallery/res/edje/gallerywidget.edj",
+ path,
"widget_custom_main");
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_resize(layout, WIDGET_WIDTH, WIDGET_HEIGHT);
layout);
}
- evas_object_resize(layout, w, h);
+// evas_object_resize(layout, w, h);
+ elm_win_resize_object_add(widget_data->win, layout);
evas_object_event_callback_add(widget_data->win, EVAS_CALLBACK_KEY_DOWN,
gl_widget_key_down_cb, NULL);
#include <widget_service.h>
#include <widget_app.h>
#include <widget_app_efl.h>
-
#include <media_content.h>
#include "gl_widget_debug.h"
DbgPrint("failed to create instance");
return WIDGET_ERROR_OUT_OF_MEMORY;
}
- bindtextdomain(PACKAGE, "/usr/apps/org.tizen.gallery/res/locale");
+ char locale_path[1024];
+ char *res_path = app_get_resource_path();
+ if (!res_path) {
+ DbgPrint("Resource path not found");
+ return -1;
+ }
+ DbgPrint("Resource path : %s", res_path);
+ snprintf(locale_path, 1024, "%s%s", res_path, "locale");
+ DbgPrint("Locale path : %s", locale_path);
+ bindtextdomain(PACKAGE, locale_path);
widget_data->win = win;
int widget_Resize(widget_context_h context, int w, int h, void *data)
{
struct widget_data *widget_data = NULL;
-
widget_data = (struct widget_data *)getWidgetData(context);
if (!widget_data) {
return WIDGET_ERROR_INVALID_PARAMETER;
&app_language_changed, data);
widget_app_add_event_handler(®ion_changed_handler, APP_EVENT_REGION_FORMAT_CHANGED,
&app_region_changed, data);
-
+// elm_app_base_scale_set(1.8);
widget_instance_lifecycle_callback_s ops;
ops.create = widget_Create;
ops.destroy = widget_Destroy;
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.tizen.gallery-widget" version="1.0.0">
+<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.tizen.gallery" version="2.0.0">
<profile name="mobile"/>
- <ui-application appid="org.tizen.gallery-widget" exec="gallery-widget" launch_mode="single" multiple="false" nodisplay="false" taskmanage="true" type="capp">
- <label>widget</label>
- <icon>org.tizen.gallery.png</icon>
- </ui-application>
+ <widget-application appid="org.tizen.gallery.widget" exec="gallery-widget" hw-acceleration="on" main="true" update-period="0">
+ <label>Gallery</label>
+ <label xml:lang="az-az">Qalereya</label>
+ <label xml:lang="eu-es">Galeria</label>
+ <label xml:lang="bg-bg">Галерия</label>
+ <label xml:lang="ca-es">Galeria</label>
+ <label xml:lang="zh-cn">相册</label>
+ <label xml:lang="zh-hk">媒體瀏覽器</label>
+ <label xml:lang="zh-tw">媒體瀏覽器</label>
+ <label xml:lang="hr-hr">Album</label>
+ <label xml:lang="cs-cz">Galerie</label>
+ <label xml:lang="da-dk">Galleri</label>
+ <label xml:lang="nl-nl">Galerij</label>
+ <label xml:lang="en-gb">Gallery</label>
+ <label xml:lang="en-us">Gallery</label>
+ <label xml:lang="et-ee">Galerii</label>
+ <label xml:lang="fi-fi">Galleria</label>
+ <label xml:lang="fr-fr">Galerie</label>
+ <label xml:lang="gl-es">Galería</label>
+ <label xml:lang="ka-ge">გალერეა</label>
+ <label xml:lang="de-de">Galerie</label>
+ <label xml:lang="el-gr">Συλλογή</label>
+ <label xml:lang="hu-hu">Galéria</label>
+ <label xml:lang="is-is">Gallerí</label>
+ <label xml:lang="ga-ie">Gailearaí</label>
+ <label xml:lang="it-it">Galleria</label>
+ <label xml:lang="ja-jp">ギャラリー</label>
+ <label xml:lang="kk-kz">Галерея</label>
+ <label xml:lang="ko-kr">갤러리</label>
+ <label xml:lang="lv-lv">Galerija</label>
+ <label xml:lang="lt-lt">Galerija</label>
+ <label xml:lang="mk-mk">Галерија</label>
+ <label xml:lang="nb-no">Galleri</label>
+ <label xml:lang="pl-pl">Galeria</label>
+ <label xml:lang="pt-pt">Galeria</label>
+ <label xml:lang="pt-br">Galeria</label>
+ <label xml:lang="ro-ro">Galerie</label>
+ <label xml:lang="ru-ru">Галерея</label>
+ <label xml:lang="sr-rs">Galerija</label>
+ <label xml:lang="sk-sk">Galéria</label>
+ <label xml:lang="sl-si">Galerija</label>
+ <label xml:lang="es-es">Galería</label>
+ <label xml:lang="es-us">Galería</label>
+ <label xml:lang="sv-se">Galleri</label>
+ <label xml:lang="tr-tr">Galeri</label>
+ <label xml:lang="uk-ua">Галерея</label>
+ <label xml:lang="uz-uz">Galereya</label>
+ <label xml:lang="ar-ae">ﺎﺴﺗﻭﺪﻳﻭ</label>
+ <label xml:lang="zh-sg">画廊</label>
+ <label xml:lang="hi-in">गैलरी</label>
+ <label xml:lang="en-ph">Gallery</label>
+ <label xml:lang="fr-ca">Galerie</label>
+ <label xml:lang="ko-kr">앱DBox</label>
+ <icon>preview_gallery_4x4.png</icon>
+ <support-size preview="preview_gallery_4x4.png">4x4</support-size>
+ </widget-application>
</manifest>