Results 1 to 7 of 7

Thread: roadrunner api

  1. #1
    Variable Bitrate
    Join Date
    Nov 2009
    Posts
    279

    roadrunner api

    My buddy is helping me write A pluging for ride runner to control my uniden bcd996 police scanner. He is looking for some kind of api to go off of thanks mike

  2. #2
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,689
    Blog Entries
    1

    Lightbulb RideRunner SDK Examples

    When you install RR, make sure you let it install the extension examples, (it will ask when installing). Then look in:

    C:\Program Files\RideRunner\RRExtension Plugin Examples\

    There are examples in VB6, .net and C#.

    If you are working with AutoIt, you can access RR's SDK like this example script:

    PHP Code:


    $rr 
    ObjCreate("RoadRunner.sdk")
    $rr.Execute("Audio")
    $TrackNumber=$rr.getinfo("=$TRACKNUMBER$"
    The first line opens communication with RR. (Only needs done once at the top of your script)
    The second line tells RR to go to the Audio screen
    The third line gets the current track number and saves it in a variable

    In the 2nd line, any commands that RR understands can be done. Such as "SetVar;MyVar;My Test Text" Sets the variable $MyVar$ in RR with "My Test Text"

    Have a look in the RideRunner\Documentation\SkinCommands.txt for an extensive list of commands, labels, setting variables ect.


    Lastly, fire up the SkinTool in the RR directory. It is a nice GUI that will let you send commands to RR, and get information from RR, and is a, indispensable testing tool.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  3. #3
    Variable Bitrate
    Join Date
    Nov 2009
    Posts
    279
    John
    Thanks so much. But we have complied the myextesion demo and it wont show in rr. We left it as defaults. Any help would be apperciated.
    Thanks

  4. #4
    Maximum Bitrate DaveDog's Avatar
    Join Date
    Mar 2004
    Location
    Greenacres, WA
    Posts
    606
    If I remember correctly chuck's skin had a scanner plugin, wonder whatever happened to him?
    TruckPC - gutted, being used for test setup
    BoatPC - All in 1 in cuddy, N7 using VNC on dash, RR
    BlazerPC - Nexus 7 with Timur's USBROM

  5. #5
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,212
    Quote Originally Posted by themlruts View Post
    John
    Thanks so much. But we have complied the myextesion demo and it wont show in rr. We left it as defaults. Any help would be apperciated.
    Thanks
    assuming you put the .dll in the plugins directory
    and regasmed it

    thats enough info to have you solve it
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  6. #6
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,689
    Blog Entries
    1
    Quote Originally Posted by themlruts View Post
    John
    Thanks so much. But we have complied the myextesion demo and it wont show in rr. We left it as defaults. Any help would be apperciated.
    Thanks
    Compiled in .net or VB6? I have not made the switch to .net yet, so not sure how much help I can be there.

    As Mitch mentioned, make sure the .dll is in the plugins dir, and it is registered.

    When you say it "won't show in rr", I am not sure what you mean. You have to fire one of the test commands to get it to do something. If you mean it is not showing in the plugin manager, then it is definitely in the wrong folder and/or not registered.

    Till you can get things moved to the plugin, you can do some testing with the exec.exe in the RR folder. Simply run that exe with command line options to pass the info to rr.

    For Instance:

    Exec.exe Audio

    That line in a .bat file will send the "Audio" command to RR. It is good for testing, but far better to get the code into a plugin than to run an .exe for every single command, and the fact that it is one-way communication as well.

    You can IM me on Yahoo at johnwpbfl
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  7. #7
    Variable Bitrate
    Join Date
    Nov 2009
    Posts
    279
    Thanks for you help. We decided to make a standalone exacutable at this time. I would really love to get a direct plugin for this scanner.

Similar Threads

  1. How to setup iGuidance GPS for RoadRunner
    By MatrixPC in forum RR FAQ
    Replies: 31
    Last Post: 05-22-2009, 08:29 AM
  2. Music in roadrunner
    By m60power in forum Road Runner
    Replies: 10
    Last Post: 04-24-2008, 10:21 PM
  3. RoadRunner uses, futures and configuration
    By marsk8er in forum Road Runner
    Replies: 4
    Last Post: 08-14-2006, 03:46 AM
  4. Roadrunner Skinning Tutorial
    By Meelobee in forum RR Skins
    Replies: 14
    Last Post: 12-30-2005, 07:28 PM

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
  •