Changing color LED = > reboot of the device!

Hello

I use the LED of the unit to indicate a State of enforcement.

I use the following code:

   private static final int tOn = 1000;   private static final int tOff = 500;

   public static void testLED(int rgb){       /*  This does not work on a BB8800 v4.2.1.68 (P.2.3.0.54)        *  It make the device reboot!!        *        * But this work fine on        *   8100 (perle) v4.2.0.67 (p.2.2.0.39)        *   8130 (curve) v4.2.2.175 (p.2.5.0.34)        *        *  compiled with JDE 4.2.1 (simulator indicate 4.2.1.89)        *        * Test made without signing. But problem noticed on a signed version.        */       LED.setState(LED.LED_TYPE_STATUS,LED.STATE_ON);

       LED.setColorConfiguration(LED.LED_TYPE_STATUS,tOn, tOff, rgb);   }

This code has to do the device REBOOT on * some * device!

Is this a bug? I did something hurts?

Any information will be appreciated.
Thank you

Christophe

Hello

So, I finally got back my 8800.

After some tests, I found that my system "led the selection" does not work correctly.

I guess that
LED.isPolychromatic (LED. LED_TYPE_TRACKBALL)
return true on the 8800.

so, I was using the LED. LED_TYPE_TRACKBALL instead of LED. LED_TYPE_STATUS

With LED. LED_TYPE_STATUS, it s works well.
The point that I don't understand: the first test I did was with LED. LED_TYPE_STATUS! but since then, I changed the way I do the .cod. May you have something to do...

in any case, now it works...
Thanks for your help,

Tags: BlackBerry Developers

Similar Questions

  • How to change color in CS5 only the font that I pointed out

    Hello

    I am a guardian of the computer, not a web developer. But I know HTML and created my own website using Dreamweaver 8. I just installed Dreamweaver CS5 and am immediately having my first problem:

    I want to change the color of text that I have highlighted on my home page. First of all, the change of the color seems more difficult. In Dreamweaver 8, there was a touch of color in the Properties section on the bottom, but now it seems that I have to click on Format to go through a series of steps, fill out the information. Is in any way simply choose a color (as you would in MS Word)?

    The biggest problem, however, is that when I change the color of the highlight text, half of the text on the page changes color as well. This never happened in Dreamweaver 8. I'm doing something wrong. Is there a way to fix this problem. All I want to do is change a text color without changing the entire Web page.

    If it helps you can consult my Web site home page: http://www.karathecomputertutor.com

    Thank you!

    Kara

    The color is always in the Properties window.  On the left side, the property was split into HTML and CSS.  CSS controls the color, alignment, style, etc., while the HTML controls bind attributes and other actions like that.

    Also, be careful with the CSS classes.  If other elements on the page using the same CSS class it will change the color of these elements as well.

    Unfortunately, because of all the differences in browsers and web design rendering is not as print layout where you can drag-and - drop and just wait until it is.  But like InDesign, you can define the classes (styles in InDesign) to reuse the styles on a page if you need to use more than once which makes it extensible simpler designs while before you need to reselect the same styles of colors/now you can simply assign the class to this piece of code and you're good to go.

  • How can we get the last time of reboot of the device in bb10

    Hello

    can we get last time when starting the device developing native blackberry 10.

    Yes you can.  This message has the answer: Re: 'Boot Time' BlackBerry 10

  • How to change color of control press the button

    How can I change a color of command button when it is pressed and held?

    I want to know to momentarily turn green while being pressed.

    Thank you.

    The EVENT_LEFT_CLICK_UP got the desired effect. The toggle button now displays the color 'On' until the button is released.

    Thank you all.

  • Changing colors of link in the Template Dreamweaver CS5

    Hi all

    It is probably a very simple question, as I'm pretty familiar with Dreamweaver and work on my second site.

    However, I would like to change the color of the link is not the usual blue.

    I've changed this in my model through change - properties Page - links

    However, this changed in the model, but not the rest of the html pages created from the template

    Could someone let me know how to do this please?

    Thank you

    The best way to change the link colors is to define in your external stylesheet...

    a: link {color: #333333 ;}}

    a: visited {color: #444444 ;}}

    a: hover {color: #555555 ;}}

    a: active {color: #666666 ;}}

  • Changes color when I use the new export or re-export fast in 2015

    Hi, I just upgraded to Photoshop, 2015.  I noticed, that they put the "Save for Web" command as a feature of the legacy, so I tried the new export and re-export fast, but my images accompanying through radically altered color.  (I'm saving to jpg, maximum).  Some examples of what I mean.  However, if I use the legacy, save for the Web or save slot, the color is fine.  Anyone know what is happening with the new export feature?  Thank you.

    snowy_landscape_sm.jpgsnowy_landscape_sm2.jpg

    Wow. Just hours after my last answer, Adobe has released 2015.1 Photoshop, which includes an option convert to sRGB in the export as dialog box. So, if I'm right about the cause of this problem, just update to this new version and you can ignore my previous suggestions. All you have to do in Photoshop 2015.1 is to select the new option convert to sRGB and colors must be consistent when exporting.

  • circle continues to change color when I use the type on the path tool

    I made two circles and I want to have written them, where is the black. but when I click and use the type on a path tool, it transforms the inner circle in black. I want the Red inner circle to stay, while the outer circle remains black. I had problems with this. I tried to adjust the background/outline, but nothing seems to work. Help, please.

    Here are two images - the first is what it looks like at first, while the second is what happens when I use the type on the paths tool:

    adobe 1.JPG

    adobe 2.JPG

    The use of this circle of text on a path makes a text path, which may not have a fill. Add a third circle and use it for the path of your text.

  • EA6500 do not save IP/changes of classes there after the reboot

    Hello

    I'm trying to put up EA6500 with the latest firmware installed (1.1.28.147876). Under Local network - connectivity, I fixed router details (address IP/mask) and DHCP pool several times, you click on apply, received a message telling me how the router applies settings and this may take a few minutes. This is not fortunately, but after internal application of the network of these parameters has yet 192.168.1.0/24... It ends with a new random C class of the range 10.0.0.0/8. What the...?

    I suspect changes router internal IP range after each reboot of the device. This behavior may not be normal... but more I read about the EA6500... is not the router. -Suggestions, I actually do something wrong here?

    Oh - the EA6500 is configured to get internet via DHCP, it should get an IP address of 192.168.1.0/24 - modem works as a router also and there is no need of EA6500 make another PPPoE connection. As access to the network is concerned, it does not work. But I really don't like this changes to the internal network IP range...

    Because it appears that you are trying to cascade LAN-to-Wan, the router is detecting a conflict of IP address and changing automatically within the 10.x.x.x range. It's normal. The EA6500 trying to tell you that you have not configured it correctly. So he had to resort to setting up itself.

    If you want to change to the 192.168.x.x, then follow the instructions for editing cascading of a router linksys to another router below. Most of the people just change the local of the EA6500 to 192.168.2.1 IP address if they try LAN to Wan to a DSL modem/router in cascade. Change the DHCP of the EA6500 to 192.168.2.100 Beach - 149

    http://KB.Linksys.com/Linksys/UKP.aspx?pid=80&VW=1&articleid=3733

    If you want to use your EA6500 as your main router, then you have to put your DSL modem/router in bridge mode and then change the type of Internet connection on the ea6500 in PPPoE.

  • Windows Media Player 11 has changed color after the installation of Windows updates.

    Original title: Windows Media Player 11 has changed color.

    Since the last update from Microsoft, the media player iteself blushed and the color picker that is not responding. She still plays the videos, but they also have a red color that doesn't change when I adjust the video settings. Does anyone know how I can fix it.

    I use Windows XP Professional with SP3 and my graphics card is a NVIDIA GeForce2 MX/MX 400.

    Hi DanielDavey,

    Thanks for the reply.

    Glad to know that the problem has been resolved. If you have any further questions on your computer, thanks for posting your question, we will be happy to help you.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When I open the Device Manager there is no ' sound, video...» "in the menu. What should I do for intal vista audio output device?

    My computer says "no audio output device is installed" when I open the Device Manager there is no 'sound, video game... ". "in the menu. What should I do to get a new installed audio device?

    Stan

    Hello


    1. What is the brand and model of the computer?
    2 did you and changes before the show?
     
    Method 1:
     
    I suggest you open recognition of the device by using Device Manager.

    (a) click Start and type Devmgmt.msc, and then Enter. The Device Manager window opens.
     
    (b) click on your computer as the location for the scan.
     
    (c) on the Action menu, click Scan for hardware changes.
     
    (d) to close the Device Manager window, and then restart the computer.

    Method 2:
    You can try to download and install the latest drivers for the sound from manufacturing sites and check.
    Check out the following link.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly
     
    Method 3:
    You can see the following link.
    No sound in Windows

     
    For reference:
    It will be useful.
  • With 'something' in PersistentStore requires a restart of the device after the upgrade/uninstall?

    Hi all

    I am trying to identify what is the maximum feature that can be implemented in a BlackBerry application so that updated/uninstall does not reboot of the device.

    Official information about the persistent objects:

    ==== KB ====

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/What_Is...

    ...
    
    The application contains a live referenceto a persistent object. 
    
    ...
    

    = Forum =.

    http://rim.lithium.com/T5/Java-development/error-module-is-in-use/m-p/131618

    ....
    
    What exactly does it mean that "The application contains a live reference to a persistent object"? More specifically what does "live" mean?
    
    ....
    
    This is an "uncommitted" modified persistent object that is in use by the application.
    
    ....
    

    My current tests show that once you have something stored in PersistentStore, uninstall / upgrade will require restarting the device. Can someone please confirm this or explain what is wrong with my test script (code to follow)?

    Your application being started has nothing to do with the fact that there is a direct reference from your application to the persistent store. At the start of the system, the operating system made a lot of analysis of existing modules, whether or not they are reported to run at startup. During this analysis, it will link the custom object in the modules in your application's persistent store. (This analysis also makes it possible for the system automatically removes the persistent, custom objects that have been orphaned by an application being uninstalled.)

    As Simon posted, is not having an object persistent, but having a custom persistent object that forces a restart. Try your experience using a hash instead of a ConfigObject table.

    Note that the downside of using a generic object as the Hashtable class is that the persistent data of your application will not disappear when your application is removed.

  • Get exception to restarting the device.

    I made a request in which several threads are running. Its works fine when I install the build. But when I reboot the device, then I'm the exception.

    application of the untrapped exception (150) does not have blackberry process is completed.

     

    Can you please help me to solve this problem and the reason why I get this reboot of the device.

    Check if you follow these guidelines:
    http://supportforums.BlackBerry.com/T5/Java-development/detect-system-availability-on-startup/Ta-p/4...

    also ensure that all threads are started using start()

  • Push does not not after restarting the device?

    So we have successfully implemented BlackBerry push with our Android app-focus.  The application registers with RIM and receives a response of success.  We register successfully the info back to our application server.  Our application server send push messages to the device, they are accepted by the RIM servers and are received successfully on the device.  Everything is great!

    Except...

    If we shut down the device or reboot the device when he returns is no longer receives pushes for the application unless that register again with RIM BPA.  They are sent to the device and the same agreed before they get simply never received on the device.

    What we're doing wrong?  Is he expected to receive pushed back them after a reboot of the device that the user must launch our app to record with pusher?  It would be really weird because a user will not necessarily start the application after each reboot.

    Thanks for that bring to our attention. We have the Android Runtime search dev team in this.

    As ennova2005 said, you need to unregistor/re-resistance after a reboot as a work-around. In addition, because the application does not start automatically, the application must be opened/started by the user.

    Thank you

  • Historical Panel Photoshop CC involuntary watch 'Change color' accomplished, how to prevent?

    PS Color Change mystery.JPG

    Hi all

    During the review of measures on an image I just through the pictured "change color" listed among other steps. The problem is that no such step was intended, and I don't know what I could do to get it to happen. When I compare before and after, I can visually see no difference, but I am certainly not any involuntary change happening, it's immediately apparent or not. I'm probably a shortcut to intermediate level user, but I do not attempt to use a shortcut which did not produce the desired effect, and if there was, certainly not with the frequency that I see this result. Interweb searches have turned up nothing to explain these 'Change color' entries, either in the form of other reports the same, or all the specific commands "change color". Any help would be appreciated, thanks!

    You are welcome.

    Of course as soon as there is an update, will let you know.

  • EliteBook 8440p: button Mute LED Touch doesn't change color.

    My laptop has a Ribbon bar buttons touch LED above the function keys. In this document, the 3rd button on the right is the button mute volume. When they are affected (as expected) he cut the sound or vice versa. But the problem is it stopped to change the color of Cyan to Orange when cut (and vice versa). Although earlier he did change color as expected.

    I even tried the taskbar sound mute, but even then it does not change color. The LEDhardware's alright (no fault of material here). I can tell because when I turn on my laptop, this is the case, as expected, go orange.

    Hello

    Try the following.

    Download IDT Audio Installer on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp46501-47000/sp46721.exe

    One time finished, open windows control panel, open Device Manager and open sound, video and game controllers.  Right click on the IDT device and select uninstall - also, you should get a command prompt to delete the current driver, check the box allow this and then proceed to uninstall.

    When you're done, shut down the laptop, unplug the AC adapter and then remove the battery.  Press and hold the Power button for 30 seconds.  Reinsert the battery and plug in the AC adapter.

    Allow Windows to fully - charge it will automatically load an audio driver, but let just this complete.  Then open your download folder, right-click on the IDT Installer and select "Run as Administrator" to launch the installation.  Once done, restart the laptop.

    Kind regards

    DP - K

Maybe you are looking for