Hi there,
Well, here is my situation and hopefully someone could shed some light on this annoying dilemma...
I'm pretty sure the solution is quite easy ,but so far I cannot find one.
I have a ListBox with a data template.
Now, I want to add some items (pretty easy, isn't it?
But...I always get the same data in every row...
Here is my code
Code:
Option Strict On
Option Explicit On
Partial Public Class MainPage
Inherits PhoneApplicationPage
Dim DataSelected As New Class_DS
' Constructor
Public Sub New()
InitializeComponent()
End Sub
Public Class Class_DS
Public Property DS_Distance() As Integer
Public Property DS_Value() As String
Public Property DS_Angle() As String
End Class
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click
For x As Integer = 1 To 4
DataSelected.DS_Distance = x
DataSelected.DS_Value = (x + 2).ToString
DataSelected.DS_Angle = (x + 3).ToString
Me.ListBox_DS.Items.Add(DataSelected)
Next x
End Sub
End Class
Quite simple, but doesn't work as expected!
Just in case, here goes the XAML
Code:
<DataTemplate x:Key="Template_DS">
<StackPanel>
<Border Width="450" CornerRadius="15">
<Border.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black" Offset="0"/>
<GradientStop Color="#FF032E45" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
<Grid>
<TextBlock x:Name="TextBlock_DS_Distance" Text="{Binding DS_Distance}" VerticalAlignment="Top" d:LayoutOverrides="Width" FontSize="26.667" Margin="4,15,4,0"/>
<TextBlock x:Name="TextBlock_DS_Value" Text="{Binding DS_Value}" Margin="4,50,4,0" d:LayoutOverrides="Width" FontSize="26.667" VerticalAlignment="Top" Foreground="#FFE6FF05"/>
<TextBlock x:Name="TextBlock_DS_Angle" Text="{Binding DS_Angle}" d:LayoutOverrides="Width" FontSize="21.333" Margin="4,85,4,0" VerticalAlignment="Top" Foreground="White"/>
</Grid>
</Border>
</StackPanel>
</DataTemplate>
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<ListBox x:Name="ListBox_DS" ItemTemplate="{StaticResource Template_DS}" Background="{x:Null}" Margin="3,111,3,0" BorderBrush="Blue" BorderThickness="8" Height="490" VerticalAlignment="Top" />
<Button Content="Button" Height="87" HorizontalAlignment="Left" Margin="9,18,0,0" Name="Button1" VerticalAlignment="Top" Width="441" />
</Grid>
What I get is 4 rows with exactly the same data...
Row 1
4
6
7
Row 2
4
6
7....
What I expect is to get this
Row 1
1
3
4
Row 2
2
4
5
Don't have a clue where the issue is, perhaps with the class template or else...
Amybe I'm missing some sort of method??
Any help is greatly appreciated!
When databinding you need to set up INotifyPropertyChanged so the listbox will update when your observable collection changes.
The Windows Phone Databound Application template installed by default with the SDK will show you exactly how to do this properly.
Ren13B said:
When databinding you need to set up INotifyPropertyChanged so the listbox will update when your observable collection changes.
The Windows Phone Databound Application template installed by default with the SDK will show you exactly how to do this properly.
Click to expand...
Click to collapse
Ren13B,
Thanks for the answer! but I managed to solve the issue so far.
Best regards and Happy 2011!
Related
Between the buggy as hell Call History, the unfixed phantom alarms, the non-existent reminders, and crappy third-party program support (Orb, etc.), I have found myself on the brink of going back to WM5. Now before I throw in the towel, anyone know if an update is being released to address these issues. If not, anyone know where I can find the T-Mobile WM5 ROM?
the phantom alarms has a fix look it up i cant remember where i found it.... i havent had a problem with my call history so wat is wrong wit yours?...the reminders has a fix also right on this forum u have to edit ur profile xml... and if your other problem has to do with the rotated video theres a fix for that too just look and you will find...and the other third party stuff dont know i guess wait for an update...
freyes01 freyes01 is offline
Member
Join Date: Apr 2006
Location: Miami
Posts: 35
[United States] [U.S.A. - T-Mobile]
Default
getwsted at HF found a solution for the screen rotation issue:
Add the following Key "Rotation" under HKLM\System\GDI\
e.g. [HKLM\System\GDI\Rotation]
Then Add this dword.
"LandscapeMode"=0
It solved my problem with Orb and other Videos with WMP in full screen mode.
__________________
Thanks,
Freddy Reyes
http://www.freddyreyes.com
Click to expand...
Click to collapse
this works for the video streams
Originally Posted by RandyRants
Posted here:
Code:
<characteristic type="Reminder">
<parm name="Script" value="v0p" />
<parm name="InitVol" value="4" />
</characteristic>
Click to expand...
Click to collapse
the reminder fix add this to your normal profile xml
Wow, I guess I should feel lucky. I dont have any of those problems with my WM6 upgrade s620. I have loaded documents-to-go, ewallet, MunduIM, Opera, and Mapopolis and the only problem I have is running out of memory.
I red so many threads and mails to "how to use A2DP on WM6 Trinity" and "which registry setting are working". But I am confused. Because alll the people say something others. Maybe is that depending on the bluetooth headset or maybe on the WM6 ROM. I do not know. But maybe a thread to clarify the actual knowledge on that would be good.
So I try to beginn that.
If you have a working setting please post here and I try to summarise that in this first posting.
Thank you in advance!
Not really working actual settings (P3600 and UDK 6.1 R1):
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BtA2dpSnd]
"Flags"=dword:00010002
"Index"=dword:00000008
"Order"=dword:00000008
"Prefix"="WAV"
"Dll"="bta2dp.dll"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev]
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
"Priority256"=dword:00000095
"Order"=dword:00000000
"Index"=dword:00000001
"Dll"="wavedev.dll"
"Prefix"="WAV"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\AudioGateway]
"ConnectHFOnCall"=dword:00000001
"BTAGExtModule"="BTAGExt.dll"
"Capability"=dword:00000025
"SupportCLI"=dword:00000000
"BTAGPBModule"="\\Windows\\BthAGPhonebook.dll"
"NoRoleSwitch"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\A2DP\Settings]
"UseJointStereo"=dword:00000000
"MaxSupportedBitPool"=dword:0000001E
"BitPool"=dword:0000001E
Suggestions for settings on P3600:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BtA2dpSnd]
--> remove any Priority256 value
--> Add "Priority256" entry, Dword: 3C (dec: 60)
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev]
--> change "Priority256" entry, Dword: 95 (dec: 149)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\AudioGateway]
--> change "Capability" entry, Dword: 25 (dec: 37)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\A2DP\Settings]
--> change "UseJointStereo" entry, Dword: 0
--> change "BitPool" entry, Dword: 3A (dec: 58)
--> change "MaxSupportedBitPool" entry, Dword: 50 (dec: 80)
--> Add "SampleRate" entry, Dword: AC44 (dec: 44100)
up up! I have a Logitect a2dp bluetooth set. I'm using Sleuth255 suggested a2dp registery values, which help a bit.... :
12/03/06
There may be registry settings, previously done in an attempt to work around the skipping problem, that are now hindering rather than helping. Changing quality and other A2DP settings with the Hermes registry Tweaker may actually contribute to this. If you are still skipping with a known good ROM/headset combination, please check your registry settings against these and report on your findings!
(all DWORD values are decimal)
/HKLM/Drivers/BuiltIn/BtA2dpSnd
remove any Priority256 value
HKLM/Drivers/BuiltIn/WaveDev,
Priority256=149
/HKLM/Software/Microsoft/Bluetooth/AudioGateway
Capability=37
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings
UseJointStereo=0
BitPool=58
MaxSupportedBitPool=80
Remove all other values from this key including SampleRate
Click to expand...
Click to collapse
guys, please, read with full attention, this can help us all.
what about we working together to explain each of the lines in the sys.txt, some of them are self-explanatory but most of them aren't.
this would be extremely helpful for newbies and not-too-newbies.
the reason is that i realized that everytime someone posts a new sys.txt people will try it and in the process, some features that were enabled previously will disappear or something new will come up that will get us freaking out. specially because it seems that every new sys.txt posted here has a bunch of new parameters.
everyone wants the best settings to suit their needs and the best is if they could achieve that themselves by knowing what they are doing.
i'd like everyone to contribute, don't be afraid to be wrong, try and if it's not right someone else will fix. just copy, paste and edit the bottom sys.txt with the explanation of each line really replacing the ;???????????? for what you think this line will do.
I'm using the sys.txt posted by andrewpmoore with some add-ins found in this thread. I deleted the explanations in the original sys.txt. i just found that although saying "makes map drawing a lot faster" will make me think that it really does what it says, however it still won't say exactly what it is and what are its parameters.
The tags in blue were added by me, if you think they're incorrect, please correct me.
>>>Update:
Added more lines found in other examples as well as some info provided by Shetlander.
V.4 - houston, we have a problem!
ok, the sys.txt file now features 14k which is bigger than a post could hold.
and to show it with text formatting it would take other 5k or more, so it was impossible to put it here.
please download the zip file.
in it, you'll find the sys.txt in normal text-only, in word 2003 and in excel 2003.
the reason i added a version in excel is cause it's much easier to edit, sort, add and delete comments in batches.
please have a go.
recalc_voice=0 Supposed to disable the annoying "route recalculation" voice.
mapfontscale=200 I think its to do with the size of road names etc on the map.
drive_carefully=0 ;Disable the voice "drive carefully"
skin="ui_igo8" ;????????????
;resolution_dir="800_480" ;Tells the program which directory the ui files are in. I think pointless if you use - autoconfig=1 ;It will make iGo work with TouchHD native rotation.
auto_nightmode=0 ;Stops the prog switching to nightmode automatically
;screen_x=800 ;????????????
;screen_y=480 Tells the prog the dimension of x & y of the screen, again I think irrelevant if you use autoconfig.
show_oneway_3d=1 ; 3d arrows in one way streets ;Draws 3d arrows in the direction of travel on one way streets
show_oneway=1 ; show one way on or off ;?Will either show on not show one way streets.
Shetlander said:
recalc_voice=0 Supposed to disable the annoying "route recalculation" voice.
mapfontscale=200 I think its to do with the size of road names etc on the map.
drive_carefully=0 ;Disable the voice "drive carefully"
skin="ui_igo8" ;????????????
;resolution_dir="800_480" ;Tells the program which directory the ui files are in. I think pointless if you use - autoconfig=1 ;It will make iGo work with TouchHD native rotation.
auto_nightmode=0 ;Stops the prog switching to nightmode automatically
;screen_x=800 ;????????????
;screen_y=480 Tells the prog the dimension of x & y of the screen, again I think irrelevant if you use autoconfig.
show_oneway_3d=1 ; 3d arrows in one way streets ;Draws 3d arrows in the direction of travel on one way streets
show_oneway=1 ; show one way on or off ;?Will either show on not show one way streets.
Click to expand...
Click to collapse
i will update it to the first post, but just occured to me the mapfontscale=200 is more for the street names showing on the map (the ones that follow the road while you move).
thanks for the input, mate.
thanks to PedroDaGr8 i am bringing to you "some more"
this are the options/possibilities existing for the different settings in the sys.txt and some explanations of what they are and what they are doing.
look for the comments after the ; but most of them are self explanatory.
[2d]
[3d]
[3d_config]
[bluetooth]
[config]
[debug]
[defaults]
[device]
[feature]
[folders]
[gps]
[interface]
[itiner]
[kml]
[loading]
[local]
[map]
[msnd]
[mydata]
[mydata.tracks]
[navigation]
[other]
[phone]
[poi]
[power]
[rawdisplay]
[route]
[screen]
[settings]
[smartzoom]
[speedcam]
[sound]
[timezone]
[tmc]
[tripcomputer]
[tts]
[usb]
[warning]
Code:
[2d]
guidancearrow_disappearlevel=600
guidancearrow_maxshift=12
minguidancearrowsize=20
minguidancearrowsize_zoomlevel=1200
maxguidancearrowsize=65
maxguidancearrowsize_zoomlevel=0
[3d]
3d_tmc_road_extra_width=200 ;
building_camera_distance_far=500
building_camera_distance_medium=50
building_camera_distance_near=10
disable_3d_labels=0 ;
fade_distance_for_car=50
fade_distance_for_guidance_arrow=500
guidancearrow_contour ;
guidancearrow_first_size=1.1 ; [COLOR="RoyalBlue"][I]scale of 1st arrow[/I] [/COLOR]
guidancearrow_first_alpha=24 ; [COLOR="RoyalBlue"][I]transp of 1st arrow[/I] [/COLOR]
guidancearrow_second_size=0.8
guidancearrow_second_alpha=12
guidancearrow_skew ;
guidancearrow_thickness ;
guidancearrow_width ;
guidancearrow_zoomfactor ;
max_poly_distance_lower
max_poly_distance_upper
max_poly_segments_shown
max_track_distance_lower
max_track_distance_upper
max_track_segments_shown
min_poly_distance
min_poly_segments_shown
min_track_distance
min_track_screen_ratio
min_track_segments_shown
road_clip_plane_camera_delta=50 ;
road_clip_plane_to_camera_height= ;
show_guidance_strip=1
show_guidance_arrows=1
track_screen_ratio
use_all_building_textures=0 ; not?
[3d_config]
disable_roadsign_navigation_mode=1
roadsign_lines_per_screen=12
rotated_roadsigns=1
[bluetooth]
send_showphoneui_on_dial=1
[config]
autoset2donmap=1
autoset3doncockpit=1
hideroadaltname=1
overspeedrewarnbelow=1
SafeModeMinSpeed=40
[debug]
autosave=1
bringtotop_afterresume=1
buildneworderlist=1
cache=2048
compass_type=2
disable_3d=0 ;[COLOR="RoyalBlue"][I]disables 3d buildings and roads [/I][/COLOR]
disable_outlookpoi=1
double_pixel_mode=2 ;[I]3d mode fastdraw[/I]
doublepixel_stable_frame_time=500 ;[COLOR="RoyalBlue"][I]time in ms before leavin fastdraw[/I][/COLOR]
earth=1
enable_buildings=1
enable_landmark_occlusion=1
enable_roadshadow=1
enable_roadsign=1
fov=40
gnome_dem_files=1
hide_itiner_crossing=1
join_dual=0
lang_registry_2006=1loop_sim=1
loop_sim=1
max_memory=
mute_os_key=1 ; [COLOR="RoyalBlue"][I]a value of 1 mutes the click noise from the OS when touching a touchscreen[/I][/COLOR]
no_file_cache="0"
nortc=1 ; [COLOR="RoyalBlue"][I]RTC = real time clock aka the devices internal clock[/I][/COLOR]
pin_sets_start=1
poi_labels=1
replay_tmc=1
reserve_memory
run_on_mio_mantas=1
screen_calibration=1
show_arrows_on_route=1 ;[COLOR="RoyalBlue"][I] little arrows in direction of route [/I][/COLOR]
show_device_type=0
show_gps_pos=1 ;[COLOR="RoyalBlue"] [I]this works again ;O) [/I][/COLOR]
show_lane_info=1
show_ltn=1
show_multinode_maneuvers=1
show_oneway_3d=1 ; [COLOR="RoyalBlue"][I]3d arrows in one way streets [/I][/COLOR]
show_oneway=1 ; [COLOR="RoyalBlue"][I]show one way on or off [/I][/COLOR]
show_pedestrian=1
show_performance=0 ;[COLOR="RoyalBlue"][I] cpu / mem / whatever bars on top of screen[/I] [/COLOR]
show_plural=1
show_poi_areas=1
show_poi_boundingrects=1
show_priority_maneuvers=1
show_prohibited_maneuvers=0
show_rawdisplay_info=0 ; [COLOR="RoyalBlue"][I]handy for seeing what igo chooses as display driver [/I][/COLOR]
show_residentonly=0
show_speed_limit=1
show_turn_penalty=1
show_signpost=1
sim_speed_factor_max=8.0
skip_eula=1 ;[COLOR="RoyalBlue"][I]skips the End User License Agreement at start-up (only happens on first run anyways)[/I][/COLOR]
slowsim=1
smart_2d=1
sound_q_length=200
speedcam_enabled=1
split_dual=0
strap_waypoints=1
supress_highway_enter=0
supress_straight=0
supress_trivial_left=0
supress_trivial_right=0
tmc_all_stations=1 topmost=1
traincrossing=1
tts_expected_engine_delay=1400
tts_getaway_time=200
tts_min_ready_wav=1
[defaults]
mainroadness=60
shortessness=50
simplificationness=40
[device]
type="MIOC210" ;[COLOR="RoyalBlue"][I] force device type [/I][/COLOR]
typeid=3 ;In Igo8.exe: [COLOR="RoyalBlue"][I]MIO device detected, use KernelIOControl method
[/I][/COLOR]
[feature]
text_guidance=1
signpost_coloring=1
tmc_event_coloring=1
tmc_traffic_side=1
[folders]
app="%SDCARD%/iGO8" ; [COLOR="RoyalBlue"][I]change this if applicable [/I][/COLOR]
sdcardpath="\Storage Card"
exe=""
data="\Storage Card\igo" ;[COLOR="RoyalBlue"][I]custom,save [/I][/COLOR]
content="\Storage Card\igo\CONTENT"
textures="custom"
models="custom"
secondary_root="IPAQ\NAV"
[gps]
background_navigation=1
logging=0 ; [I][COLOR="RoyalBlue"]see also mydata.tracks [/COLOR][/I]
port=2
baud=38400
source="nmea"
disable_advanced=0
default_longitude=2.294760 ;[COLOR="RoyalBlue"][I]starting postion on the map before GPS is found.[/I][/COLOR]
[interface]
angleoffset=
autotilt=0
autotilt_minzoom3d=40
autotilt_maxzoom3d=1000
autoscroll_on_click=1
default_poi_icon="Contacts" ;
defaulttilt3d=75000
defaultzoom2d=1000
defaultzoom3d=500
disable_3dstick_labels=1 ;
drive_carefully=0
empty_favorites=1
exit_on_restart=0
laneinfo_signpost_enabled=1
mapfontscale=130 ;[COLOR="RoyalBlue"] [I]for 2d and 3d map[/I][/COLOR]
maxzoom2d=60000 ; [COLOR="RoyalBlue"][I]zoom out level (disabled get you into space ;O) [/I][/COLOR]
minzoom2D=40 ; [COLOR="RoyalBlue"][I]zoom in level 2d[/I] [/COLOR]
minzoomglobe=100000
msgbox_max_width=50
newalignment=1 ;
poi_show_all_btn=1
popup_info=1
resolution_dir="320_240" ; [COLOR="RoyalBlue"][I]tells what resolution to use in a multires skin[/I][/COLOR]
screen_snap_distance=40
showselection=1
show_exit=1 ; [COLOR="RoyalBlue"][I]obvious [/I][/COLOR]
show_gps_config=1
show_minimize=1
show_orientation=1
show_timezoneslider=1 ;
show_tmc_config=1
show_zoombar=1 ; [COLOR="RoyalBlue"][I]also see zoomscale_disappearing [/I][/COLOR]
shutdown_time=0
skin="ui_igo8"
spec_fav_count=4
theme="skin\igo8_plus.zip"
use_big_lang_flag=1
use_spec_fav=1
waypoint_list_ignore_autosource=1
vga=1
Zoom2dpercent=
[itiner]
show_only_ahead_of_car=1
[kml]
default_icon=1
[loading]
loading_bmp="loading.jpg"
progressbar_bmp="loading_progressbar.bmp"
progressbar_x=85
progressbar_y=134
show_progressbar=0
show_statustext=1
supress_straight=0
supress_highway_enter=0
supress_trivial_left=0
supress_trivial_right=0
text_align=1 ;[COLOR="RoyalBlue"][I]Left=0,Center=1,Right=2 and Justify=3[/I][/COLOR]
text_fontcolor=xFFFFFF
text_fontsize=30
text_w=600
text_x=100
text_y=400
traincrossing=1
[local]
; [COLOR="RoyalBlue"][I]Date Format: To select your desired format, delete the ; infront of the format you want and ; in front of the rest (or just delete all of the other lines)[/I][/COLOR]
; Dateformat = 0; YYYY-MM-DD
; Dateformat = 1; AAAA.MM.GG
; Dateformat = 2; YYYY / MM / DD (DEFAULT)
; Dateformat = 3; YYYY-MM-DD
; Dateformat = 4; AAAA.GG.MM
; Dateformat = 5; YYYY / MM / DD
; Dateformat = 6; DD-MM-YYYY
; Dateformat = 7; DD.MM.YYYY
; Dateformat = 8; DD / MM / YYYY
; Dateformat = 9; MM-DD-YYYY
; Dateformat = 10; MM.GG.AAAA
; Dateformat = 11; MM / DD / YYYY
[map]
2dheadup=1
3d_brunnel_shutdown=
3d_buildings=1
3d_buildings_distance=2
3dcarsizemin=5000
3dcarsizemax=10000
3dcarsizemul=30000
3d_dem=1
3d_dem_detail=2
3d_landmarks=1
3d_max_tiltlevel=7500
3d_max_zfar=500
3d_max_zoomlevel=2000
3d_min_zoomlevel=40
3d_roads=1
3d_scale_carmodel=1
3d_tunnels=1
alternative_roadnames=0
auto_nightmode=0 ; [I]see also nightmode [/I]
cross_border_routes=1
follow_gps=1
inertia_on_map_move=1 ; [COLOR="RoyalBlue"][I]sets autoscroll on the map, tends to be buggy though sometimes doesn't stop.[/I][/COLOR]
map_mode="3D"
maxFovRatioForPoly=8
maxPolyDistances0 = 2000
maxPolyDistances1 = 3000
maxPolyDistances2 = 4000
maxPolyDistances3 = 5000
maxTrackDistances0 = 2500
maxTrackDistances1 = 3500
maxTrackDistances2 = 4500
maxTrackDistances3 = 5500
minPolyDistances0 = 500
minPolyDistances1 = 500
minPolyDistances2 = 500
minPolyDistances3 = 500
minTrackDistances0 = 500
minTrackDistances1 = 500
minTrackDistances2 = 500
minTrackDistances3 = 500
roadblockicon_maxzoom=2000
rotation="0"
shields=1
show_labels=1 ;
show_oneway=1 ; [COLOR="RoyalBlue"][I]turns on or off the arrows showing one way streets[/I][/COLOR]
stop_rotate_on_map_move=1
terrain_in_2d=0
textured_poly=1
viewpreset_front1="30,100,7200,10"
viewpreset_front2="140,7000,6000,10"
viewpreset_front3="140,7000,6000,10"
viewpreset_top="600,50000,225,10"
zoomscale_disappearing=1 ;[COLOR="RoyalBlue"] [I]works with show_zoombar[/I][/COLOR]
and some more:
Code:
[msnd]
; [I][COLOR="RoyalBlue"]How does msdn work? Movies, Weather, Petrol prices, etc..... [/COLOR][/I]
msnd.start=0
[mydata]
favicon=""
max_favorites=16
max_histories=40
num_favicons=7
[mydata.tracks]
auto_track_visible=1
record_auto_track=0
tracklog_folder=""
[navigation]
autoreplan_action="AUTO"
gps_pos_to_road=1
show_countrychange=1
show_current_city=1
sim_speed_factor=1.0 [COLOR="RoyalBlue"][I];Determines how fast the simulation runs, 1=realtime[/I][/COLOR]
skip_grab_viewchanging=1
[other]
demo_mode=1
[phone]
driver="TAPI"
exe_path="\Windows\cprog.exe"
win_name="Phone"
[poi]
enable_pois_before_080217=1 ;[COLOR="RoyalBlue"][I]080217 is the date can be changed as needed[/I][/COLOR]
multipoi=1 ;[I]allows you to use more than one set of POIs at a time (will show duplicates though)[/I]
[power]
backlight_day=100
backlight_night=54
backlight_slow_api=1
backlight_sync_with_OS=1
battery_warning_limit=10
powermgm_state=0
power_off_mode=1
power_off_timeout=300
skip_resume_process=1
skip_suspend_process=1
[rawdisplay]
class="landscape" ; [COLOR="RoyalBlue"][I]adjusts the orientation, other options are rlandscape, portrait, square,wide [/I][/COLOR]
driver=GX ;GDI or GX
highres=0
screen_x=320
screen_y=240
stretch=0
[route]
allow_carpool=0
allow_charge=1
allow_ferry=1
allow_highway=1
allow_special=0
allow_unpaved=0
allow_uturn=1
correctness=80 ; [I][COLOR="RoyalBlue"]we used to have a slider for that[/COLOR][/I]
cross_border_routes=1
fast_car_multiplactor
fast_car_speed
motorcycle_multiplactor
motorcycle_speed
planned_route_weight=7
route_type="ECO"
scenic_highway_weight=4
scenic_scenic_weight=2
slow_car_multiplactor
slow_car_speed
tmc_weight=6
vehicle_type="truck"
[screen]
current_background="default.bmp"
focus=1
focus_activator_key
focus_color
focus_followlinks
focus_halign
focus_sprite
focus_type=2
focus_valign
focus_list_keydown
focus_list_keyleft
focus_list_keyright
focus_list_keyup
focus_list_move_before_scroll
menu_animation=0
nightmode=0
[settings]
accident_map=1
accident_panel=1
accident_recalc=0
closed_map=1
closed_panel=1
closed_recalc=0
closures_map=1
closures_panel=1
closures_recalc=0
congestion_map=1
congestion_panel=1
congestion_recalc=0
danger_map=1
danger_panel=1
danger_recalc=0
heavy_map=1
heavy_panel=1
heavy_recalc=0
invalid_map=1
invalid_panel=1
invalid_recalc=0
police_map=1
police_panel=1
police_recalc=0
roadworks_map=1
roadworks_panel=1
roadworks_recalc=0
weather_recalc=0
weather_map=1
weather_panel=1
[smartzoom]
autozoom_address=100
autozoom_coord=200
autozoom_cos=200
auto_follow_on=1
auto_follow_time=10
auto_smartzoom_time=8
default_visibility_altitude=4000
enabled=1
enabled2d=1
maxangle=85
maxzoom=250
minangle=8
minzoom=60
overview=0
overview_distance=20000
overview_zoomlevel=10000
restore_smartzoom_on=1
use2d=1 ;[COLOR="RoyalBlue"][B]use2d is to use separate smartzoom for 2d and 3d. Once this is implemented in a UI it should be set to 1. [/B][/COLOR]
zoom_after_find=1
[speedcam]
disable="_SUI", "_GER", "_AUT"
enable_at_startup=1
speedcam_sound="!alert1"
usemio=-12,90,37,27
[sound]
auto_mute=0
ding=0
device_bps=
device_samplerate=
device_stereo=
dynamic_volume_maxspeed=100
dynamic_volume_minspeed=40
dynamic_volume_os_volume_max=255
dynamic_volume_type=1
dynamic_volume_voicemaxspeed=80
dynamic_volume_voice_volume_max=100
incomingcallsetting=0
queue_length=200
sound_volume=255
sound_muted=0
suspend_time=5 ;[I][COLOR="RoyalBlue"]timeout for wavedev to goto sleep [/COLOR][/I]
use_os_volume=1
voice_muted=0
voice_volume=255
[timezone]
auto_index=29
default_timezone=29 ; [I][COLOR="RoyalBlue"]GMT+1 amsterdam[/COLOR][/I]
index=29
manual_dst=0
reset_os_timezone=0
sync_os_timezone=0
sync_time=1
use_auto=1
[tmc]
auto_detour_calc=0
;announce_total_route=1
baud=38400
ignore_all_events=0
port="COM,1"
source="gns"
;[I][COLOR="RoyalBlue"]harman eten galik opentmc2 opentmc1 hyundai samsung amaryllo royaltek gns [/COLOR][/I]
[tripcomputer]
num_of_trips=4 ; default igo8 has only 3
[tts]
always_say_road_names=1
announce_exit_directions=1
announce_street_name=1
priority="HIGH"
skip_exit_numbers=0
tts_buffer=131072
tts_logics=3
[usb]
disable_on_startup=0
enable_on_shutdown=1
quitmap_msg_quits=0
[warning]
approach_beep_distances=200
approach_beep_sound="!sectionbeepB"
max_section_time=240
overspeed_sound= "!alert3" ; speedcam sound
pedestrian_warning=0
pedestrian_warning_threshold=10
section_beep_distance=200
section_beep_sound= "!sectionbeepA"
section_end_sound= "!sectionend"
section_start_sound="!sectionstartA"
speedcam_maxdistance_from_road=
speedcam_max_angle=20
speedcam_max_lookahead=400
speedcam_snap_distance=200
speedcam_soundtype=1
speedcam_visualtype=1
speedcam_warning=1
speedlimit_warning=1
speedlimit_warning_visual=1
speedlimit_warning_voice=1
speedwarn_alt_builtup_based=1
speedwarn_alt_limit
speedwarn_alt_tolerance
speedwarn_tolerance=110
speedwarn_alt_toltype
speedwarn_toltype
warn_distances=130:450,110:350,90:300,60:200,40:10 0 ;[B]These numbers are apparently in the format of Speed:Distance[/B].
An important setting for the Touch HD:
[device]
type="HTC Touch HD T8282"
I am using the latest iGO8 and I don't use an sys.txt?
niels_90 said:
I am using the latest iGO8 and I don't use an sys.txt?
Click to expand...
Click to collapse
are you absolutely sure about that? sys.txt is like the bible for iGo. it is where you can change almost everything in the app to suit your needs. if it's working without it you may be using the factory settings which are not optimal.
@everyone: guys, i'm nearly finished re-editing the sys.txt with all the additions provided and will update the post #2 later today.
@KukurikU: why some of the itens in the screen, sound and 3d have no parameters? an example is focus_activator_key, shouldn't it be focus_activator_key=NNN?
easyriider said:
An important setting for the Touch HD:
[device]
type="HTC Touch HD T8282"
Click to expand...
Click to collapse
This is very interesting. I have seen that some people are using type="Touch HD", some have even suggested using type="ALIAS XPERIA"
I looked in the latest "data file" that I could find, and under the subdirectory config\devices I found only one config file that relates directly to the Touch HD and it is called:
ALIAS_BLACKSTONE
I just started using this line type="ALIAS_BLACKSTONE" and with a ; in front of almost all of the entries in my sys.txt file to make them inactive. Everything is working great so far including landscape/portrait. I looked in the file and there wasn't much in it but I figure at least I actually found a file name that corresponded to the HD in the list.
Matterhorn said:
... I found only one config file that relates directly to the Touch HD and it is called:
ALIAS_BLACKSTONE
I just started using this line type="ALIAS_BLACKSTONE" and with a ; in front of almost all of the entries in my sys.txt file....
Click to expand...
Click to collapse
that is definitely an important info. using the default settings for a specific model would suit a lot of users.
sys.txt's main job is tweak the app to optimize the experience. editing it wisely would make the whole thing much better.
This is the contents of the ini file from the latest DATA.zip file for the Touch HD.
info_names="HTC Blackstone"
[device]
SDCard_dsk_num=7
[gps]
port = 4
baud = 9600
[rawdisplay]
highres=0
autoconfig=1
As you can see, the rawdisplay settings are the important ones to control the size of screen. My iGO8 uses a baud rate of 56000 so id rather not use the ini file.
SlakerBoi said:
are you absolutely sure about that? sys.txt is like the bible for iGo. it is where you can change almost everything in the app to suit your needs. if it's working without it you may be using the factory settings which are not optimal.
Click to expand...
Click to collapse
Yes i'm absolutely sure.
In version v8.3.2.64873 and lower you need a sys.txt where you need to tell iGO that it should use 800x480 graphics etc etc.. I am using v8.3.2.80621 and the only setting sys.txt contains is:
Code:
[interface]
show_exit=1
It automatically detects your device and configures itself. I am using it for a few weeks now and there is no need for adding settings because it's working perfect
I have a data.zip with in the map config/devices a file with the name "HTC Touch HD T8282.ini" with the following content:
info_names="HD"
[device]
SDCard_dsk_num=7
[gps]
port="4"
baud="57600"
[rawdisplay]
highres=0
autoconfig=1
driver="gdi"
[power]
backlight_manage_values = 1
backlight_manage_keys = 1
backlight_max = 10
backlight_min = 1
backlight_reverse = 0
backlight_key_bright_BA1 = "Brightness"
backlight_key_bright_AC1 = "ACBrightness"
backlight_key_bright_BA2 = "BacklightLuminanceLevel"
backlight_key_bright_AC2 = "ACBacklightLuminanceLevel"
backlight_key_timeout_BA = "BatteryTimeout"
backlight_key_timeout_AC = "ACTimeout"
backlight_key_ontap_BA = "BacklightOnTap"
backlight_key_ontap_AC = "ACBacklightOnTap"
backlight_key_on_BA = "OnOff"
backlight_key_on_AC = "ExtOnOff"
backlight_methods = 25
backlight_events = 3
[interface]
use_big_lang_flag=1
In sys.txt in version v8.3.2.80621, I only have:
[folders]
app="%SDCARD%/iGo8"
[device]
type="HTC Touch HD T8282"
(If you have installed iGO in the device memory it is important that you edit the sys.txt at that location instead of the sys.txt on the sdcard)
hi,
i've added all the new lines and the sys.txt file became way too big to fit in a post. it can be found in a zip file in doc, xls or txt.
it took me so long to post the additions simply because a few lines were making my blackstone crash and i had to work out which one.
as you can see in the files, a lot of lines are lacking explanation. please let's work on it a bit more, mates.
and thank you again for the inputs.
OK, If you want to stop the "route recalculation" voice, under [TTS] in your sys.txt file add = recalculate=0.
Ive just tried it this morning and it works fine.
Finally got rid of that annoying voice.
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Ethania said:
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Click to expand...
Click to collapse
are you sure this is not a bug in the version you're using? i have recently been to portugal where the words have accents such as çãâáàü and everything worked just fine. i'm still using the version 8.3.2.64873.
Ethania said:
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Click to expand...
Click to collapse
i found the solution!
Add this to sys.txt
[device]
Type="ALIAS_TOUCH HD"
sdcard_dsk_num=7
The only problem I'm having is that iGO doesn't respond when I press the hardware sound buttons. Nothing happens..
I'm using the latest version with no sys.txt, but I used a lot of sys.txt earlier when I used older versons. And there was the same problem. I'm using custom roms. Maybe that's the problem, because when I used stock rom I didn't have the problem.
Anyone having a solution?
This thread is mainly intended for developers - it's a proof-of-concept to show a new approach to the classic background for all tabs mod.
This is only a proof-of-concept and I won't develop it further because I don't use BG4all myself. But my hope is that the basic concept will be helpful to others, and that it will develop from there.
Traditionally the mod is made by moving the "HomeBackgroud" instance from home.mode9 to manila.mode9. The problem with this is that those are 2 of the most important mode9 files in manila, so they are also needed for a lot of other manila mods.
The result of this is that other mods now have to be made in 2 version: one with bg4all and one without. Also, if a new manila build changes one of the mode9s, the bg4all mod needs to be remade.
A different way of doing it is thought the lua scripts. Specifically only one script needs to be modified to make bg4all: homebackground.luac.
This way no mode9 files are modified so bg4all can be compatible with a lot of other mods. This way mods don't have to be redone to include bg4all.
I've included the lua source of the modified homebackground.luac for manila 2.5 with comments about what’s been changed, but you can also compare it to the original to get a better idea. At the bottom is a ready-made cab with bg4all for manila 2.5.
Here's the lua code:
Code:
-- Decompiled using luadec 3.2
-- File name: 090a4ee8_manila -- \windows\htc\home\scripts\HomeBackground.luac
require("asyncimageloader")
require("shell_svc")
CachedImagePath = "\\Windows\\HomeBackground.img"
HomeBackground.Opacity.value = 0
-- Home Background is not needed at all, so it should be made invisible
-- and we can forget about it from here on
-- from this point on anything that operated on HomeBackground is replaced with BackGroundLevel0
-- compare with the original 090a4ee8_manila to see the differences
-- BackGroundLevel0 is the default manila background that appears on all tabs
InterpolateOpacity = function(l_1_0, l_1_1)
l_1_1.Opacity:Interpolate(l_1_0, 20, 0, Interpolate_EaseOutQuad)
end
BackgroundWidth = 480
BackgroundHeight = 696
LoadDefaultBackground = function()
InterpolateOpacity(0, BackGroundLevel0)
if HomeTitleBar ~= nil then
HomeTitleBar.Opacity.value = 0
_application.Navigation.TabTrayOpacity = 100
end
end
BackgroundImageLoaded = function(l_3_0, l_3_1)
if l_3_0 then
if l_3_1 == 1 then
BackGroundLevel0.TextureCoords.width = l_3_0.TextureCoords.width
BackGroundLevel0.TextureCoords.height = l_3_0.TextureCoords.height
local l_3_2 = l_3_0.TextureCoords.width * l_3_0.Image.Width
local l_3_3 = l_3_0.TextureCoords.height * l_3_0.Image.Height
_StoreImageWidth = l_3_2
_StoreImageHeight = l_3_3
local l_3_4 = l_3_2 / BackgroundWidth
local l_3_5 = l_3_3 / BackgroundHeight
if l_3_4 < l_3_5 then
BackGroundLevel0.Size.height = l_3_3 / l_3_2 * BackgroundWidth
BackGroundLevel0.Size.width = BackgroundWidth
else
BackGroundLevel0.Size.width = l_3_2 / l_3_3 * BackgroundHeight
BackGroundLevel0.Size.height = BackgroundHeight
end
BackGroundLevel0.Position.x = (BackgroundWidth - BackGroundLevel0.Size.width) / 2
BackGroundLevel0.Position.y = 696 - (BackgroundHeight - BackGroundLevel0.Size.height) / 2 -- +696 is added here because the BG0's camera y-axis is set at the bottom, while Home's camera was set at the top
BackGroundLevel0:SetTexture(l_3_0.Image)
InterpolateOpacity(100, BackGroundLevel0)
if HomeTitleBar ~= nil then
local l_3_6 = _application.Store:GetIntValue(Lifetime_Application, "ShowCacheHomePage")
if l_3_6 == 1 then
HomeTitleBar.Opacity.value = 60
_application.Navigation.TabTrayOpacity = 60
end
end
else
LoadDefaultBackground()
end
collectgarbage("collect")
BackgroundAsyncImageLoader = nil
elseif _StoreImageWidth and _StoreImageHeight then
local l_3_7 = _StoreImageWidth / BackgroundWidth
local l_3_8 = _StoreImageHeight / BackgroundHeight
if l_3_7 < l_3_8 then
BackGroundLevel0.Size.height = _StoreImageHeight / _StoreImageWidth * BackgroundWidth
BackGroundLevel0.Size.width = BackgroundWidth
else
BackGroundLevel0.Size.width = _StoreImageWidth / _StoreImageHeight * BackgroundHeight
BackGroundLevel0.Size.height = BackgroundHeight
end
BackGroundLevel0.Position.x = (BackgroundWidth - BackGroundLevel0.Size.width) / 2
BackGroundLevel0.Position.y = 696 - (BackgroundHeight - BackGroundLevel0.Size.height) / 2 -- +696 same as before
end
end
BeginLoadBackgroundImage = function(l_4_0)
if Shell_HaveDRMRightsToFile(machineStatus.HomeBackgroundPath.Value, false) then
BackgroundAsyncImageLoader = AsyncImageLoader()
BackgroundAsyncImageLoader.Priority = TaskPriority_Normal
BackgroundAsyncImageLoader.OnComplete:connect(BackgroundImageLoaded)
BackgroundAsyncImageLoader:BeginLoadFile(l_4_0, false, true)
else
machineStatus.HomeBackgroundPath.Value = ""
machineStatus.CachedBackgroundPath.Value = ""
LoadDefaultBackground()
end
end
BackgroundImageResized = function(l_5_0, l_5_1)
if l_5_1 == 1 and machineStatus.HomeBackgroundPath.Value ~= "" then
machineStatus.CachedBackgroundPath.Value = machineStatus.HomeBackgroundPath.Value
BeginLoadBackgroundImage(CachedImagePath)
else
LoadDefaultBackground()
BackgroundAsyncImageLoader = nil
end
collectgarbage("collect")
end
machineStatus_OnCustomBackgroundUpdate = function()
if _config_os == "windowsmobile" then
local l_6_0 = machineStatus.HomeBackgroundPath.Value
local l_6_1 = machineStatus.CachedBackgroundPath.Value
if l_6_0 ~= l_6_1 then
if BackgroundAsyncImageFactoryLoader ~= nil and BackgroundAsyncImageFactoryLoader:IsRunning() then
BackgroundAsyncImageFactoryLoader = nil
collectgarbage("collect")
end
if BackgroundAsyncImageLoader ~= nil and BackgroundAsyncImageLoader:IsRunning() then
BackgroundAsyncImageLoader = nil
collectgarbage("collect")
end
if l_6_0 == "" then
machineStatus.CachedBackgroundPath.Value = machineStatus.HomeBackgroundPath.Value
LoadDefaultBackground()
else
BackgroundAsyncImageFactoryLoader = AsyncImageFactoryLoader()
BackgroundAsyncImageFactoryLoader.Priority = TaskPriority_BelowNormal
BackgroundAsyncImageFactoryLoader.Quality = 100
BackgroundAsyncImageFactoryLoader.OnComplete:connect(BackgroundImageResized)
BackgroundAsyncImageFactoryLoader:ResizeImage(machineStatus.HomeBackgroundPath.Value, CachedImagePath, EncoderType_JPEG, 512, 512, true, false)
end
elseif l_6_1 ~= "" then
BeginLoadBackgroundImage(CachedImagePath)
else
LoadDefaultBackground()
end
else
LoadDefaultBackground()
end
end
if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" then
require("RotationTemplate")
HomeBackground_ScreenRotation = class(RotationTemplate)
HomeBackground_ScreenRotation.__init = function(l_7_0)
RotationTemplate.__init(l_7_0)
trace("+++++++[HomeBackground] : __init")
end
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
BackgroundImageLoaded(nil, nil)
end
end
if _config_os == "windowsmobile" then
if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" then
_HomeBackground_ScreenRotation = HomeBackground_ScreenRotation()
end
machineStatus.HomeBackgroundPath.OnValueChanged:connect(machineStatus_OnCustomBackgroundUpdate)
_application.OnOrientationChanged:connect(machineStatus_OnCustomBackgroundUpdate) -- needed for correct rotation
machineStatus_OnCustomBackgroundUpdate()
end
I just wanted to say THANKS! for all you work on the community and tell you what a great find you did "it looks so obvious to do it that way now" also THANKS! on your work on the decompiler many mods would not have been made without it.
By the way THANKS! again
nice, thank you
Perfect, once again a fantastic mod from you!
Thanks a million
Thanks a lot cookiemonster. Any plans to do one that also works to assign landscape wallpaper?
edit* Just tried it on landscape manila and doesnt work at all. Just get plain black background in portrait and landscape.
Awesome. So does this method keep the animated weather on sense 2.1? Could you cab that up PLEASE!!!!!
Superboy007 said:
I just wanted to say THANKS! for all you work on the community and tell you what a great find you did "it looks so obvious to do it that way now" also THANKS! on your work on the decompiler many mods would not have been made without it.
By the way THANKS! again
Click to expand...
Click to collapse
Wow, that's 3 very big thanks' I'm very glad I can contribute to the community.
kwill said:
Thanks a lot cookiemonster. Any plans to do one that also works to assign landscape wallpaper?
edit* Just tried it on landscape manila and doesnt work at all. Just get plain black background in portrait and landscape.
Click to expand...
Click to collapse
You're referring to manila 2.5.1922.2911, right?
That one also needs the manila.mode9 to work, but that's only because it has a built in bug in it's original manila.mode9. (I've made a cab for it here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47)
Now, it might seem a little contradictory, that in the first post I say "no need to modify the mode9s", and now I'm saying 2.5.1922.2911 needs a mode9. But, believe me 2.5.1922.2911 is an exception rather than the rule. That version is bugged, and it's the only reason it needs the mode9 to work.
rjmjr69 said:
Awesome. So does this method keep the animated weather on sense 2.1? Could you cab that up PLEASE!!!!!
Click to expand...
Click to collapse
I've made some cabs here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47
I haven't tested the animated wallpaper, only the regular. This is only a proof-of-concept and I won't develop it further because I don't use BG4all tabs myself (I prefer making better quality wallpaper with HDWall).
But my hope is that the basic concept will be helpful to others, and that it will develop from there.
Thanks Man,
A great new applicaiton. It also works for me Many Thanks
Co0kieMonster said:
Wow, that's 3 very big thanks' I'm very glad I can contribute to the community.
You're referring to manila 2.5.1922.2911, right?
That one also needs the manila.mode9 to work, but that's only because it has a built in bug in it's original manila.mode9. (I've made a cab for it here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47)
Click to expand...
Click to collapse
Thanks much cookiemonster! I'm actually getting used to not using bg4all too. Manila runs much smoother without. Maybe I'll make some high quality walls with hdwalls also. But, it doesnt work on manila 2.5.1922 does it?
edit** Ok, now this was kind of weird. Installed the cab and all was fine, til I switched to landscape and back. My wallpaper disappeared after that, never to return Naw, after soft reset, it came back. But, same thing keeps happening.
If not here, i dont know a better place to get capable people that could MAYBE help me on this matter.
I am Using the "old" Tf3d (not leo) on my X1 and i came across a pretty sad thing.
TF3D scales down the Wallpaper and makes it look worse. I made a mod for a self changing wallpaper for tf3d so i got into the lua files quite a bit half a year ago.
So my questions are:
Do you have any idea where the image is scaled down in the lua code?
can you think of any workaround to get a better image quality?
I think this would make it SO SO SO much better, as the images in full quality look just stunning..and on tf3d they look just blurry.
And another brief question, did the lua decompilers got better?..half a year ago almost any big lua file could not be decompiled properly..and so could not be changed at all.
thank you in advance,
Daranus
kwill said:
Thanks much cookiemonster! I'm actually getting used to not using bg4all too. Manila runs much smoother without. Maybe I'll make some high quality walls with hdwalls also. But, it doesnt work on manila 2.5.1922 does it?
edit** Ok, now this was kind of weird. Installed the cab and all was fine, til I switched to landscape and back. My wallpaper disappeared after that, never to return Naw, after soft reset, it came back. But, same thing keeps happening.
Click to expand...
Click to collapse
HDWall works with 1922, but my patch for that version needs to be applied.
The landscape problem: As I've said, it's just a proof-of-concept and I won't develop it further. Anyone who wishes to do so: In order to fix the landscape problem, the BackGroungLevel0 texture needs to be reapplied in the rotation function.
Daranus said:
If not here, i dont know a better place to get capable people that could MAYBE help me on this matter.
I am Using the "old" Tf3d (not leo) on my X1 and i came across a pretty sad thing.
TF3D scales down the Wallpaper and makes it look worse. I made a mod for a self changing wallpaper for tf3d so i got into the lua files quite a bit half a year ago.
So my questions are:
Do you have any idea where the image is scaled down in the lua code?
can you think of any workaround to get a better image quality?
I think this would make it SO SO SO much better, as the images in full quality look just stunning..and on tf3d they look just blurry.
Click to expand...
Click to collapse
It's scaled down to 512X512 in the homebackground.lua script.
One workaround is to make it use 480x800 jpegs or pngs, but that still isn't optimal because Manila displays those formats with some kind of dot artifacts.
The best quality solution is to use Manila's native QTC format, but you have to make your wallpapers with HDWall: http://forum.xda-developers.com/showthread.php?t=503511
Daranus said:
And another brief question, did the lua decompilers got better?..half a year ago almost any big lua file could not be decompiled properly..and so could not be changed at all.
thank you in advance,
Daranus
Click to expand...
Click to collapse
I've been developing LuaDec recently and made a lot of improvements - it can decompile more than 90% of all Manila script. The link to the tool is in my signature.
very goog , thanks.
hej Co0kie!
does this one work with your 16-20 Quicklinks/Appointments beta_1.5?
the QL app is a sure nomination for some HTC price. I'm getting used to not having a B4all, but would be sooo nice to have this working too
dXsL said:
hej Co0kie!
does this one work with your 16-20 Quicklinks/Appointments beta_1.5?
the QL app is a sure nomination for some HTC price. I'm getting used to not having a B4all, but would be sooo nice to have this working too
Click to expand...
Click to collapse
I just checked it and it's working fine with v1.5beta2. (on Manila 2.5.1922.3829)
And I really don't see why it should be causing any problems. The two mods use different files.
Co0kieMonster said:
The landscape problem: As I've said, it's just a proof-of-concept and I won't develop it further. Anyone who wishes to do so: In order to fix the landscape problem, the BackGroungLevel0 texture needs to be reapplied in the rotation function.
Click to expand...
Click to collapse
Anyone have done this?
I have tried doing it myself. I have modified
Code:
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
[B]BeginLoadBackgroundImage(CachedImagePath)[/B]
end
Whithout luck... any hints why this is not working?
Thank you for your answer!
That doesnt sound good..i personally use S2U2 now, as the wallpapers there look just stunning..it's a shame that we cannot get it to work properly within manila...do you know if it is the same issue with version 2.5 cookiemonster?
Wow thats awesome..when i was developing a bit stuff it was just a pain in the ass because almost every big manila file couldnt be edited..
Big props to you mate, great great work, greatly appreciated!!!..maybe i will take a look at it again nuw...as making wallpapers like that sucks..and i think it wouldnt work with my bg changer mod....anyways, thank you man!!!!!!!!!!!!!!!!!!!
Edit: Yup, i will definitely try to figure something out there..is there any "comfortable" way to work with your new luatool thingy?..i only saw 12's kitchen and that is not using a new version and is not that easy configurable to use your new thing there...
atm i search for the asyncimageloader but didnt find a way to properly search for it *laughs*..i have to get into this stuff again for real..
mac_es said:
Anyone have done this?
I have tried doing it myself. I have modified
Code:
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
[B]BeginLoadBackgroundImage(CachedImagePath)[/B]
end
Whithout luck... any hints why this is not working?
Click to expand...
Click to collapse
Not sure why that doesn't work. I'll do some testing this weekend to try to find out.
Daranus said:
Thank you for your answer!
That doesnt sound good..i personally use S2U2 now, as the wallpapers there look just stunning..it's a shame that we cannot get it to work properly within manila...do you know if it is the same issue with version 2.5 cookiemonster?
Click to expand...
Click to collapse
It's the same thing on 2.5 as previous versions.
Daranus said:
Wow thats awesome..when i was developing a bit stuff it was just a pain in the ass because almost every big manila file couldnt be edited..
Big props to you mate, great great work, greatly appreciated!!!..maybe i will take a look at it again nuw...as making wallpapers like that sucks..and i think it wouldnt work with my bg changer mod....anyways, thank you man!!!!!!!!!!!!!!!!!!!
Edit: Yup, i will definitely try to figure something out there..is there any "comfortable" way to work with your new luatool thingy?..i only saw 12's kitchen and that is not using a new version and is not that easy configurable to use your new thing there...
atm i search for the asyncimageloader but didnt find a way to properly search for it *laughs*..i have to get into this stuff again for real..
Click to expand...
Click to collapse
12aon and hilaireg are working on an updated kitchen. It should be easier to get things done once it's out.
Co0kieMonster said:
Not sure why that doesn't work. I'll do some testing this weekend to try to find out.
Click to expand...
Click to collapse
Great! Thank you very much!
Hi there, I still cannot find the cab to make M2.5.2011303 to work for background-for-all. Can somebody have a hint there ? Thanks
This one works
http://forum.xda-developers.com/attachment.php?attachmentid=274664&d=1264873157
Hi folks,
I found a way to add extra "alternate" keys to the WP7 keyboard. For example, when you press-and-hold on . you get the ability to intead insert ! or ? or -. Now, those are all very nice, but the , key has no such expansion, and there's no easy way to get to the ; ' " keys... so I added them as expansions on the , key.
The problem is, this doesn't work on Mango. I can still apply the changes (using ProvXML) but it seems that the registry key I need to set has moved. Since registry browsing doesn't work anymore, I don't know where that key went.
If somebody can look at a Mango registry dump or something and find out, that would be fantastic. I think the addition of user-switchable keyboard layouts is probably the source of the issue, but I'm not sure. The original provXML (works in NoDo), with path highlighted, is
<characteristic type="HKLM\Software\Microsoft\FingerKB\AlternateMappings">
<parm name="," value=";'"()" datatype="multiplestring" />
</characteristic>
Nobody? I really loved having this tweak on NoDo but without registry browsing I can't tell where it went. If somebody has some way to dump the relevant section of the registry from a Mango phone, that would be much appreciated!