Alerts and actions of the device

Hello

Where can I find an example on how to implement the actions of the device as the activation of the light of the notification or the machine vibrates?

I would also like to know how to create a warning with C + c++ / QT?

Thanks for any help!

Dialog boxes and control of the vibrations are not available at this time.

LED control is accessible today via native:
https://developer.BlackBerry.com/native/beta/reference/com.QNX.doc.bps.lib_ref/com.QNX.doc.bps.lib_r...

Tags: BlackBerry Developers

Similar Questions

  • How to create images that react to the size of the browser (and not to the device)?

    How to create images that react to the size of the browser (and not to the device)?

    Hello

    Please try this widget.

    http://widgets-musethemes.BusinessCatalyst.com/tb032.html

    Concerning

    Vivek

  • Http method Post is not working in the Simulator (SDK 7.0) and not in the device with BB 5.0

    I am a novice in the development of BB.

    I tried to implement a simple Http Post request, but when running it in the Simulator (SDK 7.0), he gave an IOException.

    I've first implemented the Http Get request and was getting the same error but that was resolved by adding "; deviceSide = true'on demand.

    But while making the Post request parameters(username and password) were supposed to be written to outputstream open after successfully HttpConnection. I get the answer I used to get when I send two parameters as null.

    But the app even when built against JRE 5.0 crashes.

    Hi simon, peter

    I made changes to my connection as as well as u say it, but still no idea if I am wrong, if I do one.

    Now without using any suffix his run on my device but same answer as it was a GET request.

    A modified version of class ServerConnection (in post above)

    package com.httppostdemo.classes;
    
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    
    import javax.microedition.io.HttpConnection;
    
    import net.rim.device.api.io.transport.ConnectionDescriptor;
    import net.rim.device.api.io.transport.ConnectionFactory;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.Dialog;
    
    public class HttpPostConnection extends Thread {
    
        private String mUrl = null;
        private byte[] mParams = null;
    
        public HttpPostConnection(String iUrl, byte[] iParams) {
            mUrl = iUrl;
            mParams = iParams;
        }
    
        public void run() {
            super.run();
            ConnectionFactory connectionFactory = new ConnectionFactory();
            ConnectionDescriptor connDescriptor = (ConnectionDescriptor) connectionFactory
                    .getConnection(mUrl);
            HttpConnection connection;
            OutputStream outStream;
            InputStream responseData;
            final ByteArrayOutputStream baos;
            int responseCode;
            int bytesRead;
    
            if (connDescriptor != null) {
                try {
    
                    connection = (HttpConnection) connDescriptor.getConnection();
                    connection.setRequestMethod(HttpConnection.POST);
                    connection.setRequestProperty("Content-Type",
                            "application/xwww-form-urlencoded");
                    connection.setRequestProperty("Content-Length",
                            String.valueOf(mParams.length));
    
                    outStream = connection.openOutputStream();
                    outStream.write(mParams);
                    outStream.close();
    
                    responseCode = connection.getResponseCode();
                    if (responseCode != HttpConnection.HTTP_OK) {
                        connection.close();
                        return;
                    }
    
                    baos = new ByteArrayOutputStream();
                    responseData = connection.openInputStream();
                    byte[] buffer = new byte[10000];
                    bytesRead = responseData.read(buffer);
                    while (bytesRead > 0) {
                        baos.write(buffer, 0, bytesRead);
                        bytesRead = responseData.read(buffer);
                    }
                    UiApplication.getUiApplication().invokeLater(new Runnable() {
    
                        public void run() {
                            Dialog.alert(new String(baos.toByteArray()));
                        }
                    });
                    baos.close();
                    connection.close();
    
                } catch (final Exception e) {
                    UiApplication.getUiApplication().invokeLater(new Runnable() {
    
                        public void run() {
                            Dialog.alert("Exception :: " + e.getMessage());
                        }
                    });
                }
    
            }
        }
    
    }
    
  • Constant change of look, feel and action of the MS software

    Is it my imagination or Microsoft changing the look , the feel and action of older versions of their programs and the operating system on my computer Win XP 6 years?  In the automatic updates, I had 'ask me first' checked for years.  Yet things keep changing, why and how?  What about mandatory updates?  How can I stop but get security updates (data file)?

    Third-party providers pull the same stuff?

    Install Microsoft Security Essentials (MSE) may make several changes to your Automatic Updates settings:

    1. All first & foremost, to THE will be activated (activated) if she had been previously disabled (off).
    2. To THE will reset the automatic configuration by default (that is, if you had already chosen a different setting). and...
    3. Your source of default update will be "returned" from Windows Update to Microsoft Update. [1] [2]

    All this is included (e.g. buried) in the EULA, you approved when you installed MSE, but nobody reads such things, right?  Well, maybe you should from now on.

    ============================================================
    [1] so that Windows Update provides updates specifically for Windows, Microsoft Update expands the service to download and install updates for other Microsoft software (for example, MSE).

    [2] IMPORTANT! => Not flip by default return to Windows Update, since you will not be offered new MSE versions as soon as they are available.

  • "No audio output device is installed" no sound, video controller and game on the Device Manager section,.

    my laptop has no sound, it says no audio installed and the speaker symbol has a red cross on it. I tired all help but nothings worked, and the thing to fix auto could not fix. The Device Manager there is not even a sound, video, game controller section. Sometimes when I put into hibernation and back on I have sound and everything works fine (except when I run itunes and it stops again), but I say that I have no audio device again to restart the laptop. I have the vista updates this. All ideas

    Thank you

    I had the same problem with my Compaq F700 series laptop. His was a work day and does not not the other. I couldn't use most of the patches because they need to have the tab of sound, video, game available and also lacked this tab.

    I tried to do system restore and rolling it back, but the problem has not been resolved. What finally worked was restoring the system to a MUCH earlier date, as one month before the problem. When finished restoring the sound was still not fixed. HOWEVER, the computer OS (WINDOWS 7) necessary to re - install a bunch of updates and after the updates have been installed, everything worked. I suspect that the original problem was a bad update (I.e. has not installed correctly) and one to ride the system goes back to a time before the bad update and then re-installing the update was the fix.
    That said, if the restore option does not or cannot be I would try searching through the Add/Remove programs in the control panel to uninstall the updates of the system, and then restart the computer and let updated them, re - install.
    Good luck
  • On the keys and Action of the window active

    Hi all

    I have a laptop (HP dv6)

    and have a problem with the action keys (the secondary keys with f1-f12 for brightness, sound > play... etc.)

    and also the locking/unlocking of mouse area

    the problem is that when I

    the volume change--> a progress of the volume screen appears

    Lock/unlock the touchpad--> a screen appear that warns that the new status of the touch pad

    the problem is that these screens appear, they become the active window

    and so, if I'm working on a window (i.e. reading document) and modified the volume, this window is not more active due to the volume small screen that appears, so I have to click it to activate again and finish what I was doing(reading/scrolling/...etc)

    and more of a problem, when I play a game, change the volume reduced the screen (because the volume display is enabled)

    I don't know why he does not just appear on the screen without affecting any window, as it should

    any suggestions?

    Thank you very much.

    Hello

    Francis wrote:

    the problem is that when I

    the volume change--> a progress of the volume screen appears

    Soultion to this problem, you can find here.

  • Writable failing Volumes and Appstacks with "the device object parameter is not a valid object" at the launch of a .exe

    Previously, this error had been random between Appstacks and accessible volumes in writing, but became extremely coherent.   The full message is something like:

    C:\Program Files (x 86) \Mozilla Firefox\firefox.exe

    The device object parameter is not a valid object or is not attached to the volume specified by the file name.

    This accessible volume in writing will occur in a profile only (and UIA + profile) try to download and install the application, or what UIA only is only enabled when you try to run the installed applications.   It's almost as if the volume is not read/write permissions, but other information, such as the request for detailed information about the profiles are stored and used correctly.

    Running version 2.9

    Update - it seems that the question was of App - V Client being installed.

  • Restore iPhone 4S has not... I went I have phone service center and they informed the device failed...

    Hello

    My iphone4s did not reverse through wifi so I thought to do factory restore, when I restored via itunes updated firmware has failed, I tried 20 times same question, service center, I went and told that your camera has not, exchange of he's with a new one with 14 k...

    Please solution for this how to restore or audit from the firmware.  its only 1 year 6 months old phone... its very bad experience with the iphone...

    Try to restore your device via iTunes if you have a Mac or a PC available to use.

    Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod settings - Apple Support

  • Tecra A2 - audio lost and cannot find the device

    The other day, lost all the sounds on the laptop. Nothing else did it and no new software has been loaded for possibly in conflict or cause a problem. Have you tried to uninstall and reinstall the driver and add hardware (Media Audio Controller) even one time, but system now can't find the (impossible to install this hardware) device.

    You have any recommendations as to the difficulty.

    Thank you
    phwoodford

    Hello

    Have you tried reinstalling the audio driver with the driver of one or the other of Toshiba?

    In addition, it would be interesting to know what operating system you have.
    There is a yellow exclamation marks in Device Manager now?

    Maybe you should try to update the BIOS too. If it doesn t work it seems to be time to reinstall Windows. Maybe something messed with the registry or the system.

  • UI elements were hidden and floating on the devices of 720 x 720

    Finding this really weird, I test my App on QWERTY 720 x 720, a single page, it's a leaf with a Page and a title bar of FreeForm, container with children of two buttons and a display of images, for some reason any verticalAlignment value button: VerticalAlignment.Bottom is not the screen and the screen actually scrolls upward (No. ScrollView in the sheet of all well-founded) even on Simulator and test device (classic friends)

    (Not related this hidden):

        Container{
            id: cont
            horizontalAlignment: HorizontalAlignment.Fill
            verticalAlignment: VerticalAlignment.Fill
            layout: DockLayout {}
    
            Button{
                horizontalAlignment: HorizontalAlignment.Fill
                verticalAlignment: VerticalAlignment.Top
                text: "Stop Alarm"
            }
            Button{
                horizontalAlignment: HorizontalAlignment.Fill
                verticalAlignment: VerticalAlignment.Bottom
                text: "Snooze"
            }
            ImageView {
                id: alarmimg
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
    
            }  
    
    }
    

    Any experienced this before?

    It is the title bar which "allows" scrolling on 720 x 720 devices. You could play with the different settings of the title/Page (mainly the visibility and the scrollBehavior) bar

  • printer and files of the device will not control panel open

    I have problems with a HP Officejet 5600 307N.  Unable to get printer and folder of device to load from Control Panel.  Any suggestions?

    Open the command prompt

    type in
    net stop spooler and press enter
    then type in
    net start spooler and press enter
    Then, go to the Printers and devices folder.
  • LUN visible in tabs of discovery, and not in the devices in iSCSI storage adapters

    So, the gist of the problem is in the title. The question is finally: which would cause the iSCSI targets to appear in the static discovery tab of my iSCSI initiator properties, but do NOT appear in the list of devices in the details section of my properties of the storage card? I added the new IP address of my server iSCSI in the dynamic discovery tab and all appropriate records is immediately apparent in the static discovery tab, but I can't actually join one of them or add them to storage.

    Since his arrival in vSphere 5, I have more problems than in the past with iSCSI LUNS.  We recently had to do physical and IP changes, and I'm fighting to get my iSCSI volumes reconnected. Although I write about a specific instance (something I need to get up in production as soon as POSSIBLE), I experienced the same thing on a different cluster with a completely separate SAN.

    Anyone run into something similar? Basically, I know that guests can see the iSCSI volumes, but they are not available for me to add that the cluster storage.

    NOTE: This same storage was attached to the same group last week. The only thing that has changed is IPS adapters and the SAN. In addition, the Network Configuration of the iSCSI Software initiator tab shows all three links in linked vmk "compliant".

    Thank you

    Post edited by: inspiration (added a NOTE at the bottom)

    Hello

    Thanks for the update.

    VMware announced specifically that routed iSCSI is not possible unfortunately. So yes, the issue is software ESXi SCSI adapter. The problem is that it is often a good thing - many problems of performance on other platforms relate to routers on iSCSI.

  • Constant pop up of the notice that says "USB device not recognized" after the device has been disconnected

    Trying to connect a Sony W760 to PC Suite and receive the notification as the "peripheral USB is not recognized. Clicked on the indications of alert and monitoring. The device is not installed. Computer restarted, but the alert keeps popping up every 10 to 15 seconds. How to stop?

    Found the answer to the problems by accident. I had turned off my Avast, during the installation of the programs, but did not know that the computer came with Norton already active. Nothing on the screen noted that it is there. The Sony site, under the heading troubleshooting USB and I saw it mentioned to disable McAfee. Became curious and went to control panel > programs and features looking around and found the Norton. Uninstalled, downloaded programs from Sony, install and everything works fine. Just a reminder, check all your security system before installing programs.

  • Bluetooth randomly, and now the device is not detected

    Hello

    I bought a laptop 15-J108la want a month ago (8.1 Windows 64). I also bought a Microsoft bluetooth mouse to use with it.

    I first noticed mouse stoped working randomly, maybe 2 times a day. Sometimes it was enough to turn off and on again to get it back, but sometimes I had to reboot.

    I updated the driver bluetooth (Bluetooth 4.0 Driver Intel, 2014-01-18, Version 3.1), the problem persisted, but seemed less frequent.

    After you install an update for the wireless network card device manager today announced that Intel Bluetooth 4.0 device has been failing. Try to dissable and reactivate, but the device has simply disappeared. Now the Device Manager indicates an "unknown USB device" with error 43, and Bluetooth devices are not detected, no matter how many times I reboot.

    Any help will be much appreciated.

    Ricardo

    Using the generic drivers provided with windows 8.1 instead of Intel drivers, finally solved the problem.

    No more intermittent, peripheral stranger either.

    I was foolish enough to install the latest driver updated to Intel to see if it has addressed the problem, but it was as bad as before. I had to go back to the generic drivers, once again and voila: everything works like a charm again.

    I hope this helps others.

    And Intel: come on, you should do better!

    Ricardo

  • My device used to be included in the device under the turbine BP & COM port section manager now it is hub USB root and I can't connect with my camera. Help

    I have a machine that uses a USB to serial connection, after I installed the driver in my computer, it finds the machine and load the device in the ports COM & LPT, but this morning for some reason, he shot my device in the USB root hub system. How to get out of there and recognized him as a COM & LPT device since it is a USB to Serial Port that I can discern the number COM port so that my computer can communicate properly?

    Hello

    1. What is the model and brand of the device?
    2. do you see any red or yellow bangs in Device Manager?
     
     
    a. in device, right-click on the Device Manager and select Properties.
    b. now in the Properties window, click on the tab General Post back the message found underdevice status.

    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

Maybe you are looking for

  • Impossible to move photos from the iMac to iPhone6

    I understand that the normal way to move photos from an iMac to an iPhone is to do it via iTunes. The problem I encounter is that there isn't a registration under devices in my iPhone Photos in iTunes 6. I use 12.4.2.4 and iPhone iTunes 6, worm 9.3.2

  • Import an address book from .csv will not work

    I just changed from XP to Ubuntu and have saved my Outlook Express address book to a .csv on a USB flash drive file. I open Thunderbird and imported the file according to the different screens and although Thunderbird says it's successful, when I sel

  • Weird problem with Firefox 6.

    Let me explain, when I open a Web page with lots of images like for example an official thread about a game in a forum, the connection in Firefox is stuck, I mean it loads the web but not the images and saying "connection with...» «and it does not lo

  • YouTube videos don't play don't not using full screen

    Updated to OS X 10.11.2 and now videos from YouTube DO NOT play in full screen. There is a problem with SAFARI and OS X. Works fine in other browsers, but I don't have to use 2 or more browsers to use my Macbook Pro.  I know put paused and resumed th

  • Problem J6400 Date & time

    I searched the forum and couldn't find an answer.  I put the date and time in Control Panel under the Tools menu.  If I turn the printer off and leave it off overnight or an extended period, the date and time are no longer accurate.  The left is more