Languages

Menu
Sites
Language
Are there any Tizen developers who can answer this?

I know there are no tizen developers on this third planet, because I never get any of my questions answered here. But I'm kidna tired to dig into the tizen code to get the answer, so gonna try again.

If there is any tizen developer on this third planet we call earth, then please read below question.

 

When is ACCOUNT_NOTI_NAME_INSERT event fired with respect to Account module APIs?

 

From Tizen's (incomplete) documentation:

 

{


/**
 * @brief  The structure type for the Account subscribe handle.
 * @since_tizen  2.3
 */
typedef struct account_subscribe_s* account_subscribe_h;

/**
 * @brief        The insert notification type.
 * @since_tizen  2.3
 * @remarks      When the account database is changed, You can distinguish one event type from the other which are set for subscribing notification.
 *
 * @see account_subscribe_notification()
 */
#define ACCOUNT_NOTI_NAME_INSERT        "insert"

}

I was able to understand when is "sync_update" is called by putting breakpoints in my code, but I am more interested to know when a "new email arrives". So I was hoping that ACCOUNT_NOTI_NAME_INSERT will be fired once the Account mgr stores a new incoming email into accounts.db. Is that true or what? 

If nobody answers this question, then just enjoy your Wednesday !!!

 

Responses

1 Replies
Armaan-Ul- Islam

Hello, I am sharing some of my finding here with you here.

I didn't faced example implemetation of ACCOUNT_NOTI_NAME_INSERT or "insert" string yet in some sample app or guide yet. This Guide here (In the link) here says a little about registering a notification.

Links related :

https://developer.tizen.org/dev-guide/2.3.1/org.tizen.tutorials/html/native/social/account_tutorial_n.htm

https://developer.tizen.org/dev-guide/2.3.1/org.tizen.guides/html/native/social/account_manager_n.htm

https://developer.tizen.org/development/sample/native/Account