Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

//Registered successfully

case EVT_APP_START:
{

int isOk = ISHELL_RegisterNotify(pMe->a.m_pIShell, AEECLSID_SMS_APP, AEECLSID_SMSNOTIFIER,((AEESMS_TYPE_TEXT <<16) | NMASK_SMS_TYPE));

}

return(TRUE);

//notification

case EVT_NOTIFY:
{
AEENotify* temp = (AEENotify*)dwParam;
if(AEECLSID_SMSNOTIFIER == temp->cls && (((AEESMS_TYPE_TEXT<<16) | NMASK_SMS_TYPE) == temp->dwMask))
{
ReceiveSMSMessage(pMe, (uint32)temp->pData);//Handle the message accordingly

return TRUE;
break;

The above is the code i have written for handling non brew sms.

My problem is i want to know when i recieve the sms im able to handle it thru notify and display it, but as well as my applet gets suspended which i dunt want and i dont want that message which is handled by my applet to store in inbox.

is there some thing which im missing??

1 reason could be --- Native SMS application is also handling the non-brew SMS received, which when started, suspends your applet.

1 reason could be --- Native SMS application is also handling the non-brew SMS received, which when started, suspends your applet.

Oceans eleven wrote:1 reason could be --- Native SMS application is also handling the non-brew SMS received, which when started, suspends your applet.
yes exactly, i dunt want this behaviour to happen,
i want to block this native sms interupting my applet,
i used EVT_BUSY, by returning false it makes life bit more difficult i dunt get sms to my applet, so can u pls let me know can i block native sms handler poping up when my applet running and, as well as i shuld be able to handle incomming sms thru my applet??
TESTING DEVICE--->V3C AND HUWAEI 2900I

Oceans eleven wrote:1 reason could be --- Native SMS application is also handling the non-brew SMS received, which when started, suspends your applet.
yes exactly, i dunt want this behaviour to happen,
i want to block this native sms interupting my applet,
i used EVT_BUSY, by returning false it makes life bit more difficult i dunt get sms to my applet, so can u pls let me know can i block native sms handler poping up when my applet running and, as well as i shuld be able to handle incomming sms thru my applet??
TESTING DEVICE--->V3C AND HUWAEI 2900I

oceans any update on my problem??
anyone else can the above problem can be achieved.
ie blocking the native sms handler popup window??

oceans any update on my problem??
anyone else can the above problem can be achieved.
ie blocking the native sms handler popup window??

i didnt get any solution to my problem,
max or any one can help me??

i didnt get any solution to my problem,
max or any one can help me??

I suppose you cannot do what you are intending to do. Your app can only control BREW directed sms. The non BREW sms will be handled by Native SMS app.
-Karthik

I suppose you cannot do what you are intending to do. Your app can only control BREW directed sms. The non BREW sms will be handled by Native SMS app.
-Karthik

BREW applications are automatically suspended by native applications. Unfortunately I do not believe you will be able to over ride this behavior with your own custom SMS application.
Sorry.

BREW applications are automatically suspended by native applications. Unfortunately I do not believe you will be able to over ride this behavior with your own custom SMS application.
Sorry.