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 > Centrafuse > CF Plugins

Reply
 
Thread Tools Display Modes
Old 06-07-2006, 10:51 AM   #1
Constant Bitrate
 
Join Date: Aug 2003
Location: Seattle, WA
Vehicle: 2003 Nissan 350Z
Posts: 115
My Photos: (0)
Hello World plugin

I have downloaded the CF SDK and example plugins (web and weather).

The example plugins are good for education, but you sortof have to rip out most of the stuff that is in them before you can start really writing your own plugin.

It would be great to have a basic "hello world" plugin that has the minimum required skin and code to write a plugin (plus lots of comments).

veetid, do you have a template plugin that you use to start your projects from?
Would you mind sharing that with us?

I would try to produce a hello world plugin myself, but I currently only have VS2K5 installed and I cannot get CF plugins written w/ VS2K5 (.Net 2.0) to install in to CF (.Net 1.1?), so I would need to resolve this problem [by reinstalling VS2K3?] before I could create a hello world plugin.
__________________
paulpv is offline   Reply With Quote
Sponsored Links
Old 06-07-2006, 05:28 PM   #2
FLAC
 
alti's Avatar
 
Join Date: Sep 2004
Location: NY
Vehicle: 2002 Nissan Altima
Posts: 1,749
My Photos: (0)
I did one in c# awhile back, (when CF 1.5 first came out) and someone ported it to vb.

you might need to modify it for 1.6 but it should be here somewhere (I will search for it now as well to make sure)
__________________
My Install

Software:
CFiG v1
iGuidance Plugin for CF

CarShell
Working shell for a CarPC

StopWatch
StopWatch plugin remade for centrafuse RC1
alti is offline   Reply With Quote
Old 06-07-2006, 05:35 PM   #3
FLAC
 
alti's Avatar
 
Join Date: Sep 2004
Location: NY
Vehicle: 2002 Nissan Altima
Posts: 1,749
My Photos: (0)
ya sorry, i could not find it, i did find the vb version (Jarrod's) but the link was broken. Here is a link to source for a plugin i did for CF 1.5 it contains my code, but for now it is another example of a working plugin (with CF version 1.5) I have not have not had any time to update it for version 1.6, it will not work in 1.6 also you will have to make whatever changes are required for 1.6

EDIT: sorry it would have been helpful if i provided the link for the source :http://www.mp3car.com/vbulletin/show...8&postcount=13

I will look later this week (friday/sat) to see if i still have the empty plugins (c# and vb) on my home dev computer.
__________________
My Install

Software:
CFiG v1
iGuidance Plugin for CF

CarShell
Working shell for a CarPC

StopWatch
StopWatch plugin remade for centrafuse RC1

Last edited by alti : 06-07-2006 at 07:16 PM.
alti is offline   Reply With Quote
Old 06-08-2006, 03:58 AM   #4
Variable Bitrate
 
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
My Photos: (0)
Quote: Originally Posted by paulpv
... I would try to produce a hello world plugin myself, but I currently only have VS2K5 installed and I cannot get CF plugins written w/ VS2K5 (.Net 2.0) to install in to CF (.Net 1.1?), so I would need to resolve this problem [by reinstalling VS2K3?] before I could create a hello world plugin.

Oh so for CF plugins than I need VS2003? Is there any way to make plugins in VS2005?
stric is offline   Reply With Quote
Old 06-08-2006, 01:53 PM   #5
MySQL Error
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 4,955
My Photos: (0)
Quote: Originally Posted by stric
Oh so for CF plugins than I need VS2003? Is there any way to make plugins in VS2005?

There are ways to compile .NET 1.1 applications in VS2005, but I have never done it... It is usually easier and more stable to just load VS2003...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Old 06-08-2006, 10:07 PM   #6
FLAC
 
alti's Avatar
 
Join Date: Sep 2004
Location: NY
Vehicle: 2002 Nissan Altima
Posts: 1,749
My Photos: (0)
here is a link to the empty VB plugin i referenced above.

I was not able to find the empty c# one, I probibly lost it or morphed it into a hlf finished plugin

speaking of which here is a link to the source for the skin switcher plugin i started before it was discovered that the SDK did not support switching skins with CF running. If i remember correctly it accesses the config xml file for centrafuse that contains the name of the active skin and changes it to the one you want, but you have to reboot CF to actually get the new skin, If David can add the ability to the SDK then you would just have to modify this to do it. It two was built for CF 1.5 so it would probibly have to be modified for 1.6 as well, refer to davids API documentation for that. (I dont think i got really far with GUI on this one, I put it on hold waiting for the change to the sdk)
__________________
My Install

Software:
CFiG v1
iGuidance Plugin for CF

CarShell
Working shell for a CarPC

StopWatch
StopWatch plugin remade for centrafuse RC1
alti 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
Garo's Extra POI Plugin 1.0 beta 1 garo Map Monkey 63 01-18-2007 12:32 PM
The following squads have just been announced for the 2006 World Cup Enforcer Off Topic 2 05-17-2006 01:20 AM
How do I use the Base plugin sources ? guino RR FAQ 1 04-24-2006 03:43 PM
Winamp LCD display plugin / IRMan plugin - together? Jarrod Software & Software Development 9 06-03-2002 05:39 AM
What do you think of my playlist?? SkinnyBoy Software & Software Development 19 07-19-2001 12:51 PM


All times are GMT -5. The time now is 01:47 AM.


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