6.5 Widget Creation - Windows Mobile Development and Hacking General

For those that have successfully created Widgets for WM 6.5, I need a little assistance.
I followed this guide (http://www.mobilitydigest.com/how-to-make-a-wm-65-widget/) and tried to create a couple of widgets. In fact, I first tried to just edit the config.xml and widget.htm files for a couple of the widgets already created to use different urls. In all cases I get an error in widget manifest. Installing the widgets they created works (I know I have widgets on my 6.5 ROM). I suspect that the issue is either saving the file in notepad (this seems unlikely) or the creation of the .wgt file. I tried zipping the files with both Windows Vista compression and 7 Zip. Neither allowed for the widget to install. I am not zipping with a folder in the compressed file, just the three files from the guide. Has anyone else had this problem? What am I missing?

did you compress the file, and change the extension from ".zip" to ".wgt"
?

me
I am also having problems i get an error message. http://www.fuzemobility.com/how-to-make-a-wm-65-widget/

post your files. it could be an error in the xml.

PearlMikeJam said:
For those that have successfully created Widgets for WM 6.5, I need a little assistance.
I followed this guide (http://www.mobilitydigest.com/how-to-make-a-wm-65-widget/) and tried to create a couple of widgets. In fact, I first tried to just edit the config.xml and widget.htm files for a couple of the widgets already created to use different urls. In all cases I get an error in widget manifest. Installing the widgets they created works (I know I have widgets on my 6.5 ROM). I suspect that the issue is either saving the file in notepad (this seems unlikely) or the creation of the .wgt file. I tried zipping the files with both Windows Vista compression and 7 Zip. Neither allowed for the widget to install. I am not zipping with a folder in the compressed file, just the three files from the guide. Has anyone else had this problem? What am I missing?
Click to expand...
Click to collapse
I am also having the same problem, xml below. If I rename-unzip-rezip-rename an existing widget it will install, the minute I try and make any changes to the config.xml or widget.htm it will not install returning the error "Sorry, this widget is not compatible with this device" I have tried editing the files with notepad and also VS2005, and have tried windows 7 zip, and winrar, any help would be appriciated.
XML from config.xml
<?xml version="1.0" encoding="utf-8" ?>
<widget version="1.0"
xmlns="http://www.w3.org/ns/widgets"
id="">
<name>Howell</name>
<content src="widget.htm" type="text/html" />
<access network="true" />
<icon src="icon.png"/>
<description>
Trial Widget test
http://howellassociates.co.uk
</description>
</widget>
Widget.htm
<html>
<head>
<title>howell</title>
</head>
<body bgcolor="#000000">
<iframe src="http://howellassociates.co.uk" width="100%" height="100%" style="background-color: white;">
<p>An error has occured.</p>
</iframe>
</body>
</html>

Here is an example of one of my widgets that do not work. I took the ESPN Widget from this link (http://www.fuzemobility.com/wm-65-widget-mania/) and just changed the url to be the iphone ESPN page since that is more finger friendly. It will not install, although the original ESPN widget would installed (I tried mine first, so I am sure there was not a conflict of having two of the same widgets).
I did all my editing in Notepad and compressed using the basic Vista compress/zip feature in explorer.
Thanks for the help.
The zip file has the xml, htm and png file, along with the wgt file I created that will not install

@pearlmikejam
ther error is in the xml, more specifically, the url to espn's site in the description.
Output:
"A semi colon character was expected. Error processing resource 'file:///C:/Users/hrhnick/Desktop/config.xml'. Line 12, Pos...
http://m.espn.go.com/wireless/?w=18iu5&e=AWA&iphone="
try removing the link, or shortening it to the the slash right after the wireless. and you should be good!

@avengerpenguin
hmmmmm... i couldnt find anything wrong. it may be the way your packaging and renaming. You did include an icon file too?
also, have you installed 3rd party widgets before? you may need to enable them on your phone with themuzz's cab.

hrhnick said:
@avengerpenguin
hmmmmm... i couldnt find anything wrong. it may be the way your packaging and renaming. You did include an icon file too?
also, have you installed 3rd party widgets before? you may need to enable them on your phone with themuzz's cab.
Click to expand...
Click to collapse
I have successfully installed widgets using themuzz's cab hence my confusion. I used the original icon from the widget I butchered to test this on, but left it as is to avoid changing to many things at once, I will have a look at how I re-pack the files, but this doesnt pose a problem unless I alter something within config.xml or widget.htm
I will continue my fault finding and try and report back later.

hrhnick said:
@pearlmikejam
ther error is in the xml, more specifically, the url to espn's site in the description.
Output:
"A semi colon character was expected. Error processing resource 'file:///C:/Users/hrhnick/Desktop/config.xml'. Line 12, Pos...
http://m.espn.go.com/wireless/?w=18iu5&e=AWA&iphone="
try removing the link, or shortening it to the the slash right after the wireless. and you should be good!
Click to expand...
Click to collapse
Thanks for the reply. I did some experimenting and was able to get this to install wihout a URL in the config.XML file. It does not seem to serve any purpose. Any idea what the parameters are for the urls? Is there a character limit for descriptions?

There's no character limit but some pages simply don't load right. It's a pain. Like FaceBook would not let use choose between the full version and mobile - regardless of the site it decided for us. To test widgets you can try this though: http://widgetemulator.codeplex.com/

PearlMikeJam said:
Thanks for the reply. I did some experimenting and was able to get this to install wihout a URL in the config.XML file. It does not seem to serve any purpose. Any idea what the parameters are for the urls? Is there a character limit for descriptions?
Click to expand...
Click to collapse
I think the url in the config file is purely for the description when installing, but I may be wrong I dont believe that it has any real purpose.

fixed, widget not intended for this device problem
On another note I have solved my problem with the widgets not installing and returning the error message about not being intended for this device.
I appeared to have been making a school boy error when packaging my config.xml,icon, and widget.htm files, I was foolishly "zipping" the folder containing my files rather than selecting the 3 files and sending them to a compressed folder.
For anyone else making this error unless you zip the files directly it causes the config.xml file to not be in the root folder.
Thanks to all those who tried to help.

Thanks AvengerPenguin, you identified the problem I was having, duhh!
Anyway, in celebration, here is my first widget - Ninjawords. It just hyperlinks to the ninjawords.com site for quick dictionary lookups, but a useful little widget for me, and non of that Apple Censorship fluff.
Oh yes, you'll have to download and unzip the wgt as xda-dev's won't let me post wgt files.

Related

Convert to dll files?

Does anyone know how I can convert png or ico files to dll files so that it can be used with SK Shortcut Manager or PocketTweak to create shortcut icons?
I have been searching online for a method for a long time and it appears that the only way to do so is by using Visual FoxPro. However, I don't have this program and there isn't a trial version i can download. (I don't want to spend money buying a program just to make a few dll files for my shortcuts)
I have also tried some other freewares and trial softwares online but none of them are successful.
Any help with this is greatly appreciated. Thanks.
Attached here are the 3 icons i would like to turn into dll files. If anyone know where to get them as dll files, that would be great too.
Loook for ResHacher, it is free!
http://rpi.net.au/~ajohnson/resourcehacker
Bulldog said:
Loook for ResHacher, it is free!
http://rpi.net.au/~ajohnson/resourcehacker
Click to expand...
Click to collapse
just see the link doesn't function.
Nevermind zip file attached. enjoy
Still not working...
i downloaded the program and used the IconDLL.dll file i got from PHM Tools then i changed the icons inside to the one i want. However, I still can't get it to work despit doing that.
What I did after getting the new .dll file with my icon in is use the shortcut creator program I found here. I tried to read other .dll files and i could see the icon but as soon as I use my own .dll file I made (which I put in the /Windows), it crashes the program. I then tried another program, the Strat Menu programs manager and I still could not read my icon.
I even went through all the post in this forum about shortcuts and tried some of the tricks there. I downloaded Microangelo Librarian and attempted to use IconDLL.dll by adding in my own icons (as vijay suggested in an earlier post), however, according to the advice he gave, that should be it and it should've been easy. This wasn't the case because I couldn't save the file as a .dll file since it said that the file is a read only file or is locked. I then tried save as but that only save it as a lib file.
I have been at this for a whole day now. Any advice would be greatly appreciated. Thanks.
** oh and I even tried using SK Shortcut Manager and I still couldn't read the .dll file I made :..(
Hi teresa611
I also use Microangelo Librarian.
what we have to do is just open the program.
1. Drag any icons into blank librarian.
2. Save as *.icl
3. Just rename those *.icl to be *.dll
4. Copy to PPC
5. Enjoy
Hope this help
tried and failed
even tho i changed the name to .dll, when i dragged it into my pda, it's still a librarian file and i was unable to read it. perhaps, i'm doing something wrong if it works for other people.
i'm starting to feel this is more trouble than it's worth. Thanks for the advice tho. If anyone else has any other ideas, please let me know.
teresa611 said:
tried and failed
even tho i changed the name to .dll, when i dragged it into my pda, it's still a librarian file and i was unable to read it. perhaps, i'm doing something wrong if it works for other people.
i'm starting to feel this is more trouble than it's worth. Thanks for the advice tho. If anyone else has any other ideas, please let me know.
Click to expand...
Click to collapse
For me, I have to put .dll into \Windows; otherwise, it is not work.
In addition, you may try using icon_viewer utility to view those dll in order to ensure it is a work dll.
The attach is icon_viewer. Copy to PPC and run.
Thanks. I'll try it later when I get off work. I really hope it works, cause I'm running out of forums to search
problem solved!!
just to refresh this thread and to give others some info if they're stuck with what I was stuck with. I finallt managed to create .dll files and use them in my pda as shorcut icons.
Instead of using Michelangelo Libarian which I am still confused about, I found this great freeware called "BeCyIconGrabber". It allows you to extract icons from .dll and .exe files and you can also load multiple icons there as save it as .dll.
Thanks again to everyone who tried to help

Posible to remove YouTube shortcut from lunch browser place ?

Hello..
is it posible to remove short cuts from internet place from lunching browser ?
i have this issue from cell company which its allready there and i want to remove it .. (( not the youtube tab.. )) the red Airtel Live tab .. also the browser set to be the first page to lunch is www.airtel.in .. and im very annoyed from it .. is there's a way to remove it ? or the abbility to chose which web page that i want to lunch once i press on lunch browser ???
thx
any solution ???
I need a tab removed too, it's so annoying to press everytime the wrong tab instead of youtube
Depending on how your ROM has been set up by your Telco... this should work. Go to your Main Memory then see if there is an "\Application Data\Manila" folder. If there is,...then the fix is simple.
Either rename the \Manila folder to something else, or go into that folder and rename or move the 2 files
InternetPortal.xml
InternetPortal-en-AU.xml (where -en-AU is your language /country).
If the ROM can't see these files you will get the default settings from "Windows\27c65cbd_manila".
Your Carriers "OperatorLinks" should now be gone from the Internet Tab. Not the shortcuts but the Operator links that look similar to the YouTube one.
If you do not have an "\Application Data\Manila" folder then the solution is slightly more complex as you will have to edit "Windows\27c65cbd_manila".
Try the above method first. If no luck report back and me or someone else can post the other more complex method.
logger said:
Depending on how your ROM has been set up by your Telco... this should work. Go to your Main Memory then see if there is an "\Application Data\Manila" folder. If there is,...then the fix is simple.
Either rename the \Manila folder to something else, or go into that folder and rename or move the 2 files
InternetPortal.xml
InternetPortal-en-AU.xml (where -en-AU is your language /country).
If the ROM can't see these files you will get the default settings from "Windows\27c65cbd_manila".
Your Carriers "OperatorLinks" should now be gone from the Internet Tab. Not the shortcuts but the Operator links that look similar to the YouTube one.
If you do not have an "\Application Data\Manila" folder then the solution is slightly more complex as you will have to edit "Windows\27c65cbd_manila".
Try the above method first. If no luck report back and me or someone else can post the other more complex method.
Click to expand...
Click to collapse
The method is the same, you can find in both files the entry
<Operator Links>
...
</Operator Link>
Just remove them and all Links are Removed. Editing the 27c65cbd_manila is just a bit dangerous if you don't make a copy before you are editing it
Yeah but you can remove \Application Data\Manila files hocus pocus with no editing - that is why this method is better, if you simply want to remove branding as these guys do. The underlying 27c65cbd_manila version will keep the stock ROM settings.
One method is to delete a file that is superfluous - the other is to edit a file that Manila needs. So not the same.
Like you say the files are basically identical though, each with the setting coming as you say from the operator links area.
I guess you could say I described the Safe Simple dummies method that should work.
logger said:
Yeah but you can remove \Application Data\Manila files hocus pocus with no editing - that is why this method is better, if you simply want to remove branding as these guys do. The underlying 27c65cbd_manila version will keep the stock ROM settings.
One method is to delete a file that is superfluous - the other is to edit a file that Manila needs. So not the same.
Like you say the files are basically identical though, each with the setting coming as you say from the operator links area.
I guess you could say I described the Safe Simple dummies method that should work.
Click to expand...
Click to collapse
I agree, but if you just remove the two xml-files, the youtube-link will still be there because it's also integrated in the manila-file.
True but if you re-read what the guys were after.. they want to remove the links that look like the youtube link. Not the you tube link. So the simple method will do that.
i found the two files in manila internetPortal.xml & internetportal-en-gb.xml
but its protected and i cant delete them ... hidden and protected as system files read only
any way to remove them ??
badrey said:
i found the two files in manila internetPortal.xml & internetportal-en-gb.xml
but its protected and i cant delete them ... hidden and protected as system files read only
any way to remove them ??
Click to expand...
Click to collapse
You have to deactivate the TF3D before you can edit/delete them.
thanks alot that really helped me
You're Welcome
27c65cbd_manila editing help
logger said:
If you do not have an "\Application Data\Manila" folder then the solution is slightly more complex as you will have to edit "Windows\27c65cbd_manila".
Try the above method first. If no luck report back and me or someone else can post the other more complex method.
Click to expand...
Click to collapse
@logger
I am on sprint and do not have the "\Application Data\Manila" folder so I have been playing with "Windows\27c65cbd_manila" to add a shortcut to Ticker Tape 0.5 by GeckoDev.
I have gotten the shortcut I wanted to appear on the internet screen (as shown in the screen shot below) but when I click the shortcut I get this error msg (as shown in the other screen shot below)
The File 'Ticker Tape' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
Click to expand...
Click to collapse
Anyone have any idea how to fix this error...I have been searching but with no luck -
I have tried placing the exe and all related files in the widows directory because that is where the You Tube files are located but it didn't work. I think this might have something to do with it but I can't figure out in the "\Windows\27c65cbd_manila" file the file path to the You Tube icon does not exist that I can find. It might be a hidden folder but I can't see it in Total Commander. It says it is located "\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc". Also what is a .qtc file? My searching points me toward "Apple QuickTime Support file" but I have never heard of it as an icon file in WM.
Any help would be greatly appreciated

Custom city in Weather tab in TF3D

I wanted to add Luxembourg-City to the Weather tab in TouchFlow3D using either Joe's WeatherMaster or the WeatherDatabaseEditor, but nothing works. Did something change with this new device? WeatherMaster gives me a NullReferenceException and WDE does not seem to do anything. I can select a city and just exit, but not add this city to the database. Or am I not understanding how this program works?
petz79 said:
I wanted to add Luxembourg-City to the Weather tab in TouchFlow3D using either Joe's WeatherMaster or the WeatherDatabaseEditor, but nothing works. Did something change with this new device? WeatherMaster gives me a NullReferenceException and WDE does not seem to do anything. I can select a city and just exit, but not add this city to the database. Or am I not understanding how this program works?
Click to expand...
Click to collapse
Did anyone found a solution to this problem? Is it possible to add custom city in the TF2D weather tab? Or shall we install an other programm? The weather database editor doesn't work...
I now found a solution. It was the first one I tried, but didn't work because of a stupid error.
You have to edit the hh_0409_weathercities.xml in the Windows folder and add a line with the desired city. You can get the code from accuweather.com by searching for your city. The code's in form of CONTINENT|XX|XXXXX|COUNTRY. Delete the trailing bar (|) or else it won't work.
To edit that file, you first have to copy it to a PC, edit it, copy it back somewhere on the phone (not the Windows folder, it won't let you). Then use different file browser (I used GSFinder+) to finally move that file into the Windows folder. Be sure to make a backup of the original file!
petz79 said:
I now found a solution. It was the first one I tried, but didn't work because of a stupid error.
You have to edit the hh_0409_weathercities.xml in the Windows folder and add a line with the desired city. You can get the code from accuweather.com by searching for your city. The code's in form of CONTINENT|XX|XXXXX|COUNTRY. Delete the trailing bar (|) or else it won't work.
To edit that file, you first have to copy it to a PC, edit it, copy it back somewhere on the phone (not the Windows folder, it won't let you). Then use different file browser (I used GSFinder+) to finally move that file into the Windows folder. Be sure to make a backup of the original file!
Click to expand...
Click to collapse
Are you sure that you have to delete the trailing bar? All the codes in the xml(hh_0409_weathercities.xml) that you say are with trailing bars... And something else... How do you edit an xml file? Wich prog do you use?
You can edit an xml file with any text editor. It's a simple text file.
All the codes in my file don't have a trailing bar, so perhaps you've got to try both ways.
Have yuo try?
Deleting the trailing bar (|) it works?
With they it don't works...
need a differt city in wheather...
weather PATCH
I understand that we need to use a patch for the weather!
Someone can help me to find?
Thanks to all
It is really simple. Just like petz79 wrote. Except you have to keep that code from accuweather as is (only change %20 character to space). That is only thing you need.
EDIT: It isn't. New city appears in list, but no weather data are downloaded .
EDIT2: I found interesting fact. When I save into XML line bottom, everything was ok.
Code:
<city name="Praha, CZ" loca="EUR|CZ|EZ001|PRAHA" land="Czech Republic"/>
But when I added this, no data were downloaded:
Code:
<city name="Praha, CZ" loca="EUR|CZ|EZ005|PRAGUE" land="Czech Republic"/>
Now I have two "Praha" items in list, but only one is working. Therefore adding of other cities must be hidden somewhere else.
EDIT3: I got it. AccuWeather has two lists - "Favourite cities selection" and "all cities". Weather app on iolite works only with "favourite cities" list, therefore no other cities can be added. I will try to hack it somehow, but I am not programmer, so probably no solution from me for this.
I found the solution. -> http://forum.xda-developers.com/showpost.php?p=3833726&postcount=79
TorrentOnly, you saved me from going completely insane over this!
I couldn't get it to work for the life of me, until I found your Manila2D.exe patcher! Now it finally downloads the data!
anyway thank you very much, it finally worked and I'm happy
PS: first post
were can i find this file???? "hh_0409_weathercities.xml"???? because on windows filder of my phone i cant find this file!!!!!! please help!!!!!!
on my phone, connected with Active Sync right now, I have the file "hh_0410_weathercities.xml" in my windows folder.

[HELP] How to register a dll?

I try to create a program which consists of
.asx files (to show online tv channels),
.lnk files (shorcuts to the .asx files) and
a .dll file which contains only some .ico files (icons of the tv channels).
I added all these files to a cab using WinCE Cab Manager and tried to install it on my ppc. So far so good. The problem occurred when the message “The program can not be installed. Choose another location” appeared during installation, just after the process bar was filled.
Although I have no idea about computer programming, I have created many cab’s with WinCE Cab Manager for skins I have created for several programs. Anyway, I realized that the problem occurred due to the .dll file, since this is the first time I add such a file in a .cab.
I created my .dll file using a .dll from another program which had only icons in it, as well. I deleted them using Restorator 2007 and I had an “empty” .dll sized 4KB. Then I added my icon files using XN Resource Editor.
I searched the Internet to see what might be the problem with the .dll and I found out that I have to “register” my .dll file. I really have no idea what this means but it needs to be done. I also found an option in WinCE Cab Manager for “self-registering” file, but it didn’t work either.
So, the question to you dev guys is how can I register my .dll file, or should I create it from the beginning with another way?
Please help! Thanks in advance!
sorry to repost but it seems that posts keep coming in this forum and this thread is already in the second page and I'm afraid that noone will see it and reply to it. By the way, is there any special sub-forum for such questions?
This may help. I use his instructions to edit existing DLL's
http://www.modaco.com/content/i9x0-...88904/lisbian-taskbars-for-i910/#entry1023568
It will unsign the dll which will probably fail on your custom dll but it should sign it when you are done editing.
NilsP
Many thanks for your suggestion but unfortunately it didn't work for me.
As you said, this is mainly for resigning already signed .dll files.
Any other help will be appreciated. I can attach it here if anypne is willing to help. Or just tell me the way. Thanks!
I deploy a few dll's with my app, without any problem. If the installer complains about the location, what did you specify where it should go?
There are 2 approaches to solve this problem:
1.) If you have a private key to match a certificate in the device's certificate store, sign the .dll and .cab with this private key and it will be installed with elevated privledges, and be successful. To facilitate this you can install the "SDK Certificates" - and sign with the matching private key (you should be able to find these on a search, term "SDKCerts" or similar)
2.) Look for an "Application Unlocker" or other security reduction tool, run it, and you should be able to install the cab. On this note, if you check here, it will give you a more technical overview of the security policies. You want to change 4101 / 0x1005 to "SECROLE_MANAGER" (8) - which tells the system to install it with elevated privledges. Also make sure 4102 / 0x1006 is set to 1 to allow unsigned applications.
6Fg8
I don't believe that is the location I specified that causes the problem because when I deleted the .dll file from the .cab, it was installed properly. How do you create your dll files? With programming or you just edit existing files? If I send you my .ico files, will you be able to create the .dll file for me?
Da_G
Thanks but both approaches seem very complicated for me!
So, will I need Visual Basic in order to do this or is there any easier way? Can anyone sign the dll for me?
angelos_cy said:
6Fg8
How do you create your dll files? With programming or you just edit existing files? If I send you my .ico files, will you be able to create the .dll file for me?
Click to expand...
Click to collapse
Yes with programming, C++ or .net. Never had any issue with signing. I can try to make a dll if you send me the icons (or post them here if they aren't too secret ).
6Fg8 said:
I can try to make a dll if you send me the icons (or post them here if they aren't too secret ).
Click to expand...
Click to collapse
I have sent them to you by pm. They are not secret at all but I will create a "program" (wannabe ) with that dll and I want that program to be a surprise for users of the forum where I'll post it. I may post it on xda too, but it's nothing important.
Many thanks!
angelos_cy said:
The problem occurred when the message “The program can not be installed. Choose another location” appeared during installation, just after the process bar was filled.
Click to expand...
Click to collapse
This happens because you've changed resources in signed file, which changed file checksum and invalidated it's signature, and Windows installer refuses to install file with invalid signature. But it won't refuse to install this file WITHOUT signature at all - so use unsigner (search for it on XDA) to remove signature completely; if you encounter error, try to remove signature from original (unmodified) file, and then change resources in it...
6Fg8
the_ozyrys
Thanks to both of you!
6Fg8 has created and signed the dll for me and it finally worked, but I also tried the_ozyrys' method and it also worked.
So thanks to baniaczek too, since he created the unsigner.exe.
Everything worked fine with the dll. Now the cab is installed properly.
However, I have another problem. Just after the installation of the cab on my ppc, it seems that the device freezes for about a minute. This is propably because my cab contains a lot of shortcuts (.lnk files) that go under Programs folder.
So, I would like to ask for another favour, if it's possible. As I said I intend to give this cab to others too. Since this delay can make them believe that my program has freezed their device, I would like to make the cab restart the device just after installation and after uninstallation as well. I think this is made with the "Setup.dll" which I don't know how to create.
If anyone knows how to do this and has the time for it, could you please create this setup.dll for me. If the cab is needed to do this, just tell me to send it to you.
Thanks in advance!
Anyone? Plzzzzzzz!
If you want to sign .dll or .exe u can use the apps posted in the two posts below
http://forum.xda-developers.com/showthread.php?t=432041
or
http://forum.xda-developers.com/showpost.php?p=3530246&postcount=18
raykisi
Thanks for your answer but 6Fg8 and the_ozyrys already helped me on that.
My question now is how to create a setup.dll in order to make my .cab to prompt the user to restart the device after installation and uninstallation. If anyone can do it for me, I can send you the .cab which I alreday created and you can add the setup.dll with those functions.

Tab title bug in (Dutch) stock ROM + 'achternm' typo

Just picked up my HD2 yesterday and already tweaked it quite a bit using tips from this forum. However, there is one thing I can't seem to resolve.
The original dutch HTC Sense puts the tab title of 'music' in caps. So it's like "Mail, Weather, MUSIC, Calendar, etc" (Mail, Weer, MUZIEK, Agenda, etc.). It's obviously some sort of typo in the translation to dutch and although it doesn't affect usability it really annoys me.
This is what I've tried so far:
- Search the register for the string value 'MUZIEK' or anything close to that
- Search the content of Manila XML files for the string value 'MUZIEK'
- Open manila.exe with ResHacker to search for strings..
None of those gave me any locations where I could change 'MUZIEK' to 'Muziek'.
Any suggestions?
I bet it's in one of the many 'xxxxxxx_manila' files under /Windows/. On the Touch Pro, one of those contained the today screen tabs info. I remember I changed a tab title there once.
I haven't gotten around to looking for it yet on my HD2, but I'd like to change that 'MUZIEK' title as well!
It is in: Windows/56ae5a2d_manila (line 27) and Windows/784be3cb_manila (line 6)
I remember now: the file is /windows/26948339_manila.
You should copy the file to another location, open it with a text viewer and look for this line:
<Page Order="8" Name="music.page" PackageName="HTC" Title=[[IDS_MUSICTITLE]]>
I believe the 'Title' field is the one we want. It uses some kind of variable called [[IDS_MUSICTITLE]], that I guess holds the string 'MUZIEK'. Since I don't know where that variable is defined and if we can change it [edit: see post above], I think we could (for now) just replace the variable right here with the title we want.
So, the line should become:
<Page Order="8" Name="music.page" PackageName="HTC" Title="Muziek">
Save the file under the same name. Then copy it back to /Windows/ using TotalCommander (a file explorer that can 'overwrite' ROM files). Then restart HTC Sense.
I should warn you that this is all speculation based on what I (vaguely) remember doing on my previous phone. I haven't installed TotalCommander on my HD2 yet and I'm too tired to experiment right now... So try at your own risk.
There you go, my question was already answered while I was posting.
Changing the variable where it is defined is a much more elegant solution than replacing it ad hoc, of course.
Nothing even close to "MUZIEK in "26948339_manila"
have a look at the two files that I mentioned.
Both files have <source>MUZIEK</source> in it!
Just tested my "fix", and yes... After a reset it's now showing Muziek.
B.t.w. It's not the only typo.
Have a go at adding a new contact.
Look at what its saying for second name (Achternm)
htc-hd2 said:
Nothing even close to "MUZIEK in "26948339_manila"
have a look at the two files that I mentioned.
Both files have <source>MUZIEK</source> in it!
Click to expand...
Click to collapse
I think my fix would work because I'm replacing [[IDS_MUSICTITLE]] (which stores the string 'MUZIEK') with 'Muziek'. But yours is better because it fixes the problem at the source. Thanks!
Thanks guys! Editing the Windows/56ae5a2d_manila and Windows/784be3cb_manila files did the job! They don't have an .xml extensions which explains why they didn't show up in my searches.
Robrecht: I had tried overwriting the MUSICTITLE variable name with 'Muziek' before but that didn't make a difference. That might have been the title the way it shows up in the settings screen where you can change the order of the tabs.
I'll try so search for the 'Achternm' typo in these files as well...
I fixed the 'achternm' typo in the contact editor. It was baked into an executable. Replace the file in the attached zip with the one in the phone's Windows folder.
nielshtc said:
I fixed the 'achternm' typo in the contact editor. It was baked into an executable. Replace the file in the attached zip with the one in the phone's Windows folder.
Click to expand...
Click to collapse
Maybe a dumb question, but how can I replace the file? It says it's in use (which makes sense).
You can overwrite ROM files with a file explorer like Resco Explorer or Total Commander. Also; I would always make a backup of files you overwrite.
Btw. These are the edited _manila files with the fixed MUZIEK (caps) typo. Same story as above for the /Windows folder on your phone. (Phone needs to be restarted)
nielshtc said:
I fixed the 'achternm' typo in the contact editor. It was baked into an executable. Replace the file in the attached zip with the one in the phone's Windows folder.
Click to expand...
Click to collapse
Thanks, ik zat me er ook al aan te ergeren...
From what ROM did you extract and altered the ContactEditor.exe.0413.mui because now in ROM 1.48, all the field names are gone !!! Please explain to us how and what you have done with the .exe to fix the Achternm typo?

Categories

Resources