Opened 11 years ago
Closed 11 years ago
#939 closed defect/bug (fixed)
no images for direction next turn wit new release of android
Reported by: | zaatlob | Owned by: | KaZeR |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | core | Version: | git master |
Severity: | Keywords: | ||
Cc: |
Description
I am missing the images for the direction for the next turn. I tried removing my own xml, but the images still don't show.
I'm running samdroid 2.1 on a samsung spica.
Attachments (1)
Change History (7)
Changed 11 years ago by fred jelk
comment:1 Changed 11 years ago by fred jelk
comment:2 Changed 11 years ago by zaatlob
any hope of getting the images back, or is it possible to change the xml to fix the problem?
comment:3 Changed 11 years ago by korrosa
Does the third example in http://wiki.navit-project.org/index.php/OSD#navigation_next_turn help? Or are you missing the actual files?
comment:4 Changed 11 years ago by me.yahoo.com/a/fqumtoocke.0wilto.h_6no77cyxna--#a909b
Here's a workaround:
Oy! This one has been driving up the wall. I've tried the examples on the wiki; I've used sample layouts; I've copied png's of the nav icons onto my sd card and pointed to that for the icon_src. Defining a button using an image from the card worked, next_turn didn't.
Here's something really weird... I created several instances of Navigation_next_turn, in several locations on screen, calling the icon different ways.
<osd enabled="yes" type="navigation_next_turn" x="100" y="230" icon_src="%s_wh_64_64.png" /> WORKS sorta
<osd enabled="yes" type="navigation_next_turn" x="0" y="5" icon_src="/sdcard/navit/xpm/%s.xpm" osd_configuration="1"/> DOESN"T WORK
Files in the directory: nav_left_1.xpm nav_left_1_32.xpm nav_left_2.xpm nav_left_2.xpm nav_right_1.xpm nav_right_1_32.xpm nav_right_2.xpm nav_right_2.xpm nav_straight.xpm nav_straight_32.xpm nav_left_1_bk_8_8.png nav_left_1_bk_16_16.png nav_left_1_bk_32_32.png nav_left_1_bk_48_48.png nav_left_1_bk_96_96.png
-repeat for nav_left_1, 2, 3 bl and wh for all sized
- repeat for destination, roundabout_l 1-8, roundabout_r 1-8, turnaround_left, turnaround_right
(for whatever reason, what I've got on my windows drive has far more for png than xpm)
Something popped to mind - I forget the source of those image files on my windows installation - I may have downloaded them sometime in spring while futzing around with another project.
But.... The first example only works after I copied the xpm images to the phone. That's right: specifying png only works with xpm images in the directory as well. WTF?? I don't know which is actually being used, png or xpm.
What I should do is play around with this some more to get y'all some more data to work with, some screen shots and copies of the XML - but right now I have a headache.
comment:5 Changed 11 years ago by zaatlob
@korosa: the change in the xml with the code for HTC also works for me (samsung spica. samdroid 2.2)
Thanks
comment:6 Changed 11 years ago by sleske
- Resolution set to fixed
- Status changed from new to closed
Closing as fixed, according to the last comment. Please reopen if this still occurs.
same problem at me: android 2.3.7 with navit svn 4808 have a look at the attached screenshot.