Results 1 to 7 of 7

Thread: Getting Events from the COM SDK

  1. #1
    Maximum Bitrate
    Join Date
    Oct 2003
    Location
    Copenhagen, Denmark
    Posts
    747

    Getting Events from the COM SDK

    Hi Guino

    I am trying to get info from RR about what screens are active in RR using the SDK. I can send commands just fine with the COMSend function. But how do i get RR to tell my application that someone just pressed AUDIO, GPS, whatever.....button and/or command has been executed ?
    Transflective Lilliput 8", LV-677DC Core Duo 1,83Ghz, , Mpegbox uSDC20D, Shuttle Express, HQCT, PG XS6600 http://carpc.boyakasha.dk

  2. #2
    Maximum Bitrate
    Join Date
    Oct 2003
    Location
    Copenhagen, Denmark
    Posts
    747
    I tried adding something like this to my menu.skin which in theory should make COMReceive fire and send AUDIO to my application, which is called RR_Joystick :
    B01,11,73,339,106,"AUDIO||SENDMSG;RR_Joystick;AUDI O","Audio player" But i get no firing of COMReceive
    Transflective Lilliput 8", LV-677DC Core Duo 1,83Ghz, , Mpegbox uSDC20D, Shuttle Express, HQCT, PG XS6600 http://carpc.boyakasha.dk

  3. #3
    Maximum Bitrate
    Join Date
    Oct 2003
    Location
    Copenhagen, Denmark
    Posts
    747
    in modSDK.bas i did this :

    Public Sub COMReceive(Data As String)
    Text1.Text = "Event" & " " & ":" & Data
    End Sub

    Just to show the data as it is received, but i get nothing
    Transflective Lilliput 8", LV-677DC Core Duo 1,83Ghz, , Mpegbox uSDC20D, Shuttle Express, HQCT, PG XS6600 http://carpc.boyakasha.dk

  4. #4
    Maximum Bitrate
    Join Date
    Oct 2003
    Location
    Copenhagen, Denmark
    Posts
    747
    Nobody knows? or has sample code ?
    Transflective Lilliput 8", LV-677DC Core Duo 1,83Ghz, , Mpegbox uSDC20D, Shuttle Express, HQCT, PG XS6600 http://carpc.boyakasha.dk

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    You can simply use "SENDMSG" to send messages from the skin to your plugin.. just look up the command in skin commands.txt .. You'll need to hook a window of your plugin before receiving any messages.. check the SDK example application -- it has plenty of examples... You can actually monitor all the commands being executed in RR if you make an extension plugin.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  6. #6
    Maximum Bitrate
    Join Date
    Oct 2003
    Location
    Copenhagen, Denmark
    Posts
    747
    Ah, ok i see know. It seems i was trying to do this from the compiler....only works when the application has been compiled as far as i can tell.
    Transflective Lilliput 8", LV-677DC Core Duo 1,83Ghz, , Mpegbox uSDC20D, Shuttle Express, HQCT, PG XS6600 http://carpc.boyakasha.dk

  7. #7
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    You have to run the compiled version as the window hooks can sometimes crash VB.. If you're coding a plugin in VB6, I would strongly recommend using the Extension plugin interface, but that's still up to you.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

Similar Threads

  1. iGuidance SDK
    By Quattro in forum GPS
    Replies: 57
    Last Post: 06-23-2006, 07:37 AM
  2. SDK commands over the serial port ????
    By tolisn in forum Road Runner
    Replies: 4
    Last Post: 12-14-2005, 12:03 PM
  3. Centrafuse SDK Information
    By veetid in forum CF SDK
    Replies: 24
    Last Post: 11-03-2005, 03:18 AM
  4. Developing Touchscreen SDK -- need feedback!
    By kevlar in forum Software & Software Development
    Replies: 3
    Last Post: 07-14-2005, 05:55 PM
  5. Replies: 9
    Last Post: 03-31-2005, 02:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •