BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-09-2010, 05:49 AM   #1 (permalink)
New Member
 
Join Date: Apr 2010
Model: 9000
PIN: N/A
Carrier: bold
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SMS Notification

Please Login to Remove!

Hello every one!!

I am new to this forum and this is my first post... My problem is that I am making an SMS receive application and displaying the messages in the inbox made out of a ListField on a screen backed by a persistence object. I wanna add notification as per the user's current profile to SmS receive... Please Help...

Thanks in Advance...
Offline  
Old 04-09-2010, 07:23 AM   #2 (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

See the demo program NotificationsDemo that ships with the JDE.
Offline  
Old 04-09-2010, 07:29 AM   #3 (permalink)
New Member
 
Join Date: Apr 2010
Model: 9000
PIN: N/A
Carrier: bold
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SMS Notification

Thanks for your Swift response...

I'll Check that out... and post the results..

Regards
Offline  
Old 04-09-2010, 08:30 AM   #4 (permalink)
New Member
 
Join Date: Apr 2010
Model: 9000
PIN: N/A
Carrier: bold
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SMS Notification

I actually wanna use the user's current profile settings for SMS(eg. Silent/Ringing etc.).. is that possible... if yes, then please tell how to do that ???



Thanks in Advance...



Regards.
Offline  
Old 04-09-2010, 10:09 AM   #5 (permalink)
New Member
 
Join Date: Apr 2010
Model: 9000
PIN: N/A
Carrier: bold
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SMS Notification

Hi,
What i have known with respect to my problem till now is that when I register my Notification and then fire NotificationsManager.triggerImmediateEvent(), it will behave in same manner as in current profile settings... now, the thing I want is that it should behave exactly as per the settings for " SMS " for every profile... is this thing possible?? If yes...please throw some light on it...

Thanks in Advance...
Offline  
Old 04-09-2010, 12:42 PM   #6 (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

No, sorry. You cannot fire another applications notification profile, nor can you access it.
Offline  
Old 04-09-2010, 01:26 PM   #7 (permalink)
New Member
 
Join Date: Apr 2010
Model: 9000
PIN: N/A
Carrier: bold
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SMS Notification

Thanks for the Reply...

OK... So this means the only closest option is to use profile's General Settings... like I mentioned earlier ?? These SMS Individual settings are nt accessible programmatically... Did i get it Right??

Thanks in Advance...

Regards
Offline  
Old 04-09-2010, 06:33 PM   #8 (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 access any profile settings. You can register a notification for your applicaiton (which will show up in profiles), and you can fire this notification.
Offline  
Old 04-10-2010, 09:47 AM   #9 (permalink)
New Member
 
Join Date: Apr 2010
Model: 9000
PIN: N/A
Carrier: bold
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your response...
I have taken help from That notifications demo in JDE. My App does not show on that profile Edit as the demo does... i just embedded the main file (NotificationsDemo.java) in my project rest of the two required files:

Event.java
NotificationsEngineListenerImpl.java

I just used them as they were just making a minor changes to content of the dialog Box(as my app too required the same)...

I do not know why its not showing up there... and i could also not find that "_autosartup" file for my app. as its there in Demo's case.

Please help and show where i am wrong??

Thanks in advance...

Regards
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.