10-29-2008 11:53 AM
Is there an API to determine which profile is currently active such as Loud, Normal or Quiet? I have been able to setup my own Notification category and fire notifications, but I also need to determine which mode is active.
10-29-2008 04:37 PM
This is not currently in the API, although I understand that it is coming in a future release.
05-18-2009 01:10 PM
Hi,
I'm working on an application and I need to obtain the current profile to stop the sounds and vibration.
There is a way to detect the current profile?? with OS 4.5, 4.6 or 4.7 maybe?? or It isn't possible yet??
06-11-2009 03:41 PM
06-11-2009 04:27 PM
The news is: there is no news!
![]()
06-15-2009 10:48 AM
06-15-2009 11:05 AM
07-03-2009 08:13 PM - last edited on 07-03-2009 08:18 PM
Hi,
I tried looking at the notfications demo as you mentioned in your post. However, I'm not sure how get the application to be set to the defaults for each profile. When I run the notifications demo on 4.7 for the Storm, the demo profile is set to Silent. When I run it on the other simulators, the notifications demo is set to Mute by default. I tried creating my own notification in code as well and it is also set to Mute in the profiles by default. Is there any way to get around this?
02-09-2010 11:40 AM - last edited on 02-09-2010 11:42 AM
@MSohm
Can you clarify how to create these defaults for each profile? I looked into the notificationsDemo but there is no defaults for any profile.
Also, it is possible to put a file(.amr) in your application and use this file as the default for your notification event?
Thank you
02-19-2010 10:09 AM
When your application registers with the NotificationManager and creates an entry in the Profiles application, default settings are applied (no alert for Silent, Vibrate for Vibrate, etc...). There is no way for an application to specify what its default settings should be.