Hello,
I have worked a lot from yesterday to today on the code and i obtain now the pictures attached !!!
As you can see , the screens are now well in 1024 .
The screen picture are always the Crawings but at the end we will have iCarDS screen format !
I have always an issue with the slider:
I define it into the screen like that:
Код:
S02,725,58,102,14,421,58,102,14,H,"Sliders\bar.png",,60,"MOBILEPHONE_BATTERYSTRENGTH",""
S01,458,58,102,14,151,58,102,14,H,"Sliders\bar.png",,60,"MOBILEPHONE_SIGNALSTRENGTH",""
It is correct ?
and my VB.NET code is:
Код:
Public Function ReturnSlider(ByRef SLD As String) As Integer
'This tells RR that the Slider was not processed in this plugin
ReturnSlider = -1
Select Case LCase(SLD)
Case "mobilephone_batterystrength"
ReturnSlider = Math.Truncate(hfpBatteryPct * 65535 / 100)
Case "mobilephone_signalstrength"
ReturnSlider = Math.Truncate(hfpSignalPct * 65535 / 100)
Case "songpos"
Case "mobilephone_avrcp_trackpos"
'If avrcpTrackPos >= 0 And avrcpTrackLen >= 0 Then
' Dim posSpan As New TimeSpan(0, 0, avrcpTrackPos)
' Dim lenSpan As New TimeSpan(0, 0, avrcpTrackLen)
' AVRCP_lblAVpos = "Pos: " & posSpan.Minutes & ":" & Format(posSpan.Seconds, "00") & " / " & lenSpan.Minutes & ":" & Format(lenSpan.Seconds, "00")
'End If
ReturnSlider = Math.Truncate(avrcpTrackPos * 65535 / avrcpTrackLen)
End Select
I upload the last dll and screens (1024x600) for test !!!!
See the first post please !
Thanks for any help !