play a sound custom 'discharge of the battery' and events 'battery full '.

IM developing an application for the status of battery... I used class BatteryInfo why... I added a switch box qml to get the status of battery on specific event... now I want to add sound to the full battery and battery...

Help, please

Thank you

looking at your code return you something, then play you the sound.
code after a return is not executed.

Yes, you can access the label using findChild, but it would be a new question for a new thread.

Tags: BlackBerry Developers

Similar Questions

  • Satellite M30P - discharge of the battery so that the principal is ok

    Happy new year everyone.

    My girlfriend has a satellite M30P. With this main computer is connected, it starts to charge the battery and all it ok. Suddenly and without reason he started using the battery instead on hand.
    Considerations:
    1. the power supply is ok I can use to always the battery WITHOUT a computer. Not bad contact in the power plug.
    2. with your hand, the power led remains always on.
    3. disconnect and reconnect the power supply is not reverse the discharge of the battery.
    4. for the occurrence of the problem, if I unplug the battery from the computer will be disabled immediately if primary care was
    5. once the computer off, I have the same problem (electrical load for 10 minutes, after that the led battery goes off.). Disconnect the battery, then still once, power will be responsible for a certain time, etc.
    6 battery indicator Win XP recognize the main are ok, but the computer use the battery.
    7. my girlfriend told me that his computer worked was that way from the first moments.

    Please all good ideas?

    Thank you for your attention.

    Concerning

    Luigi

    (Sorry for the bad English, I hope I could be effective.)

    Hello Luigi

    At first, I must say two things:
    -Satellite M30 is old enough laptop model, I am really surprised that your girlfriend is waiting for so long. These questions are very strange and it should be repaired in time valid warranty. Now you must pay for each possible repair
    -It is not possible to say with certainty why this happens and only after much cell checked by a technician you can get answers.

    The fact is that there must be a problem with electronic control gear and, in my opinion, there is nothing that you can do it alone.

  • Sound is comin from the speaker and headphones at the same time. How to solve this problem?

    Hello! I installed win7 professional and upgrade to ultimate and when I play a music or vdo sound is coming from the speaker and the headphones. I have a 3ghertz Pentium 4 with 1 GB of ram, and it runs the 32-bit version. And also the headphone option is not present in the peripheral reading option.
    Can any1 please please help me?

    We consider that your machine uses Realtek HD audio-
    (Older versions of Realtek HD audio drivers may have a slightly different form, but the)
    basics should be the same).

    There are two ways to set up the helmet when it is plugged into the façade decision-making;
    (1) in Realtek Manager of her go to Advanced Settings feature in the upper right of the window.
    Check the circle next to cut... plugged back.
    When this fact was you must also click on the yellow folder icon below the
    Device settings advanced and check 'Disable protection of jack façade' is clear.
    -Of the drawbacks of this method are that you do not get an option of separate settings for headphones.
    then they use the same environment as your speakers and EQUALIZER settings, but you can use both the
    speakers and the headphones if you wish.
    -Note that with this option, the helmet does not show in Sound Manager window.

    (2) advanced settings in the sound Manager go to Realtek device.
    The check box next to do advance... at the same time.
    This will disable the speakers when headphone is plugged in the socket of the façade,
    and return to the speakers when headphones are disconnected.
    Also check one or more of the boxes below, according to your need.

    -With this setting, there is an option for headphones in the two Windows Sound manager
    and Realtek HD Audio Manager.
    -With this setting, it does not matter which option to use in yellow folder as the setting icon
    is ' either / or '. You cannot run at the same time the speakers and headphones.

    -Note that with games the headset must be connected prior to spear the game, or
    the default set to the speakers.

  • How to remove the alarms and events database of Citadel?

    Hello

    I use LV 2010 with DSC.

    I made a mistake in my program and I wrote too much data event and alarm at the Citadel. Database *.mdf/*.ldf files are quite large > 1 G. Normally, I connect only two alarms per day. I want to delete all events alarm + data before a certain time of stamps for example. 1.1.2011. How can I do? I tried to use MAX and perform the operation so I wrote small program which reach the data from temporary database and then remove it. Yet I can find old events and alarms... I am able to remove the traces of old but not the events/alarms. How do I remove the alarms and events?

    Thanks, Jim

    Hi Jim,.

    Have you seen this:

    http://forums.NI.com/T5/lookout/how-can-I-delete-alarm-and-event-data-from-a-Citadel5-database/m-p/5...

    Not sure if it is valid with the current version, but worth it.

  • Retrieve the tasks and events for a Virtual Machine

    Hello everyone.

    This question may seem trivial to some people here, but I cannot make it work: I would like to use VCO to retrieve the tasks and events for a specific virtual machine (IN parameter). Can someone help me to do?

    Best regards

    As I said, it must create a collector by using the createCollectorForTasks method in VcTaskManager.

    The parameter of this method is an instance of VcTaskFilterSpec, in which specify you the object to filter (in your case, the reference entity VM)

    You will get a VcTaskHistoryCollector which can only be traversed by using the methods readNextTasks and readPreviousTasks.

    // Get TaskManager service
    var sdktm = vm.sdkConnection.taskManager;
    
    // Create FilterSpec containing vm reference to filter
    var filter = new VcTaskFilterSpec();
    var spec = new VcTaskFilterSpecByEntity();
    spec.entity = vm.reference;
    spec.recursion = VcTaskFilterSpecRecursionOption.self;
    filter.entity = spec;
    
    // Create collector
    var collector = sdktm.createCollectorForTasks(filter);
    collector.resetCollector();
    
    // Browse all pages returned by collector (10 entries per page)
    var taskPage;
    while ((taskPage = collector.readPreviousTasks(10)) != null)
    {
        for each (var task in taskPage)
        {
            System.log("Task: " + task.name + " -> " + task.startTime);
        }
    }
    
  • How can I make windows play a sound when you press the SHIFT key

    My keyboard doesn't have a light to indicate when it is capitalized. He used to play a sound, but it is more the fact after that I said not to do. However, when entering passwords that are case sensitive, it gives the wrong password. Can someone tell me how to re - turn on the sound.
    Its a Logitech MK320 wireless

    Look in Control Panel > accessibility, and then click "make the keyboard easier to use." Check the box "turn ToggleKeys. This will produce a note when you press the lock keys. Or just check the other box beneath it. In this way, you can turn the tone on or off without having to return to these settings.

    SC Tom

  • Daily discharge of the battery is normal?

    I have a new HP DV7T-6100 CTO Quad Edition Entertainment Notebook PC (purchase of Jun). I just noticed that after normal shut down there is a 1% / day in battery leakage. It is if I stop with the battery at 100% capacity, then use the laptop in 10 days, the ability will be 90%. Is this normal?

    Hello

    Yes, it is normal and is one of the chemical properties of a lithium-ion battery.

    Kind regards

    DP - K

  • How to read files torent on windows media player, I downloaded torrent files and wmp says unable to play because he does not support the format and how it has been compressed

    How do I play torrent files and .torrent file to play on wmp extensions, I doown loaded torrent sons and dossier they won't play I get undeclared can not play because it does not support the file or extension or does not know how he formatted or compressed

    Hi tuellahjones,

    I suggest you to update the codecs and check if it helps to solve the problem.

    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

  • Sound only works in the helmet and no sound from speakers

    My computer sound laptop windows 7 is extremely low, even if the volume levels are at the top. I tried different options such as the restoration of the system, change some things on playback devices, uninstall the drivers, etc.. Nothing works, sound remains the same. The sound is fine only with headphones.

    Moved to correct the article

    Hello

    Please keep us updated on the status of the issue.

    I suggest you to update the BIOS and the sound card drivers from this link and check if it helps.
    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4063&LC=en&cc=us&DLC=en&sw_lang=&product=5186413

    Note: Changing the BIOS / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    I hope this helps.

    Thank you

  • Are there integrated sound to use for the good and the bad?

    Mac OS 10.8.5

    Captivate 7

    I started working with this about two months ago and seem to remember to come through sound effects ready-to-go to drag and drop the success and failure. If they do not exist, what are the file names? I think I have deleted them inadvertently.

    But was such a jumble of ignorance that I am not even sure that my memory is good.

    @RIck, she never install sounds indeed.

    But in the Gallery\Sound, there is a subfolder DragDrop. He has an IncorrectSound.wav and 3 soundx.wav files. No doubt those who have been used.

    @dowbright to avoid having to reinstall, I have this folder (you can't download wav) zipped and put it on acrobat.com. Here is the link: https://workspaces.acrobat.com/?d=iEfx4X-dl2TU * MC * NMDSZQ

  • PDF form: allow the customer to enter the name and address in a printable letter

    I am creating a letter in which people can:

    -Download in PDF from my Web site

    -Open in an application PDF and enter their name and address

    -Print the letter with the name and address (that they registered above) inside.

    I'm assuming that InDesign CS6 is the best tool for this because it has orders to create interactive PDF Forms.

    I created a text box for the user to enter their name and address. I then went to window > interactive > buttons and form, clicked on the box and he attributed the following values:

    -Type: Textfield

    -Event: Onfocus (PDF)

    PDF options: Printable, necessary, Multi line, scrollable

    I then export my PDF making sure to put ' the interactive elements' "of appearance."

    When I click on the text box, on the Mac or Acrobat preview, nothing happens.

    What I am doing wrong?

    Thanks for any help.

    Use file > export > Interactive

  • use the queue and event to read data from two series mean

    Hi all

    I'm reading the data of two serial port using QUEUE AND EVENT but not sccusess. can someone help me?

    I use LABVIEW 2011.

    att my project.

    regrads.

    You stop the second for loop using cluster of error which means that your upper and lower loop stops when you press exit but not the one in the middle. In theory, you should send a queue for loops below when you press the exit button and also make sure that you shoot hunting all queues before closing everything.

  • PRS - 650 - rapid discharge of the battery.

    My worker drive perfectly until a couple of weeks. Now, he pays full of dead within a few hours of non-use. It seems not serious if it is in "sleep" or cut completely, when I read my book, he's dead.
    Very upsetting. Does anyone else have this problem?

    I'm also having this problem, but with a PRS - T1 model. My player was a Christmas gift, and this particular feature was not a problem until last week. I knew all the other questions that have een posted but the last update firmware solved most of them. Sony, what is your solution to batteries failing?

  • I have bee receives all types of error codes while playing internet backgammon. Who stops the game and I have to restart with a new opponet often. error messages

    My problems are with the error codes that appear in an internet backgammon game.  It's so frustrating especially when you win.  It gives you the possibility of new opponet or quit smoking.  I have received several different error codes, not just one.  What is the problem here.  Desperately love the game not the codes.  I'm a sore loser who sends these codes or what?

    Hello
     
    1. What are the error codes that you get when you play Backgammon Internet?

    2. were you able to play the game without errors earlier?

    3. what changes have been made to your machine before the problem?
    4. are you referring to the Games Explorer Internet Backgammon ?
     
    Search for related errors in the event viewer .
    Post back with your answers
    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • How to access a custom property for the attribute and command in .vm file?

    Hello

    I have created custom in OPM for attribute properties and also apply only to assign properties.

    But if this value in the .vm file access?

    I've accessed the help

    $attribute.getProperty ("ScreenProp", "default")

    but it is not functional but is even worked for the custom property screen

    It already is the answer in my first answer in the thread How to access custom in the .vm file properties :

    $control.getProperties () .get ("PropertyName")

Maybe you are looking for