Centrafuse Carputer, CarPC & UMPC Forums

Go Back   Centrafuse Carputer, CarPC & UMPC Forums > 3rd Party Development > Plugin Development

Plugin Development Extend the functionality of Centrafuse by developing plugins


Reply
 
LinkBack Thread Tools Display Modes
Old July 27th, 2008, 07:06 AM   #1 (permalink)
0.5 Farad - Min. Capacity
VW_go_go's CarPC Specs
 
VW_go_go's Avatar
 
Join Date: Apr 2008
Location: Aachen, Germany
Vehicle: '89 VW Bus 1.6 TD Camper
Posts: 8
VW_go_go is on a distinguished road
Stopped: New TripComp Plugin development

I've stopped the development of my first plugin, because the idea has been copied and finished before I could do. Any motivation to finish this plugin is gone now. Obvisiously I've been to slow. Next time I'm better not going to announce anything before it is finished. If there will be a next time...


I'm working on my first CF Plugin. Please be patient, because I'm quite new to C#.net programming (I've got some experience with VB.Net and PHP). This is the first shot for the new plugin. Any suggestions are welcome.

Centrafuse TripComputer Plugin
Description: Plugin to show Trip Data
Latest version: 0.1
Requirements: Centrafuse 1.47 - 2.xx, GPS-Mouse
Current Skins: Onyx Day/Night
Current Languages: English
Features:
  • Showing Data for Locked Satellites, Direction, Time, Actual speed, Daily/Total Distance, Moving average Speed, Total average Speed, Max. Speed, Moving Time, Stopped Time and Total Time
  • Ability to Reset via Menu:"Daily Distance", "Total Distance", "Speed Averages", "Moving Time/Stopped Time", "Total Time" and finally "Reset All"
Status: approx. 80% done
Download: n.A.

Cheers
VW_go_go
Attached Images
File Type: jpg TripComp_v0_1.jpg (77.7 KB, 442 views)
Highslide JS

Last edited by VW_go_go; August 28th, 2008 at 04:50 PM.
VW_go_go is offline   Reply With Quote
The Following User Says Thank You to VW_go_go For This Useful Post:
Old July 27th, 2008, 07:31 AM   #2 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Nice little plugin.
You could add support for LogoDashboard, so all the information can be displayed on the main screen as well.
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old July 27th, 2008, 07:44 AM   #3 (permalink)
10 Farad - Flux Capacity
malaki86's CarPC Specs
 
Join Date: May 2008
Posts: 852
malaki86 has a spectacular aura aboutmalaki86 has a spectacular aura about
Looks nice - very nice
__________________
My Setup:
  • Computer:
    • 17" laptop, 7" Touchscreen, XM PCR receiver
    • Multi-Function Printer, USB audio adapter, 2 7-port powered USB hubs
    • Wireless Adapter (Cell), Wireless keyboard w/touchpad, 500gig pocket drive, 32gig thumb drive
  • Centrafuse Standard v3.1
    • Skins: Ringam, Aqua
    • Plugins: Calc, Ultimate Garmin Mobile PC Plugin v1.1 beta, Google Traffic, GPSEngine, Save Location, CFCleanScreen, CFVehicle Maintenance, CFCalendar
malaki86 is offline   Reply With Quote
Old July 27th, 2008, 07:45 AM   #4 (permalink)
0.5 Farad - Min. Capacity
VW_go_go's CarPC Specs
 
VW_go_go's Avatar
 
Join Date: Apr 2008
Location: Aachen, Germany
Vehicle: '89 VW Bus 1.6 TD Camper
Posts: 8
VW_go_go is on a distinguished road
Need Help with updating data labels

Hi Zorro,
I'm already struggling with my project. I can't get the data labels updated, using the timer (1000ms Interval). Do you have any hint for me how to update the data labels from the start of the plugin automatically?
Cheers
VW_go_go
PS:I've used VD2 to create this plugin. Great work Zorro!!!
__________________
Plugin Development: TripComp (80% done)
VW_go_go is offline   Reply With Quote
Old July 27th, 2008, 09:17 AM   #5 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
What code do you use in your timer event?
To set labels at startup, you have to use the CF_updateText(label, text) method in CF_localskinsetup.

__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old July 27th, 2008, 02:59 PM   #6 (permalink)
0.5 Farad - Min. Capacity
VW_go_go's CarPC Specs
 
VW_go_go's Avatar
 
Join Date: Apr 2008
Location: Aachen, Germany
Vehicle: '89 VW Bus 1.6 TD Camper
Posts: 8
VW_go_go is on a distinguished road
Thanks Zorro! I've got it running now.
For filling the Labels with data at startup, I've just put the following Code into the CF_pluginShow() section:
Code:
...
this.CF_updateText("ZPANEL_LBLSATFIX", CF_getGPSInfo(CF_GPSInfo.LOCKEDSATELLITES));
this.CF_updateText("ZPANEL_LBLALTITUDE", CF_getGPSInfo(CF_GPSInfo.ALTITUDE));
this.CF_updateText("ZPANEL_LBLSPEED", CF_getGPSInfo(CF_GPSInfo.SPEED));
this.CF_updateText("ZPANEL_LBLTIME", DateTime.Now.ToShortTimeString());
this.CF_updateText("ZPANEL_LBLDIRECTION", CF_getGPSInfo(CF_GPSInfo.DIRECTION));
...
Then I've placed the Code for the Timer into the CF_localskinsetup() section:
Code:
...
this.m_buttonTimer = new System.Windows.Forms.Timer();
this.m_buttonTimer.Enabled = true;
this.m_buttonTimer.Interval = 1000;
this.m_buttonTimer.Tick += new System.EventHandler(this.m_buttonTimer_Tick);
...
It's nicely updating the values every second now.
Live can be that easy!
Cheers
VW_go_go
__________________
Plugin Development: TripComp (80% done)

Last edited by VW_go_go; July 27th, 2008 at 03:03 PM.
VW_go_go is offline   Reply With Quote
Old July 27th, 2008, 03:07 PM   #7 (permalink)
10 Farad - Flux Capacity
_Dejan_'s CarPC Specs
 
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,957
_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of
Look good start, I hope you will do Aura skin too, because lot of users use aura skin...
_Dejan_ is offline   Reply With Quote
Old August 28th, 2008, 04:38 PM   #8 (permalink)
0.5 Farad - Min. Capacity
VW_go_go's CarPC Specs
 
VW_go_go's Avatar
 
Join Date: Apr 2008
Location: Aachen, Germany
Vehicle: '89 VW Bus 1.6 TD Camper
Posts: 8
VW_go_go is on a distinguished road
Stopped development -> see first post!
__________________
Plugin Development: TripComp (80% done)
VW_go_go is offline   Reply With Quote
Reply

Bookmarks

Tags
development, plugin, tripcomp

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
FileSync Plugin Development Thread Scott Plugin Development 169 June 30th, 2010 05:12 PM
NEW Car2PC Plugin under development Nerve Plugin Development 219 April 30th, 2010 01:47 PM
Cf license for plugin development deltabi Plugin Development 2 March 5th, 2008 04:35 PM
Development and Licenses... midiwall Plugin Development 4 August 16th, 2007 11:08 AM
Need DVD plugin development David Plugin Development 0 August 14th, 2007 04:54 PM



All times are GMT -4. The time now is 08:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2009 Flux Media, Inc. All rights reserved.Ad Management plugin by RedTyger