Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Development snapshot
Goto page Previous  1, 2, 3, ... 11, 12, 13  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Recycle Bin
View previous topic :: View next topic  
Author Message
guest



Joined: 08 Oct 2006
Posts: 4988

PostPosted: Fri Mar 16, 2007 1:10 pm    Post subject: CMS speed Reply with quote

Hi All,
I also tried CMS today and have to confirm that CMS speed is smaller than OSD display. Nevertheless CMS is realy great feature for biking! I would like to ask you if it is difficult to implement MAX Speed to CMS?

Many thanks for this amazing application
Radim Strnad
Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Fri Mar 16, 2007 1:39 pm    Post subject: Reply with quote

Customizable CMS layout is the only way to please all users Smile . And I let's me hand the painful (for me) job to design the CMS screen(s) over to other people. I'd like to hear designers opionions on the layout format, if it's missing something etc...

It's just early proof-of-concept prototype; making more variables available for the layout (avg/max speed, time, distance travelled etc) is for me - compared to UI design - piece of cake Wink .
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Fri Mar 16, 2007 1:54 pm    Post subject: Reply with quote

Eh, as for the speed in CMS... imagine it multiplied by 1.852... Wink
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Fri Mar 16, 2007 4:48 pm    Post subject: Reply with quote

How simple things can be - the font image size limit can be easily solved by having chars in the bitmap in a few rows Smile .

Lakva wins a lifetime license for TB. Very Happy
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4988

PostPosted: Fri Mar 16, 2007 5:54 pm    Post subject: Font image size Reply with quote

I have changed the font image (made font smoother) and tested with PNG file size 2.5kb without any problem on my Nokia 6230i, fw3.40.

Radim Strnad
Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Fri Mar 16, 2007 6:54 pm    Post subject: Reply with quote

What are the dimensions of the bitmap? I could not load 5120x80 - I have exactly the same phone & fw Shocked

Here's proposed fixed-width font bitmap layout (still not sure whether to rip first 32 chars or not...), ie. 8 (or only six) rows by 16 chars:



iso646-us.gif
 Description:
 Filesize:  4.37 KB
 Viewed:  13538 Time(s)

iso646-us.gif


Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4988

PostPosted: Fri Mar 16, 2007 7:09 pm    Post subject: Reply with quote

image size is 3456 x 72 px

-rst-
Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Sat Mar 17, 2007 12:28 am    Post subject: Reply with quote

I could load 5000xsomething, but not 5120x80...

Here's the CMS layout configuration proposal:

Code:

<?xml version="1.0"?>
<cms version="1.0">

    <!--
    bgcolor: CMS bg color
    fgcolor: text default color
    nxcolor: text color for negative changes eg. deceleration
    pxcolor: text color for positive changes eg. acceleration
    -->

    <colors bgcolor="ffffff" fgcolor="000000" nxcolor="ff0000" pxcolor="0000ff"/>

    <!--
    font definitions binds symbolic names with font bitmap files
    -->
   
    <fonts>
        <font name="96px" file="font.96px.png"/>
    </fonts>
   
    <!--
    screen layout for fullscreen
   
    * variables and constants provided by TB are in {} brackets
    * area may refer to a font defined above to be used for drawing value/text;
    * value (child of area) may contain variable or static text only, variable + static text mix or even multiple varaibles mixed with static text (not implemtended yet ;-)
    -->

    <screen mode="full" w="208" h="208">
        <area x="0" y="0" w="208" h="16">
            <value>{coords}</value>
        </area>
        <area x="4" y="48" w="160" h="80" font="96px">
            <value>{spd}</value>
        </area>
        <area x="160" y="48" w="48" h="20">
            <value>km/h</value>
        </area>
        <area x="160" y="68" w="48" h="60">
            <value>{spd-d} m/s</value>
        </area>
        <area x="0" y="144" w="104" h="24">
            <value>{alt} m</value>
        </area>
        <area x="104" y="144" w="104" h="24">
            <value>{alt-d} m</value>
        </area>
    </screen>
</cms>
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4988

PostPosted: Sat Mar 17, 2007 10:02 pm    Post subject: Reply with quote

I thing that CMS XML layout was great idea, IMHO there is nothing to change in your layout configuration, everybody can modify it acording his vision. Maybe the possibility to have more then one fonts (font sizes) used in layout would be good for beter layout design. BTW, how can I change the font color of new added area value? (font color is blue if I add new area field)

-rst-
Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Sun Mar 18, 2007 11:50 am    Post subject: Reply with quote

You can use more fonts already (did not test it, though).

Colors are intended to work like this: nxcolor/pxcolor colors are used for xxx-d variable (when the value decreases/increases), fgcolor for other variables and text. There may be a bug that color is not set to fgcolor after any xxx-d variable is drawn...

It appears it would be nice to have font color adjustable per area, right? I'll add fgcolor attribute to area element. I'll also change font bitmap handling to use the 8 rows x 16 columns "structure".
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4988

PostPosted: Sun Mar 18, 2007 12:08 pm    Post subject: Loading Atlas Reply with quote

I have also tried to run the new version which came in the cms.zip file presented here at forum a couple of days ago.

I have some problems loading my atlases in this version. I have created a folder in root directory in my memory card with the name "trekbuddy" and in that folder there is all folders which was recomended to have. My atlases is then in the folder called "maps".

Am I doing right so far?

The problem is when i try to load an atlas. I end up with several NullPointerExceptions, perhaps one for every folder in atlas or every map tile , i dont realy know, but it realy is annoying Smile

After accepting every exception it seems that atlas is loaded.

The question is what am I doing wrong. I have a SE K750i.

Fredrik Möller
Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Sun Mar 18, 2007 12:50 pm    Post subject: Reply with quote

Sounds like a bug to me. I'll check it tonight.

Edit: Problem I have on K750 that map scrolling now runs too fast...I can't believe I have to think how to solve too high framerate Smile
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4988

PostPosted: Tue Mar 20, 2007 9:44 am    Post subject: Reply with quote

Hm, interesting. To fast. I have experienced problems with atlas not following position smoothly when moving to fast, in a car or so. The problem is that trekbuddy has not been able to move map as fast as it should. Is this the problem you are talking about?

I have thougth that it was a problem connected to the switch to next image in atlas, becuse it seems to happen more often when that is going to happen.

Fredrik Möller
Back to top
View user's profile Send private message Visit poster's website
Lakva



Joined: 09 Jan 2007
Posts: 212
Location: N 50,2380 E 12,8760

PostPosted: Tue Mar 20, 2007 10:22 am    Post subject: Reply with quote

guest wrote:
...To fast. I have experienced problems with atlas not following position smoothly when moving to fast, in a car or so. The problem is that trekbuddy has not been able to move map as fast as it should...

What phone do you have?
On my Nokia 5500 I never had such problem - even in speeds above 120 kph...

_________________
The best thing a man can do for themselves is to help to the others.
-I know it sounds strange... but you may try it Smile
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 4988

PostPosted: Tue Mar 20, 2007 12:09 pm    Post subject: Reply with quote

It is a Sony Ericsson K750i

Fredrik Möller
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Recycle Bin All times are GMT
Goto page Previous  1, 2, 3, ... 11, 12, 13  Next
Page 2 of 13

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group