How to get type of current ring Mode?
Hello
How to get the current type of fashion as silent phone ring, vibrate, PhoneOnly ect...
Solution
NotificationGlobalSettings *globalSettings = new NotificationGlobalSettings(this); if (globalSettings->mode() == bb::platform::NotificationMode::Silent) { return "Silent Mode"; } else if (globalSettings->mode() == bb::platform::NotificationMode::Vibrate) { return "Vibrate Mode"; } else if (globalSettings->mode() == bb::platform::NotificationMode::Normal) { return "Normal Mode"; } else if (globalSettings->mode() == bb::platform::NotificationMode::PhoneOnly) { return "PhoneOnly Mode"; }
Tags: BlackBerry Developers
Similar Questions
-
configeration Silverlight - how to get rid of the protected mode
How to get rid of the protected mode
Hello Gloria,.
Try the following site devoted to Silverlight: http://www.silverlight.net/community.
I hope this helps.
Good luck!
-
Hello
How to get all the list of available network provider & fashion network (2G or 3G) as all providers in blackberry?
I read class RadioInfo he methods getNumberOfNetworks() y & getNetworkName() help I got from the available networks list but still not get all providers network mode.
Any body knows then please help me
Is it possible or not in Blackberry please tell me...
Please see this link
http://supportforums.BlackBerry.com/T5/Java-development/how-to-find-frequency-band-of-cureent-networ... -
How to get out a 'Store Display Mode "(demo mode)?
I just bought a Sony Bravia KDL-55BX520
She was exposed to store and I can't get out of "Store Display Mode"(demo mode)
I tried a search on the web and everyone repeat to hold the arrow facing upwards and press the power button, but nothing happens.Hold down the HOME button on the bottom right TV for 10 seconds. It makes alternate the demo mode ON / OFF
-
How to get the printer sent in mode online
My printer is in line mode since I got back from vacation. Cannot get online. Could someone please help?
Please provide the following information if anyone can help including:
The printer model-
Detailed problem description-
Operating system on the computer (including the revision of the service pack)-
Method - USB, LAN, Wireless cable connection? -
Brand and model of router and modem? -
Error messages - on the screen of the printer or computer, no matter what flashing light patterns?
If wireless, when the problem occurs, which is blue wireless light on the printer, active, disabled or flashing? –
Power off the printer and the router. Power on the router and wait 3 minutes, power on the printer. It connects to the router now? You have a valid IP address?
-
How to get what the current backlight time-out is set?
Hi all
Work in 4.2.1. I would like to be able to arbitrarily increase the backlight time-out and restore it to what the user he had initially set when I'm done. Looking at the API of backlighting (i.e. backlighting. getTimeoutDefault()), apparently I'm only able to recover the default delay, which - as I understand - would be different from the time delay set by the user.
So my question: How can I get the _current_ time-out setting? Otherwise, looks like that I would not be able to always set the time-out period back to what the user had selected through their setting of BB menu.
Thanks for your comments!
There is no BlackBerry API that provides the setting specified by the user backlight time-out.
-
How to get behind the current content on muse navigation bar?
I've created a navigation bar, on my homepage I have an image that passes through the page, scrolling NAV bar. in the menu drop-down is behind this image when you go to use it. How I do the scrolling bar NAV. in the menu drop-down to go on the top of my image so that you can read do scroll options? I tried clicking on the NAV bar. and accommodating towards the front, but it did not work. I seem to have this issue over and over again trying to get the words, pictures, anything to be behind my scroll bar NAV. in the menu dropdown.
Go to the layers panel, create one new layer above all the others and then drag the menu widget on it.
-
Linux Guest: How to get to single-user/recovery mode
I'm under Windows 7 Pro/64 bit VMWare Workstation 7.1.2 build 301548 host and guest Kubuntu 10.04 and need make it appear the prompt in single-user/recovery mode, like privileges of suite/etc have been changed so that I cannot sudo. As a result, I can't edit /boot/grub/grub.cfg or files that are used in its construction, put on the kernel line alone or to get rid of the projection. Press < esc >, F2, F10, space bar once zillion failed and splash of VMWare happens so fast that I can't see if it offers options, nor have I been able to find the text on this screen to search on the net.
My apologies in advance if it's there, but I've spent hours Googling and prick...
Thank you
John Leibacher
JohnLeibacher wrote: by pressing
, F2, F10, space bar a zillion times did not work The definition of do the same thing over and over again expect a different result is insanity.
Seriously, good that start the virtual machine and click in the display when you see the BIOS of VMware screen then press and hold the SHIFT key and the Grub boot Menu should appear.
Also if you have the ISO Image, you can start directly from that, you don't need to burn it to optical to start the VM of the ISO Image.
-
I opened a Web site and a four cursor arrow opened and he zoomed in. I can't zoom in normal mode. Please notify.
Reset zoom: CTRL + 0 (zero)
cursor arrow four: You can be your arrows up/down mode of navigation with the keyboard so you immediately at the top and bottom of the page only. Press the F7 key to toggle the keyboard navigation.
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Not related to your question, but...
You must update some plug-ins:
- Plugin check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
- Adobe PDF plugin for Firefox and Netscape: Installation/update Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): updated Flash in Firefox
-
How to get the phone to ring several times before the voicemail picks up
Is there a setting to let the phone ring several times before the voicemail picks up
This option will be controlled by your wireless operator. Contact them to determine whether it is possible to change the response time of voicemail.
-
How to get notification of change of mode programmatic ringtone?
Hi all
Sort for the notification of babysit mode ringtone change?
-
How to get the item currently being processed within the State
Will there be any environment variable that contains the element, as there are some pages and app?
I would use it in terms of the element. The condition would be coded in a package and called several times through the elements. The problem now is that I need to pass the name of the element in the parameter of the function.
Any idea?It is not available. We hope to provide this in a future release to allow plans for leave to use a code generic, similar to your goals.
Scott
-
How to get the targeted object
can you tell, how to get the object currently targeted in a class
for example, if I use the labelfield that has his focus, how to get and make changes to the text of labelfield
I hope that you can get that I tried 2 say
Thank you
Not in a class, screen...
Features screen with a method called getFieldWithFocus...
Check it out...
See you soon...
-
How to get the computer out of safe mode of power
How to get the computer out of safe mode of power
Hello jeffg56,
I understand that you want to leave safe mode, follow the steps below:
Exit Safe Mode:
Click Start, type msconfig in the search field and press ENTER to open the System Configuration window.
On the general tab of the System Configuration window, select Normal startup, and then click OK.
I hope this has been helpful, please let me know if you need more help.
Thank you
-
How to get the current timestamp in C++ to the BB10 project
Please help me how to get the current timestamp in C++. Thanks for your help!
Following your suggestion,
QTime is only for a day. http://developer.BlackBerry.com/Cascades/reference/QTime.html#details
I found "QDateTime" of references of the API: http://developer.blackberry.com/cascades/reference/qdatetime.html#toTime_t
QDateTime = now QDateTime::currentDateTime();
timestamp long = now.toTime_t ();But I got an error. I searched but no results are clear:
-variable 'QDateTime now' initializer has but
incomplete type
-type incomplete "QDateTime" used in the nested name
specifier ofI am a newbie. So thank you for your help
Maybe you are looking for
-
Running the OS10.6.8 version and cannot access to app store
Hi, I recently bought a new battery for my old macbook pro 17 inch laptop. I updated the OS to the latest version of snow leopard 10.6.8. When I turn on my computer; It shows that I am connected to my airport extreme and also indicates that it is in
-
ReadyShare permissions on WNDR4300
On my laptop which is HP Envy M7 with Win 10 64 bit on which I am the administrator. Network drive ReadyShare was recognized without problems. However, the files are read-only and I can't change or remove the read only flag. When I tried to delete a
-
What type of license my boss can buy if it wants to have a windows server 2008 as a domain controller a file server for 16 windows xp clients? Thank you. Julio.
-
The files were not auto-enregistrez you to unregester
I am trying to install a program that I need for my work. I get "the following files has no register or unregister.» c\Windows\syster32\msxm14.dll error to access the OLE regetry. also the same error for c\Programs\common Files\Microsoft Shared\DA01
-
BlackBerry DateField-wheel click on question
Hi all I want to open the platform on any key date picker rather than only the wheel click. What I mean is I want the feature made when we click trackball on datefield... even by clicking on any button. any help?