[Windows Mobile Development and Hacking General] Z80-Man:
Hi ! :)

I haven't read the whole topic yet (so maybe you fixed it already), but I downloaded the CAB from the first page, and I have a few remarks, a request, and a few questions, please. :)

Remarks :

1) In your original CAB, SenseUtil CallHistory Add.lnk is empty !

This is its contents :

54#"\Windows\SenseUtil\SenseUtil.exe"

... Instead of :

54#"\Windows\SenseUtil\SenseUtil.exe" add 35F38534_manila

(the string length header was actually OK :p)

2) The "eReader" and "TV Player" XML files have fixed tabs names instead of language customizable "[[IDS_READER]]" and "[[IDS_MANILATV]]"

Request :

3) Having modified the XML files, I also tried to put the [[tags]] in the titles, but with no success, as your program just displays them as they come ! :p

Well, it's not that important, but since I like to use a perfect ROM, I translated them all... But it's not portable ! ;)

Do you think it would be possible, or is it too complicated to get the translated tags from Sense ? :)

Questions :

I actually discovered there were two different Manila TV tabs around ! :eek:

There's one from HTC, that we could name "Manila TV", and that seems to have been made specifically for phone operators...

And the one from Netdrg, allowing to use free webTVs, and that we should call "XDA TV".

I discovered the XML files for the tabs were actually completely different ! The official HTC one calls a Mode9 program, while netdrg's calls a LUAC script.

Here is yours :

<?xml version="1.0" encoding="utf-8"?>
<Tab>
<Details Name="Manila TV" Author="HTC" Type="CoreExt" Url="" UpdateUrl=""/>
<Filename Name="129DE958_manila" FilePath="\windows\" ManilaPath="HTC\ManilaTVPlayer.mode9"/>
<Manila>
<Page Order="" Name="ManilaTVPlayer.page" PackageName="HTC" Title="[[IDS_MANILATV]]">
<ComponentReference Name="page" Mode9Path="HTC\ManilaTVPlayer.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\manilatvicons.mode9" Component="ManilaTV_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\manilatvicons.mode9" Component="ManilaTV_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\manilatvicons.mode9" Component="ManilaTV_Preview" />
</Page>
</Manila>
</Tab>

(well, it's yours with the "[[IDS_MANILATV]]" tag fixed, actually :D)

... While here is his :

<?xml version="1.0" encoding="utf-8"?>
<Tab>
<Details Name="XDA TV" Author="netdrg" Type="Custom" Url="http://xdaforums.com/showthread.php?t=534185" UpdateUrl=""/>
<Filename Name="129DE958_manila" FilePath="\windows\" ManilaPath="HTC\Manilatv\favorites.mode9"/>
<Manila>
<Page Order="" Name="manilatv.page" PackageName="HTC" Title="[[IDS_MANILATV]]" ExternalScriptPath="HTC\Manilatv\Scripts\manilatv.luac">
<ComponentReference Name="page" Mode9Path="HTC\Manilatv\favorites.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\manilatvicons.mode9" Component="ManilaTV_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\manilatvicons.mode9" Component="ManilaTV_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\manilatvicons.mode9" Component="ManilaTV_Preview" />
</Page>
</Manila>
</Tab>

I tried to just replace yours by the second version and to add the tab after having installed the necessary files, but this is what I got :

- SenseUtil apparently couldn't detect the TV tab though the files were installed (I use a CAB without any tab definition, so I just have to add them afterwards) ;

- I forced it anyway, and got a warning ;

- I restarted Sense, and it just crashed ! :D

- Then I just installed my small CAB containing the correct tabs definitions including the ones I was using (including the new Documents tab CAB I made) and Netdrg's XDA TV, and all went OK. :)

I regret I didn't take the time to save the produced 26948339_manila... But something went wrong.

My tabs adding CABs contain the 26948339_manila file plus all the [HKEY_LOCAL_MACHINE\Software\HTC\Manila\Configuration] registry keys in matching order, so the system is up and running in a snap.

The problem is of course it becomes more and more painful to make them all as I add more tabs... So SenseUtil is the answer, IMO. :p

Anyway, my questions are :

4) Have you got any idea why the tab wasn't recognized, though I put its correct definition in the XML file ?

5) Do you think it would be possible to add the two kinds in the list, so people could choose between official HTC Manila TV and XDA Manila TV tabs ? And BTW, I'm thinking about turning it into a "Media Center" tab. :)

6) And then, what xxxxxxxx_manila name should the other XML file wear ? :p

7) Do you think you'll add the GPS tracker / Go-Horizont tab, too ? :)

I admit I'm a bit afraid to install it right now... Tab addition seems to be done by a program... Not sure it will cope with the actual existing tabs, though it looks like it will.

Anyway, translation is uncomplete : XML tags link to absent Manila files for some languages, including mine. I'll first sort it all out, then add the missing files (I began already, duplicating and renaming English files and filling in all the French labels), and make a full WWE + French version (maybe some english files would be missing too, and I'll probably have to make them out of the Russian files ! :p)...Then I'll extract the added XML definition for this tab from the modified 26948339_manila file... Provided the process won't crash Sense ! :p

Waiting for your thoughts and comments. :)

Cheers !