Capturing events from a bluetooth remote control

I purchased a Fujitsu Remote Control RC900 and installed it on my Windows 7 computer.
Now I try to capture the remote control key events in a Java application.
I can catch some events as keyboard events (such as "Enter" or arrow keys) but for many keys I have not found a way to catch any event.
Still, some media applications can recognize the events.
I also tried listening mouse events with this swing tutorial class
http://docs.oracle.com/javase/tutorial/uiswing/examples/events/MouseEventDemoProject/src/events/MouseEventDemo.java
But no success. Any ideas?
Is there any remote control event framework for Java, apart from keyboard or mouse events?

In short - never listen to low-level events from editorComponents (low-level meaning everything below - and most of the time including - a editingStopped/editingCancelled of the cellEditor). Your problem belongs to the model realm - save if a cell value is changed - so solve it in the model realm by listening to event from the tableModel and trigger your business logic when you detect a change in that particular cell value.
Greetings
Jeanette

Similar Messages

  • Nokia Bluetooth Remote Control

    Can someone suggest a Bluetooth remote control app that will work with a Nokia touch screen phone? I've tried Phone Remote Control with some success but its not fully touch screen compliant.
    Thank you in advance.

    Vectir - WiFi and Bluetooth Remote Control should do the job but since you didn't mention your phones model, i can't say for sure. You can check device compatibility on the Vectir Nokia Bluetooth Remote Control page.
    My friend uses this as a touch screen remote control on his 5800 Xpress music. I use in on my N95. Pretty slick app.

  • Bluetooth Remote Control Quit Working

    I have a new 8350i and downloaded the new 5.0.0.807 (?) version software. For some reason, after doing this, the ability of my Plantronics Voyager 815 headset to perform remote controls (answer, hang up, volume, etc) has quit working. Has anyone else had this happen to them? What can I do to correct this? Thanks in advance!
    Solved!
    Go to Solution.

    I thought I'd lost my mind with this phone.  I too updated my phone with the latest software and now I am having all kinds of bluetooth problems, I have the problem with the remote controls on my headset not working.  I have a problem where if I put the phone in the case while talking to someone it hangs up even though I have it set to NEVER do that.  The phone also is having major pairing issues with the two cars hands free radios I have, once the phone is paired to the radio, I can no longer listen to the car radio, I have to drive in silence, so I go back to the headset, which I cannot answer calls or hang up calls with.  I have pulled the battery, but that is only a temporary fix, it starts misbehaving within a day or two, tops.
    I used to love this phone, now I am nothing but frustrated with it.
    If anyone hears of a solution that works for more than a day, please post what you did.
    Thank You

  • Capturing events from a JCheckBox in a JTable cell

    I am trying to capture item state changed event from a JCheckbox in a JTable. When user selects checkbox I do insert in database and on deselect I do delete from database. The item state changed event is not firing correctly...can you please tell me what I am doing wrong. My JTable uses CustomModel which is used by many other apps. So I can not really modify CustomModel only to work with my JTable. Here is my code.
    public class MyClass extends JPanel
    .....some code to add panel, jscorollpane, etc.
    ResultSet res;
    GUI gui; //Custom Class to deal with different GUI layouts
    JTable myJTable = new JTable();
    GUI.CustomModel custModel;
    public void init()
         displayJTable();
    attachCheckBoxListeners();
    private void displayForms()
         res = //resultset from DB
    Vector cols = new Vector(10);
    cols.addElement(new Integer(1);
    gui.DisplayResultSetinTabel(res, myJtable, cols, null);
    custModel= (GUI.CustomModel) ((TableSorter) myJTable.getModel()).getModel();
    custModel.setEditableColumn(0, true);
    //Attach CheckBox Listener to all the checkbox in JTable
    private void attachCheckBoxListeners()
    for(int row = 0; row< myJTable.getRowCount(); row++)
    Object val = cm.getValueAt(row, 0);
    final JCheckBox jcb = (JCheckBox) gridForms.getCellEditor(row, 0).getTableCellEditorComponent(gridForms, val, true, row, 0);
    jcb.addItemListener( new java.awt.event.ItemListener() // Add Item Listener to trap events
    public void itemStateChanged(java.awt.event.ItemEvent event)
                   if(myJtable.getSelectedRow() == -1) // if no row is selected in table return
                        return;
                   try               
                   if (res.absolute(myJtable.getSelectedRow())+1))
         if(jcb.isSelected())
    saveData();();      
         else
    deleteData();
         catch(Exception e)
    System.out.println("ERROR ");
    } //end of AttachCheckBoxListeners ()
    private void SaveData() {}
    private void DeleteData() {}
    Okay....the problem is when JCheckBox state is changed (by user) from Selected to Deselected itemStateChanged() is fired and it does delete from database. then again itemStateChanged() called it detects Jcheckbox as selected and does inseret in database. On Jtable gui...that checkbox is still shown as desected.
    Please tell me what is going on here.....
    Thank you.

    In short - never listen to low-level events from editorComponents (low-level meaning everything below - and most of the time including - a editingStopped/editingCancelled of the cellEditor). Your problem belongs to the model realm - save if a cell value is changed - so solve it in the model realm by listening to event from the tableModel and trigger your business logic when you detect a change in that particular cell value.
    Greetings
    Jeanette

  • Capture event from mxml component

    I have an accordian control in my main mxml application. Each
    item in the control is a custom mxml component that I created that
    consists of a label and some text. When the label is clicked, I
    need to fire off a message to the containing application with a
    string value. I'm not sure how to do this. Here's what I have right
    now. I'm not sure if I'm going down the right track but if I am,
    how do I pass the string argument with the event and then capture
    this event and the argument in the main application?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="200">
    <mx:Script>
    <![CDATA[
    private var _title:String = "";
    private var _desc:String = "";
    [Inspectable(defaultValue=true)]
    public function set Title(title:String):void{
    _title = title;
    public function set Description(desc:String):void{
    _desc = desc;
    private function SetMovie(url:String):void{
    dispatchEvent(new Event("MovieTitle"));
    [Bindable(event="MovieTitle")]
    ]]>
    </mx:Script>
    <mx:VBox>
    <mx:Label id="lblTitle" text="{_title}" width="190"
    click="SetMovie('testmovie.flv');/>
    <mx:Text id="txtDescription" text="{_desc}"
    width="190"/>
    </mx:VBox>
    </mx:Canvas>

    You have several issues, and several options here. First, a
    custom event can pass any data you want, and is not very hard to
    create.
    However, there is a still easier way. All of the Event
    objects have a "target" and "currentTarget" property which give you
    a reference to the object that dispatched the event.
    So, in your component, implement a public property, say like
    this:
    public function get Title():String{
    return _title;
    then in a handler function you can do:
    private function onMovieTitle(event:Event):void {
    var sMovieTitle:String = event.currentTarget.Title; //watch
    out for reserved words, though
    There are two ways to listen for an event. One easy way is to
    use a bubbling event. Some folks advise against bubbling event
    because of potential event name collisions, but this may not be a
    concern for you. It has not yet concerned me enough to make me
    avoid using bubbling.
    The other way is to declare handler on the component itself.
    Also, if you use a metadata tag, you can assign the handler on the
    mxml tag, instead of using addEventListener():
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="200">
    <mx:Metadata>
    [Event(name="MovieTitle", type="flash.events.Event")]
    </mx:Metadata>
    <mx:Script>
    Then, in you main app:
    <myComp id="mc1" ... MovieTitle="onMovieTitle" ...
    Without the metadata, you would do
    mc1.addEventListener("MovieTitle",onMovieTitle)
    Using a bubbling event:
    change the dispatchEvent to this:
    dispatchEvent(new Event("MovieTitle",true)); //the 'true'
    makes it bubble
    Then, in the main app, listen ON the main app(this):
    this.addEventListener("MovieTitle",onMovieTitle);
    Tracy

  • Capture event from custom.pll?

    Hi friends,
    I've been reading in Developers Guide about events capture (p.787) in custom.pll but I've not found anything about capture the event (or something similar) whe we close a descriptive flexfield window....
    Is there any way to know from custom.pll when a window is closed? The purpose is to make diferents actions when the focus return to the original form.
    Thanks.
    Jose.

    Does the WHEN-FORM-NAVIGATE event fire when closing one form and returning to another? However I am pretty sure that this fires when switching between forms without closing one of them as well.

  • Capture event from job cancelled in SM37 by workflow, is not posible.

    Hi, i'm learning workflows and i want capture the event ABORT o CANCELLED form job in sm37 and send email to agent recipient but i dont know as to resolve this problem.
    Please , i need help.
    Thanks.

    Hi......
    Look Job : BI_PROCESS_LOADING.........is actually the background job.............in a process chain.......when the trigger come to a load process...........first this job will run........and after completion of this job...........the actual IP will start...............we don't schedule this job.......but u r saying ur loads are fine.........if this job fails......then the IP will not start......so how ur IP s are running........As already suggested............u deschedule the chain........then again schedule it back.......
    Now to check job that exactly fails at 12:00 a.m.....................
    Go to SM37 ............give this job name...............date......and in the time field give the time.........
    Regards,
    Debjnai......

  • How to capture events from vbs script in java

    Hello all
    i have vbs script that executing some actions after its done running or after its fails the vbs script
    returns string , my question is how can i execute this script but also capture in java the returned string from the vbs script
    Thanks

    Hello
    nop im talking about java here is what i got untill now .. ( not working )
    for example say i have vbscript that do only that :
    myVbs.vbs :
    set WshShell = WScript.CreateObject("WScript.Shell")
    WScript.Echo "Hello World!" and i like to capture this "Hello World!" string in my java code how can it be done?
    this is my java code , but its does not working ..
    public class ExcVbs {
         public static void main(String args[]) throws InterruptedException{
              Process p = null;
              try {
                   p = Runtime.getRuntime().exec( "rundll32 url.dll,FileProtocolHandler myVbs.vbs" );
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              p.waitFor();
              OutputStream pus = p.getOutputStream();
              System.out.println(pus.toString());
              System.out.println( "Code=" + p.exitValue() );
    }

  • How to separate "Key down" event from panel and numerical control

    Hi, All
    I have a vi proecess key down events for panel and  a numerical control in this panel. the application will do: 
    1. when panel is focused, user can use "up" and "down" key to driver some hardware.
    2. when the numerical control has the focus, "up" and "down" key will change it's value as usual.
    somehow the second one did not work, because the panel "key down" event was trigger as well when I use "up' "down" key inise the numerical control. 
    then I used "Key down?" of numerical control to block the "up/down" key. But the first time when I run the Vi, the panel still got triggered one time. 
    any suggestions on this? test code attached  in this post too. 
    thanks
    CQ
    Solved!
    Go to Solution.
    Attachments:
    KeyDown_Up_valuechange.vi ‏16 KB

    This works for me in 2014.  In short, you just need to check to see if your numeric has the focus.  If it doesn't, then you process the key value.  No need for any other event here except for the stop button.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    KeyDown_Up_valuechange_BD.png ‏32 KB

  • Capturing events from UIImagePickerController

    I'm wondering if anybody knows of a way of capturing the event that the user has taken a picture with the camera.
    I'm able to be notified when the user has canceled or confirmed (through didCancel and didFinishPickingImage), but I'm interested in the stage in between, where there user has taken the picture, but hasn't yet confirmed it.
    It's not even clear to me whether or not this is possible. Any help would be greatly appreciated.
    Cheers.

    Yeah, I noticed that. It seems possible, however, as Phanfare's app does stuff once the picture has been taken, and before it is confirmed.

  • WANTED! bluetooth remote control...

    Now that Apple has opened up the blue-tooth keyboard functionality, wouldn't it be really nice to have a tiny remote that had all the Play, Pause, Forward, Backward, Volume, and home buttons? Most notably the home button so that you can perform voice command. Wouldn't it also be nice if it was a detachable remote that can grip to the steering wheel so you don't have to look and try to touch the screen while driving? Here's another thought, what if the remote also contained a built-in mic so that you could initiate the voice command strait from the remote?

    I took a look to see if Salling Clicker offered support. It is not listed among the tested configurations. You could, however post a message on the Blog there to see if someone else has had success or to make a request for future support.

  • Is it possible to hide Accessibility Voiceover Cursor when connecting to Bluetooth Remote Control in Keynote presentation on iPad?

    Hi team, I would like to know
    When I use my Satechi Bluetooth pointer (linked in Accessibility mode) with keynote on iPad there is a box around the items in my slides. Is there a way to remove this box?
    like these comments on this video
    https://www.youtube.com/watch?v=-c3Fw9m7UuY&list=UUajGeviMMa-piNbYJehhFmA&index= 3
    I didn't get any of those boxes for 2 years but if I remember well it just started to appear after either upgrading to Ios8 or updated Keynote, can't recall exactly.
    Any idea on how to solve this?
    Thanks so much for your time and help in this!
    Max

    Anyone with the same issue?
    have a great day
    Max

  • Next chapter isn't working from the remote control (Adobe Encore)

    Hi,
    Encore CS5
    My project starts with the main menu
    -Film1
    -Film2
    -Film3
    -Chapters
    All my film1, film3, film3 have chapters and we can access to each capter properly from the chapters menus.
    BUT :
    Film1 & Film2 --> the next and Prev button of the remote control have no effect, tested on a high end Denon player as well as on a Sony Playstation3 (even if the actions are authorized in their properties in Encore)
    And don't know why but it's working on Film3! (all properties seem to be the same!!!)
    Note : from the virtual remote control of Encore, I don't see this problem.
    Thank you.

    That does sound odd. Please post a screenshot of your flowchart, showing those timelines.

  • Capturing events fired by ACtiveX control

    How can i capture events fired by ACtiveX control. i am using RegEventCallback vi, but that controls user driven events. i have an activeX control that fires events at unspecified time, now i want to know how to handle such events in LabView.
    Rubina

    Hi InformaticsComplex,
    Using the Register Event Callback VI is the correct method to capture events generated by an ActiveX control. Register Event Callback registers a VI to be called when the event occurs. I suggest checking out the LabVIEW Help articles Using ActiveX with LabVIEW and Register Event Callback as well as the following examples. I hope this helps!
    Examples (all found in NI Example Finder):
    ActiveX Event Callback for Excel VI: labview\examples\comm\axevent.llb
    ActiveX Event Callback for IE VI: labview\examples\comm\axevent.llb
    NET Event Callback for Calendar Control VI: labview\examples\comm\dotnet\Events.llb
    NET Event Callback for DataWatcher VI: labview\examples\comm\dotnet\Events.llb
    Mike Lyons
    National Instruments
    http://www.ni.com/devzone

  • Bluetooth remote freezing with PowerPoint on MacBook Pro while idling

    I am experiencing problems with bluetooth remote controls (3 different brands) freezing up when used with MS PowerPoint on a MacBook Pro running Snow Leopard (all updated). It is intermittent in nature and appears to be related to idling when giving presentations. It can freeze as quickly as within one minute to not freezing until 30-40 minutes later. This may not be a remote control issue as the arrow keys on the keyboard will not advance or backup the PowerPoint slides as well. However, when using my iMac computer without the remote, I have not observed the freezing (although, I may not have waited long enough since the nature is intermittent and variable in time).
    When frozen, the mouse centered on the slide with a touchpad click awakes the computer to work properly (quick, but not ideal solution). However, when two screens are utilized (LCD projector or another monitor) via VGA connecion in "Presenter View," the touchpad click does NOT awake the computer, regardless of where the arrow is placed on screen. During this situation, the "presented slide" can be advanced by clicking the forward and backward arrows below this "subwindow" of "Presenter View," and even clicking on the image itself will advance it forward (but not backward). When this happens, the keyboard arrows do not work in advancing or backing up the slide sequence.
    When in this frozen mode with a LCD or 2nd monitor, the only way I have found to get it working again, is to "Exit Show" and pulling down the "Slide Show" tab and selecting "Play from Current Slide." This takes me back to the slide where the computer froze and allows the bluetooth remote to start working again (obviously not an optimal solution, as the software should not disengage). Again, it appears if I keep changing to another slide within a few seconds to a few minutes, the PowerPoint does not freeze up. However, it is intermittent and variable as to the length of time before it freezes up.
    NOTE: I have run these same PowerPoints, with the same remote controls, without any problem for hundreds of hours over the past 3 years. I have updated MS Office 2011, from 2008, last fall and have also run these same items without problems for about 40 hours. I have run Mac "Disk Utility" and just installed a MS Office "Update" released yesterday, which has not corrected the issue as well. Is this issue a MicroSoft problem?
    Bless whoever who has an answer to this complex situation. Thank you!

    I am having the same problem with a minister's MacBook Pro at my church.  It started about 2-3 weeks ago.  We at first thought it was a remote issue and found out that it is not.  He is running a vitually new MacBook Pro with Mountain Lion 10.8.2 OS.  He has Microsoft Office 2011.  He has only had the computer since December.  He runs powerpoint presentations all the time.  He never had a problem until about 2 1/2 weeks ago.  When he runs powerpoint in Presenter Veiw it would freeze up on him.  You can still move the cursor over to the arrows on the presenter view slide windo and phisically click the mouse on the arrows to move forward or backward but none of keys on the keyboard work at all.  It won't even let you escape.  You have to move the cursor over the "Exit Show" button and click there.  We thought that it might be just a presenter veiw issue so we tried running it in "Mirror Mode" and that seemed to work for a while but now we are having the same freezing problems. 
    We have taken the laptop to the Genius Bar and talked to the guys there and they did not tell us anything that helped us.  They found this thread that you all started with our same problem.  It looks like all of us had it happen at the same time.  I find that very interesting.  My minister said that he had not run any updates so we don't think that was the issue.
    I have tried uninstalling Office completely and reinstalling it with all the updates and that did not help.  I was thinking that I have a copy of Office 2008 here in the office and I was going to uninstall 2011 and install 2008 but one of you said you were having the same issue with 2008.  Maybe I can uninstall 2011 and reinstall it without doing any updates and see if that does anything.  We are very baffled and can't seem to get an answer about any of this from Mac or Microsoft.  All we get is one blaming the other.
    Let us know if this is helpfull or if you have any luck.

Maybe you are looking for