Name: ug-nfc-efl
Summary: UI gadget about the nfc
Version: 0.0.2
-Release: 17
+Release: 20
Group: TO_BE/FILLED_IN
License: Samsung Proprietary License
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(utilX)
-BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(status)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-network-nfc)
+BuildRequires: pkgconfig(capi-content-mime-type)
BuildRequires: cmake
BuildRequires: edje-tools
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
ADD_DEFINITIONS("-DEDJDIR=\"${EDJDIR}\"")
ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
+#ADD_DEFINITIONS("-D_SBEAM_SUPPORT_")
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION 0.1.0)
+
+#define PADDING_TOP( param_padding_size ) \
+ part \
+ { \
+ name: "top_pad"; \
+ type: RECT; \
+ scale: 1; \
+ description \
+ { \
+ state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: 0 param_padding_size; \
+ fixed: 0 1; \
+ rel1 {relative: 0 0;} \
+ rel2 {relative: 1 0;} \
+ align:0 0; \
+ } \
+ } \
+
+#define PADDING_BOTTOM( param_padding_size ) \
+ part \
+ { \
+ name: "bottom_pad"; \
+ type: RECT; \
+ scale: 1; \
+ description \
+ { \
+ state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: 0 param_padding_size; \
+ fixed: 0 1; \
+ rel1 { relative: 0 1; } \
+ rel2 { relative: 1 1; } \
+ align: 0 1; \
+ } \
+ } \
+
+#define PADDING_LEFT( param_padding_size ) \
+ part \
+ { \
+ name: "left_pad"; \
+ type: RECT; \
+ scale: 1; \
+ description \
+ { \
+ state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: param_padding_size 0; \
+ fixed: 1 0; \
+ rel1 {relative: 0 0;} \
+ rel2 {relative: 0 1;} \
+ align:0 0; \
+ } \
+ } \
+
+#define PADDING_RIGHT( param_padding_size ) \
+ part \
+ { \
+ name: "right_pad"; \
+ type: RECT; \
+ scale: 1; \
+ description \
+ { \
+ state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: param_padding_size 0; \
+ fixed: 1 0; \
+ rel1 {relative: 1 0;} \
+ rel2 {relative: 1 1;} \
+ align:1 0; \
+ } \
+ } \
+
+#define SETTING_LIST_HEIGHT (40+113+113)
+#define SCREEN_HEIGHT 1280
+
collections {
styles
description
{
state: "default" 0.0;
- min: 0 50;
+ min: 0 SETTING_LIST_HEIGHT;
fixed: 0 1;
rel1{relative: 0 0;}
- rel2{relative: 1 0.3;}
- align: 0.5 0.0;
- }
- }
-
- part
- {
- name: "left_pad";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 0 0;
- min: 16 0;
- fixed: 1 0;
- rel1 {relative: 0 1; to_y: "setting_list";}
- rel2 {relative: 0 1;}
- align: 0 0;
- }
- }
-
- part
- {
- name: "right_pad";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 0 0;
- min: 16 0;
- fixed: 1 0;
- rel1 {relative: 1 1; to_y: "setting_list";}
- rel2 {relative: 1 1;}
+ rel2{relative: 1 SETTING_LIST_HEIGHT/SCREEN_HEIGHT;}
align: 0 0;
}
}
part
{
- name: "bottom_pad";
+ name: "setting_list_pad";
type: RECT;
scale: 1;
description
{
state: "default" 0.0;
color: 0 0 0 0;
- min: 0 16;
+ min: 0 36;
fixed: 0 1;
- rel1 {relative: 0 0.75;}
- rel2 {relative: 1 0.75;}
- align: 0 0;
+ rel1 {relative: 0 1; to_y: "setting_list";}
+ rel2 {relative: 1 1; to_y: "setting_list";}
+ align:0 0;
}
}
+ PADDING_LEFT(40)
+ PADDING_RIGHT(40)
+ PADDING_BOTTOM(40)
part
{
typedef enum _NFCSettingType {
NFC_ON_OFF = 0,
+#ifdef _SBEAM_SUPPORT_
NFC_S_BEAM,
+#endif
NFC_SETTING_MAX
} NFCSettingType;
#define NFC_MANAGER_ENABLE 1
#define NFC_MANAGER_DISABLE 0
+#ifdef _SBEAM_SUPPORT_
+#define S_BEAM_DESCRIPTION_MSG_WRAP_WIDTH 640
+#endif
+
static Elm_Genlist_Item_Class itc_seperator;
static Elm_Genlist_Item_Class itc;
static Elm_Object_Item *on_off_item = NULL;
+#ifdef _SBEAM_SUPPORT_
static Elm_Object_Item *sbeam_item = NULL;
+#endif
static bool pending_status = FALSE;
break;
case UG_FONT_HELP :
- color = 0x00000000;
+ color = 0x007C7C7C;
break;
default :
break;
case UG_FONT_HELP :
- style = "bold";
+ style = "";
break;
default :
{
LOGD("[%s(): %d] BEGIN >>>>", __FUNCTION__, __LINE__);
-#if 0
- _set_pending_status(FALSE);
-
- if (on_off_item != NULL)
- elm_genlist_item_update(on_off_item);
-#endif
nfc_manager_deinitialize();
LOGD("[%s(): %d] END <<<<", __FUNCTION__, __LINE__);
LOGD("[%s(): %d] END <<<<", __FUNCTION__, __LINE__);
}
+#ifdef _SBEAM_SUPPORT_
static void _change_nfc_sbeam_setting(void)
{
int status;
LOGD("[%s(): %d] END <<<<", __FUNCTION__, __LINE__);
}
+#endif
static void _nfc_onoff_vconf_update_cb(keynode_t *key, void *data)
{
LOGD("[%s(): %d] BEGIN >>>>", __FUNCTION__, __LINE__);
int nfc_mode = 0;
+#ifdef _SBEAM_SUPPORT_
int sbeam_state = 0;
static int sbeam_off_by_nfcOnOff = EINA_FALSE;
+#endif
int result;
if ((result = vconf_get_bool(VCONFKEY_NFC_STATE, &nfc_mode)) == 0)
return;
}
+ LOGD("nfc mode %s \n", nfc_mode > 0 ? "ON" : "OFF");
+
+#ifdef _SBEAM_SUPPORT_
if ((result = vconf_get_bool(VCONFKEY_NFC_SBEAM, &sbeam_state)) == 0)
{
LOGD("[%s(): %d] vconf_get_bool status [%d]\n", __FUNCTION__, __LINE__, sbeam_state);
return;
}
- LOGD("nfc mode %s \n", nfc_mode > 0 ? "ON" : "OFF");
LOGD("S BEAM state %d, NFC was off by nfcOnOff %s \n",
sbeam_state, sbeam_off_by_nfcOnOff == EINA_TRUE ? "Yes" : "No");
+#endif
/* nfc setting ui updated */
_set_pending_status(FALSE);
if (on_off_item != NULL)
elm_genlist_item_update(on_off_item);
+#ifdef _SBEAM_SUPPORT_
if (nfc_mode == VCONFKEY_NFC_STATE_OFF)
{
/* sbeam setting disabled */
{
LOGD("Invalid Vconf value \n");
}
+#endif
LOGD("[%s(): %d] END <<<<", __FUNCTION__, __LINE__);
}
LOGD("[%s(): %d] vconf_get_bool error [%d]", __FUNCTION__, __LINE__, result);
}
}
+#ifdef _SBEAM_SUPPORT_
else if (item_data->type == NFC_S_BEAM)
{
if (!vconf_get_bool(VCONFKEY_NFC_SBEAM, &enable))
LOGD("[%s(): %d] vconf_get_bool error [%d]", __FUNCTION__, __LINE__, result);
}
}
+#endif
else
{
LOGD("[%s(): %d] item_data->type error", __FUNCTION__, __LINE__);
elm_genlist_item_update(item);
}
+#ifdef _SBEAM_SUPPORT_
else if (item_data->type == NFC_S_BEAM)
{
_change_nfc_sbeam_setting();
elm_genlist_item_update(item);
}
+#endif
else
{
LOGD("[%s(): %d] item_data->type error", __FUNCTION__, __LINE__);
if (on_off_item != NULL)
elm_genlist_item_update(on_off_item);
}
+#ifdef _SBEAM_SUPPORT_
else if (item_data->type == NFC_S_BEAM)
{
_change_nfc_sbeam_setting();
if (sbeam_item != NULL)
elm_genlist_item_update(sbeam_item);
}
+#endif
else
{
LOGD("[%s(): %d] item_data->type error", __FUNCTION__, __LINE__);
elm_object_style_set(content, "on&off");
}
}
+#ifdef _SBEAM_SUPPORT_
else if (item_data->type == NFC_S_BEAM)
{
content = elm_check_add(obj);
elm_object_style_set(content, "on&off");
}
+#endif
else
{
LOGD("[%s(): %d] item_data->type error", __FUNCTION__, __LINE__);
{
text = strdup(IDS_NFC_NFC);
}
+#ifdef _SBEAM_SUPPORT_
else if (item_data->type == NFC_S_BEAM)
{
text = strdup(IDS_NFC_S_BEAM);
}
+#endif
else
{
LOGD("[%s(): %d] type error", __FUNCTION__, __LINE__);
elm_genlist_bounce_set(genlist, EINA_FALSE, EINA_FALSE);
elm_object_style_set(genlist, "dialogue");
- itc_seperator.item_style = "grouptitle.dialogue.seperator";
+ itc_seperator.item_style = "dialogue/separator";
itc_seperator.func.text_get = NULL;
itc_seperator.func.content_get = NULL;
itc_seperator.func.state_get = NULL;
itc.func.del = NULL;
/* seperator */
- Elm_Object_Item* dialoguegroup = elm_genlist_item_append(genlist, &itc_seperator, NULL, NULL, ELM_GENLIST_ITEM_GROUP, NULL, NULL);
- elm_genlist_item_select_mode_set(dialoguegroup, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
+ Elm_Object_Item* seperator1 = elm_genlist_item_append(genlist, &itc_seperator, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_select_mode_set(seperator1, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
/* NFC setting */
gl_item_data *on_off_data = NULL;
on_off_data->data = ug_data;
on_off_item = elm_genlist_item_append(genlist, &itc, (void *)on_off_data, NULL, ELM_GENLIST_ITEM_NONE, _gl_sel_activation, (void *)on_off_data);
+#ifdef _SBEAM_SUPPORT_
/* S beam setting */
gl_item_data *sbeam_data = NULL;
sbeam_data = malloc(sizeof(gl_item_data));
{
elm_object_item_disabled_set(sbeam_item, TRUE);
}
+#endif
evas_object_show(genlist);
elm_object_part_content_set(layout, "setting_list", genlist);
+#ifdef _SBEAM_SUPPORT_
/* set help text */
char path[1024] = { 0, };
Evas_Object *label = NULL;
_get_label_text(UG_FONT_HELP, IDS_NFC_S_BEAM_DESCRIPTION_MSG_CHN, UG_ALIGN_LEFT, path, sizeof(path));
label = elm_label_add(layout);
elm_object_part_content_set(layout, "sbeam_help", label);
+ elm_label_wrap_width_set(label, S_BEAM_DESCRIPTION_MSG_WRAP_WIDTH);
elm_label_line_wrap_set(label, ELM_WRAP_MIXED);
elm_object_text_set(label, path);
+#endif
return layout;
}
ui-gadget-1
dlog
vconf
-syspopup-caller
+status
capi-appfw-application
capi-network-nfc
+capi-content-mime-type
)
FOREACH(flag ${pkgs_ug_nfc_share_CFLAGS})
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/images/ DESTINATION ${IMAGEDIR} FILES_MATCHING PATTERN "*.jpg")
ADD_SUBDIRECTORY(po)
-
#define IDS_SHARE_VIA_NFC dgettext(PACKAGE, "IDS_NFC_HEADER_SHARE_VIA_NFC")
#define IDS_GENTLY_TOUCH_PHONES_TOGETHER_TO_SHARE dgettext(PACKAGE, "IDS_NFC_BODY_GENTLY_TOUCH_PHONES_TOGETHER_TO_SHARE")
#define IDS_TO_CANCEL_SHARING_TAP_CANCEL dgettext(PACKAGE, "IDS_NFC_BODY_TO_CANCEL_SHARING_TAP_CANCEL")
-#define IDS_TAG_SHARED dgettext(PACKAGE, "IDS_NFC_POP_TAG_SHARED")
-#define IDS_FAILED_TO_SHARE_TAG dgettext(PACKAGE, "IDS_NFC_POP_FAILED_TO_SHARE_TAG")
#define IDS_TRANSFER_FAILED dgettext(PACKAGE, "IDS_NFC_POP_TRANSFER_FAILED")
#define IDS_SERVICE_NOT_AVAILABLE_NFC_TURNED_OFF_TURN_ON_NFC_Q dgettext(PACKAGE, "IDS_NFC_POP_SERVICE_NOT_AVAILABLE_NFC_TURNED_OFF_TURN_ON_NFC_Q")
+//#define IDS_TAG_SHARED dgettext(PACKAGE, "IDS_NFC_POP_TAG_SHARED")
+#define IDS_TAG_SHARED _("Shared")
+//#define IDS_FAILED_TO_SHARE_TAG dgettext(PACKAGE, "IDS_NFC_POP_FAILED_TO_SHARE_TAG")
+#define IDS_FAILED_TO_SHARE_TAG _("Failed")
#define IDS_HANDOVER _("HANDOVER")
-#define IDS_UNABLE_TO_SHARE_FILES_MAXIMUM_FILE_SIZE_EXCEEDED_SHARE_FILES_VIA_BLUETOOTH_PAIRED_DEVICES_MAY_BE_DISCONNECTED_CONTINUE_Q \
- _("File size exceeds allowed limit. Share files via Bluetooth. Continue?")
#define IDS_NFC_SERVICE_IS_NOT_SUPPORTED _("NFC service is not supported")
/* System string */
#include <sys/wait.h>
/* external library header */
-#include "xdgmime.h"
-
#include <assert.h>
#include <glib.h>
return image;
}
+#if 0
static Evas_Object *_create_label(Evas_Object *parent, const char *text, const char *swallow, void *data)
{
Evas_Object *label;
return ly;
}
+static Evas_Object* _create_win_for_popup(Evas_Object * parent)
+{
+ Evas_Object *eo;
+ int w, h;
+
+ eo = elm_win_add(parent, "NFCShareSubWindow", ELM_WIN_BASIC);
+ if (eo)
+ {
+ elm_win_title_set(eo, "NFCShareSubWindow");
+ elm_win_borderless_set(eo, EINA_TRUE);
+ elm_win_alpha_set(eo, EINA_TRUE);
+ evas_object_smart_callback_add(eo, "delete,request", _win_del, NULL);
+ ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
+ evas_object_resize(eo, w, h);
+ elm_win_indicator_mode_set(eo, EINA_TRUE);
+ }
+
+ return eo;
+}
+#endif
+
static Evas_Object *_create_bg(Evas_Object *win)
{
Evas_Object *bg = elm_bg_add(win);
LOGD("[%s(): %d] END >>>>", __FUNCTION__, __LINE__);
}
-static Evas_Object* _create_win_for_popup(Evas_Object * parent)
-{
- Evas_Object *eo;
- int w, h;
-
- eo = elm_win_add(parent, "NFCShareSubWindow", ELM_WIN_BASIC);
- if (eo)
- {
- elm_win_title_set(eo, "NFCShareSubWindow");
- elm_win_borderless_set(eo, EINA_TRUE);
- elm_win_alpha_set(eo, EINA_TRUE);
- evas_object_smart_callback_add(eo, "delete,request", _win_del, NULL);
- ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
- evas_object_resize(eo, w, h);
- elm_win_indicator_mode_set(eo, EINA_TRUE);
- }
-
- return eo;
-}
-
static void _activation_completed_cb(nfc_error_e error, void *user_data)
{
ugdata_t *ug_data = (ugdata_t *)user_data;
{
ugdata_t* ug_data = (ugdata_t*)user_data;
Evas_Object* nfc_share_layout = NULL;
- Evas_Object* l_button = NULL;
LOGD("[%s(): %d] BEGIN >>>>", __FUNCTION__, __LINE__);
#include <sys/wait.h>
/* external library header */
-#include "xdgmime.h"
-#include "syspopup_caller.h"
-
+#include "mime_type.h"
+#include "status.h"
#define NFC_POPUP_TIMEOUT 3.0
static ug_nfc_share_tag_type ug_nfc_share_tagType;
-static char *ug_nfc_share_displayText = NULL;
int _bt_ipc_send_obex_message(uint8_t *address, const uint8_t *files, uint32_t length);
/*-----------------------------------------------------------------------------------------------*/
-static void _show_failure_popup(void *data, char *str)
-{
- ugdata_t *ug_data = (ugdata_t *)data;
-
- LOGD("[%s(): %d] BEGIN>>>>", __FUNCTION__, __LINE__);
-
- ret_if(ug_data == NULL);
- ret_if(str == NULL);
-
- bundle *bd = NULL;
-
- bd = bundle_create();
- bundle_add(bd, "0", "info");
- bundle_add(bd, "1", str);
- bundle_add(bd, "2", "0"); // bottom orientation
- bundle_add(bd, "3", "2"); // terminated after 2 seconds
-
- syspopup_launch("tickernoti-syspopup", bd);
-
- bundle_free(bd);
-
- ug_destroy_me(ug_data->nfc_share_ug);
-
- LOGD("[%s(): %d] END>>>>", __FUNCTION__, __LINE__);
-}
-
-static void _show_success_popup(void *data)
+static void _show_status_text(void *data, char *text)
{
- char popup_str[POPUP_TEXT_SIZE] = { 0, };
ugdata_t *ug_data = (ugdata_t *)data;
LOGD("[%s(): %d] BEGIN>>>>", __FUNCTION__, __LINE__);
ret_if(ug_data == NULL);
+ ret_if(text == NULL);
- snprintf(popup_str, POPUP_TEXT_SIZE, "%s", IDS_TAG_SHARED);
-
- bundle *bd = NULL;
-
- bd = bundle_create();
- bundle_add(bd, "0", "info");
- bundle_add(bd, "1", popup_str);
- bundle_add(bd, "2", "0"); // bottom orientation
- bundle_add(bd, "3", "2"); // terminated after 2 seconds
-
- syspopup_launch("tickernoti-syspopup", bd);
-
- bundle_free(bd);
+ status_message_post(text);
ug_destroy_me(ug_data->nfc_share_ug);
}
-static ug_nfc_share_result_e ug_nfc_share_make_mime_type_data_from_file_path(const char *path, uint8_t **type_data, uint32_t *type_size)
+static ug_nfc_share_result_e ug_nfc_share_make_mime_type_data_from_file_path(const char *path, uint8_t *type_data, uint32_t *type_size)
{
ug_nfc_share_result_e result = UG_NFC_SHARE_ERROR;
- const char *mime_type;
+ char *extension = NULL;
LOGD("[%s(): %d] BEGIN >>>>", __FUNCTION__, __LINE__);
retv_if(path == NULL, result);
retv_if(type_data == NULL, result);
+ retv_if(type_size == NULL, result);
+
+ LOGD("typedata = %p, typesize = %d", type_data, *type_size);
+
+ memset(type_data, 0, *type_size);
+ *type_size = 0;
+
+ extension = strrchr(path, '.');
+ LOGD("extension = %s\n", GET_SAFE_STRING(extension));
- mime_type = xdg_mime_get_mime_type_from_file_name(path);
- UG_NFC_SHARE_MEM_MALLOC(*type_data, strlen(mime_type), uint8_t);
- memcpy(*type_data, mime_type, strlen(mime_type));
- *type_size = strlen(mime_type);
+ if (extension != NULL)
+ {
+ char *mime_str = NULL;
+
+ if (mime_type_get_mime_type(extension+1, &mime_str) == MIME_TYPE_ERROR_NONE)
+ {
+ LOGD("mime_str[%s]", mime_str);
- LOGD("mime type : %s", GET_SAFE_STRING((char *)*type_data));
+ *type_size = strlen(mime_str);
+ memcpy(type_data, mime_str, *type_size);
+ result = UG_NFC_SHARE_OK;
+ }
+ else
+ {
+ LOGD("ERROR :: mime_type_get_mime_type failed");
+ result = UG_NFC_SHARE_ERROR;
+ }
+ }
- result = UG_NFC_SHARE_OK;
+ LOGD("mime type : %s", GET_SAFE_STRING((char *)type_data));
LOGD("[%s(): %d] END >>>>", __FUNCTION__, __LINE__);
{
int result = UG_NFC_SHARE_ERROR;
struct stat st;
- uint8_t *type_buffer = NULL;
- int type_size = 0;
+ uint8_t type_buffer[50] = { 0, };
+ int type_size = sizeof(type_buffer);
nfc_ndef_record_h record = NULL;
FILE *file = NULL;
char *file_name = NULL;
}
/* get type data */
- result = ug_nfc_share_make_mime_type_data_from_file_path(path, &type_buffer, (uint32_t *)&type_size);
+ result = ug_nfc_share_make_mime_type_data_from_file_path(path, type_buffer, (uint32_t *)&type_size);
if (result != UG_NFC_SHARE_OK)
{
LOGD("ERROR :: _make_mime_type_data_from_file_path failed [%d]", result);
{
int result = UG_NFC_SHARE_ERROR;
struct stat st;
- uint8_t *type_buffer = NULL;
- int type_size = 0;
+ uint8_t type_buffer[50] = { 0, };
+ int type_size = sizeof(type_buffer);
nfc_ndef_record_h record = NULL;
FILE *file = NULL;
char *file_name = NULL;
}
/* get type data */
- result = ug_nfc_share_make_mime_type_data_from_file_path(path[index], &type_buffer, (uint32_t *)&type_size);
+ result = ug_nfc_share_make_mime_type_data_from_file_path(path[index], type_buffer, (uint32_t *)&type_size);
if (result != UG_NFC_SHARE_OK)
{
LOGD("ERROR :: _make_mime_type_data_from_file_path failed [%d]", result);
if (_bt_ipc_send_obex_message(address, (uint8_t *)data, strlen(data) + 1) == 0)
{
- /* show success popup */
- _show_success_popup(ug_data);
+ _show_status_text(ug_data, IDS_TAG_SHARED);
}
else
{
LOGD("_bt_ipc_send_obex_message failed");
- /* show failure popup */
- _show_failure_popup(ug_data, IDS_FAILED_TO_SHARE_TAG);
+ _show_status_text(ug_data, IDS_FAILED_TO_SHARE_TAG);
}
}
else
{
LOGD("p2p_connection_handover failed");
- /* show failure popup */
- _show_failure_popup(ug_data, IDS_FAILED_TO_SHARE_TAG);
+ _show_status_text(ug_data, IDS_FAILED_TO_SHARE_TAG);
}
LOGD("[%s(): %d] END>>>>", __FUNCTION__, __LINE__);
{
LOGD("_p2p_send_completed_cb is completed");
- /* show success popup */
- _show_success_popup(ug_data);
+ _show_status_text(ug_data, IDS_TAG_SHARED);
}
else
{
LOGD("_p2p_send_completed_cb failed");
- /* show failure popup */
- _show_failure_popup(ug_data, IDS_FAILED_TO_SHARE_TAG);
+ _show_status_text(ug_data, IDS_FAILED_TO_SHARE_TAG);
}
LOGD("[%s(): %d] END>>>>", __FUNCTION__, __LINE__);