The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner

Reply
 
Thread Tools Display Modes
Old 01-26-2007, 06:06 PM   #1
Maximum Bitrate
 
Join Date: Oct 2003
Location: Copenhagen, Denmark
Vehicle: Citroen Xsara 2,0 16V VTS
Posts: 727
My Photos: (0)
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
_dopehead_ is offline   Reply With Quote
Sponsored Links
Old 01-26-2007, 06:24 PM   #2
Maximum Bitrate
 
Join Date: Oct 2003
Location: Copenhagen, Denmark
Vehicle: Citroen Xsara 2,0 16V VTS
Posts: 727
My Photos: (0)
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
_dopehead_ is offline   Reply With Quote
Old 01-26-2007, 06:25 PM   #3
Maximum Bitrate
 
Join Date: Oct 2003
Location: Copenhagen, Denmark
Vehicle: Citroen Xsara 2,0 16V VTS
Posts: 727
My Photos: (0)
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
_dopehead_ is offline   Reply With Quote
Old 01-28-2007, 05:05 PM   #4
Maximum Bitrate
 
Join Date: Oct 2003
Location: Copenhagen, Denmark
Vehicle: Citroen Xsara 2,0 16V VTS
Posts: 727
My Photos: (0)
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
_dopehead_ is offline   Reply With Quote
Old 01-28-2007, 05:21 PM   #5
RoadRunner Mastermind
guino's CarPC Specs
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,025
My Photos: (5)
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.
__________________
Road 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."
guino is offline   Reply With Quote
Old 01-28-2007, 05:56 PM   #6
Maximum Bitrate
 
Join Date: Oct 2003
Location: Copenhagen, Denmark
Vehicle: Citroen Xsara 2,0 16V VTS
Posts: 727
My Photos: (0)
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
_dopehead_ is offline   Reply With Quote
Old 01-28-2007, 11:00 PM   #7
RoadRunner Mastermind
guino's CarPC Specs
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,025
My Photos: (5)
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.
__________________
Road 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."
guino is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iGuidance SDK Quattro GPS 57 06-23-2006 07:37 AM
SDK commands over the serial port ???? tolisn Road Runner 4 12-14-2005 12:03 PM
Centrafuse SDK Information veetid CF SDK 24 11-03-2005 03:18 AM
Developing Touchscreen SDK -- need feedback! kevlar Software & Software Development 3 07-14-2005 05:55 PM
Destinator SDK / DLL Installation and Map Installation aseraj Map Monkey 9 03-31-2005 02:40 AM


All times are GMT -5. The time now is 09:52 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics