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 January 9th, 2009, 11:09 AM   #11 (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
Sure, you can do that.

Alternatively you can set up an array with only 8 strings and use
Code:
int dir = (int)(degree/45f);
if (dir >= 0 && dir < 8)
   return directions[dir];
instead.
__________________
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
The Following User Says Thank You to Zorro For This Useful Post:
Old January 9th, 2009, 05:25 PM   #12 (permalink)
10 Farad - Flux Capacity
_Dejan_'s CarPC Specs
 
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,727
_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
Thanks In today drive Im test first option and work ok. Now Im change it to this last and use 8 string array:
Code:
private readonly string[] directions = new[] { "E", "SE", "S", "SW", "W", "NW", "N","NE" };
Thanks for your help.
Tomorrow I will release plugin...
__________________
If you like my work you can DONATE me...
_Dejan_ is offline   Reply With Quote
Old January 9th, 2009, 05:35 PM   #13 (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
You're welcome.

Don't forget to add your work on SPBA
__________________
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
The Following User Says Thank You to Zorro For This Useful Post:
Old January 11th, 2009, 10:18 AM   #14 (permalink)
10 Farad - Flux Capacity
_Dejan_'s CarPC Specs
 
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,727
_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
First version is uploaded(Moderators must approve it).
After testings and positive feedbacks I will upload it ti SPBA too(and GPStrack plugin)...

P.S. Im test it with GlobalSat BU-353 and GlobalSat ET-332.
__________________
If you like my work you can DONATE me...

Last edited by _Dejan_; January 11th, 2009 at 10:21 AM.
_Dejan_ is offline   Reply With Quote
The Following 2 Users Say Thank You to _Dejan_ For This Useful Post:
Old January 13th, 2009, 04:21 PM   #15 (permalink)
10 Farad - Flux Capacity
_Dejan_'s CarPC Specs
 
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,727
_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
Jeah 2 days and file is not approverd yet...
What work CF Team?
__________________
If you like my work you can DONATE me...
_Dejan_ is offline   Reply With Quote
Old January 13th, 2009, 07:16 PM   #16 (permalink)
10 Farad - Flux Capacity
WuNgUn's CarPC Specs
 
Join Date: Feb 2008
Posts: 929
WuNgUn will become famous soon enough
Did they ALL go to CES?? lol
WuNgUn is offline   Reply With Quote
Old January 14th, 2009, 01:22 AM   #17 (permalink)
10 Farad - Flux Capacity
_Dejan_'s CarPC Specs
 
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,727
_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
But is not CES finished?
__________________
If you like my work you can DONATE me...
_Dejan_ is offline   Reply With Quote
Old January 14th, 2009, 08:52 AM   #18 (permalink)
10 Farad - Flux Capacity
WuNgUn's CarPC Specs
 
Join Date: Feb 2008
Posts: 929
WuNgUn will become famous soon enough
Dunno...
They promised to look at a system.log for me as well after CES...
WuNgUn is offline   Reply With Quote
Old January 17th, 2009, 07:33 AM   #19 (permalink)
7 Farad - Super Capacity
KORAIL's CarPC Specs
 
KORAIL's Avatar
 
Join Date: Apr 2008
Location: South Korea
Vehicle: Hyundai YF SONATA
Posts: 131
KORAIL will become famous soon enough
Dejan,

thanks for your plugins...


The direction display of gps engine is English.
The possibility to change a direction display with the Korean language is?

like this
"E"="동", "SE"="남동", "S"="남", "SW"="남서", "W"="서",

"NW"="북서", "N"="북" , "NE"="북동"
KORAIL is offline   Reply With Quote
Old January 17th, 2009, 09:19 AM   #20 (permalink)
10 Farad - Flux Capacity
_Dejan_'s CarPC Specs
 
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,727
_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
In current version is this imposible.
I can add feature if find in YourLanguage.xml file definition of this directions then use it otherwise use english directions... but in this case you must yourself add few lines in your language file...
__________________
If you like my work you can DONATE me...
_Dejan_ is offline   Reply With Quote
Reply

Bookmarks

Tags
gpsengine

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




All times are GMT -4. The time now is 04:42 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