BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-12-2010, 06:40 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2009
Model: 7100T
PIN: N/A
Carrier: java
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default alert for unnoticed missed call, sms

Please Login to Remove!

Hi to all,

i want to get the alert of unnoticed missed call, sms. What i mean to say is that yet user has not seen the sms and missed call on his phone. for those unnoticed missed call and sms is there any api/flag that i can use? how to do it programmatically?

all ur reply are highly appreciated

with thanx and regards
shakeel
Offline  
Old 01-13-2010, 03:04 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2009
Model: 7100T
PIN: N/A
Carrier: java
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default alert for unnoticed missed call

Hello everyone,


does anybody know how to get notification/alert of unnoticed SMS or missed call using apis? whenever user doesn't notice the call. then there is one message is showed on homescreen of missed call. i want to get that event for unnoticed SMS and missed call.


Plz help me.


with thanx and regards

shakeel
Offline  
Old 01-13-2010, 01:22 PM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

It's all in the API docs.

For SMS, see MessageConnection and MessageListener.

For missed calls, you need to attach a listener to the phone log. See PhoneCall and PhoneCallLog
Offline  
Old 01-15-2010, 11:18 PM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2009
Model: 7100T
PIN: N/A
Carrier: java
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default alert for unnoticed missed call

thanx for ur reply Dougsg38p,


i have gone through the apis the classes u have mentioned. but i have not found any appropriate apis. can u just explain me that which apis i can use. for the missed call i have found one flag type_missed_call_unopened in the phonecalllog class. but how can i use it. plz reply.

with thnax and regards
shakeel
Offline  
Old 01-16-2010, 09:23 AM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

I have already answered your question here, and on the other forum.

You attach your PhoneCallLogListener to the PhoneCallLog, your listener is called whenever a missed call hits the log.

What part of this is not understood? I cannot make it any simpler than that.

If you do not understand the java event/listener model, then I suggest that you purchase a book. This is not the appropriate venue to teach you Java.
Offline  
Old 01-18-2010, 01:08 AM   #6 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2009
Model: 7100T
PIN: N/A
Carrier: java
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default alert for unnoticed missed call

thanx for ur reply Dougsg38p,

whatever apis you have told, it is right to check for missed call alert. but that alert depend on status of that missed call in the phonelog. but i have to check the status of missed call alert that comes on the homescreen in form of dialog message. is there any way that i can check that missed call alert.


with thanx and regards
shakeel
Offline  
Old 01-18-2010, 12:40 PM   #7 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

You cannot intercept the missed call dialo, nor get a notification that the missed call dialog occurred (if that is your question).

You have to attach to the log and capture the missed call there.
Offline  
Old 01-19-2010, 10:20 PM   #8 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2009
Model: 7100T
PIN: N/A
Carrier: java
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default alert for message

hi to all,
thanx a lot Dougsg38p for ur valuable reply.
Ok, leave it for the missed call. can u tell me that how can i get alert for message that user have not noticed it. what i got is only listener for incoming message. but i want to get alert of unnoticed message.

with thanx and regards
shakeel
Offline  
Old 01-19-2010, 11:12 PM   #9 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

There is no way to do that. Your only option is to intercept all SMS as they arrive on the device. There is no status listener for SMS, unfortunately.

For Email, you can get all of this using FolderListener.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.