HTC Calculator Skin doesn't support horizontal screen mode? - Tilt, TyTN II, MDA Vario III General

Has anyone else noticed that installing the HTC Calculator Skin stops the calculator being used in horizontal mode?
When I load the calculator, then sliding the keyboard open (to switch to horizontal), I get the following error:
Code:
Error. Cannot load the skin file:
\Windows\SpbCalc_L.gif
Same error occurs if I switch to horizontal screen mode first, then try to open the calculator app.
I assume this is caused by having certain horizontal resources missing from the skin. It's interesting though that the file is name 'Spb...'. I've never installed any Spb apps Could just be a coincidence though...

Yep...same thing happens to me...
Nikos.

I might try adding some resources manually to the Windows directory (i.e. make up a dummy SpbCalc_L.gif) and see what these images actually are. They're probably just a copy of the existing resources but with a different aspect ratio.
If I can successfully mock up all the resources required, I'll attach them here.
EDIT
----
Should have tried the search a bit harder I think our problems are already solved in this post.

Still seem to have some problems here:
1. Can't install the cab file from the above post because the original cab can't be un-installed.
2. Can't use the .png files that people have been creating at the above thread because the app is looking for a .gif
3. Can't seem to get the calculator to work correctly if I convert the png to a gif myself. The screen looks fine, and everything works... except the 7, 8 and 9 buttons

japher said:
3. Can't seem to get the calculator to work correctly if I convert the png to a gif myself. The screen looks fine, and everything works... except the 7, 8 and 9 buttons
Click to expand...
Click to collapse
I think this is probably just a palette problem in my gif. I suspect the colours need to be exact for the button region map to work correctly.
I'll give this another try tonight with a correctly created GIF. Hopefully that'll fix this.

To anyone getting this problem, try dropping the attached file into your Windows directory.
EDIT
-----
Doh! Forum has scaled/converted this when I uploaded it. Ignore this image.

Ignore the above image, the forum seems to have converted the GIF to a different size/format. Try unzipping the attached instead.

This is a known issue. The touch is a Portrait device & originally the Calc skin didn't include the landscape file. Look for the new post with Touch calculator skin P+L.

Calculator Skin in Landscape (Horizontal) Mode
Hey, you may be having the problem you're having because the SpbCalc_L file, which the calculator uses to display in landscape (horizontal) mode, is in the wrong format. It may be that it's a .gif image. You need to convert the image to .png format. Then, once in that format, the calculator will recognize the file and you won't have the problem that you're having. I'm not sure what phone model you have, but I have the 8525 (HTC/AT&T) model. This is what I did, and it resolved the problem for me. There is a free program that you could download from www.cnet.com. It is called FastStone Image Viewer. This program will convert the file for you.
Perhaps you could help me out, too. In the process of installing a bunch of new skins for the calculator, I accidentally erased the original/standard files. I no longer have the original SpbCalc_L and SpbCalc_P files, which allow the calculator to be viewed in its orignal, factory-setting format. Do you mind e-mailing them to me? I'd appreciate it. I'd like to roll back to the original version.
Thanks, and I hope we could help each other out. Take care.
japher said:
Has anyone else noticed that installing the HTC Calculator Skin stops the calculator being used in horizontal mode?
When I load the calculator, then sliding the keyboard open (to switch to horizontal), I get the following error:
Code:
Error. Cannot load the skin file:
\Windows\SpbCalc_L.gif
Same error occurs if I switch to horizontal screen mode first, then try to open the calculator app.
I assume this is caused by having certain horizontal resources missing from the skin. It's interesting though that the file is name 'Spb...'. I've never installed any Spb apps Could just be a coincidence though...
Click to expand...
Click to collapse

Just a short feedback for others users of a Palm Treo 750. After installing the HTC calc. skin on this device, I got the error msg that file SpbCalc_S.gif is missing in the windows dir.
I downloaded the zipped SpbCalc_L.gif from this thread and renamed it from ...L into ...S. After that the application runs but the right column with the operators is missing. Can anybody be so kind to send me the original SpbCalc_S.gif - file?
Rgds
Henry

hghouse said:
Just a short feedback for others users of a Palm Treo 750. After installing the HTC calc. skin on this device, I got the error msg that file SpbCalc_S.gif is missing in the windows dir.
I downloaded the zipped SpbCalc_L.gif from this thread and renamed it from ...L into ...S. After that the application runs but the right column with the operators is missing. Can anybody be so kind to send me the original SpbCalc_S.gif - file?
Rgds
Henry
Click to expand...
Click to collapse
Here it is http://forum.xda-developers.com/showpost.php?p=3282780&postcount=44

It works!
Many thanks, dennisI !!
Rgds
Henry

Related

Original/Standard Spbcalc_L and Spbcalc_P png Image Files

I have a quick question. Is anyone willing to e-mail me the Tilt's (HTC AT&T 8925) original/standard spbcalc_L (landscape mode) and spbcalc_P (portrait mode) files? These two skin files allow the phone's original calculator to display. In the process of installing a few new skins for my calculator, I wrote over the standard files and lost them. I'd like to roll back to the phone's standard calculator, but I am now unable to do so without these two png image files. Please let me know if you're willing to send them to me. The two files are located inside of the Windows folder, which can be accessed via the File Explorer program. Thanks a lot. I know this is a relatively minor issue, but I'd appreciate the help.
P.S. If anyone has the HTC AT&T 8525 model, then the files from this phone would work for me, too. Thanks!
Sorry, I have to say you may need to hard reset you phone.
Because I cant find no where about your spbcal* files. I believe you are looking for SPB calculator P & L. The original Tilt doesnt go by that name. You may want to reinstall your SPB software to get make correction. Mine is called calc.htm & calc.lnk, if this is what you are asking for original calculator file.
Hey, thanks for the reply. I appreciate your time. I looked at a Tilt recently and noticed the same thing - that the calculator files are named differently on the Tilt from how they are named on the 8525. I looked for the calc.htm and calc.lnk files, but I couldn't find them on my phone. Thanks anyway for trying. I'll have to try and figure something else out.

Original/Standard Spbcalc_L and Spbcalc_P png Image Files

--------------------------------------------------------------------------------
I have a quick question. Is anyone willing to e-mail me the Tilt's (HTC AT&T 8925) original/standard spbcalc_L (landscape mode) and spbcalc_P (portrait mode) files? These two skin files allow the phone's original calculator to display. In the process of installing a few new skins for my calculator, I wrote over the standard files and lost them. I'd like to roll back to the phone's standard calculator, but I am now unable to do so without these two png image files. Please let me know if you're willing to send them to me. The two files are located inside of the Windows folder, which can be accessed via the File Explorer program. Thanks a lot. I know this is a relatively minor issue, but I'd appreciate the help.
P.S. If anyone has the HTC AT&T 8525 model, then the files from this phone would work for me, too. Thanks!

HTC Weather, problem & fix

I thought I would add this here unless anyone else runs into the same problem. I broke my HTC Weather yesterday while trying to upload local cities into it. I am running the Dec 03 release of HyperDragon, but HTC Weather seems to be the same (at least in terms of files to edit) across different platforms.
After adding my local city, and uploading it back to the phone when I went into the weather tab to add a new city, I was unable to search for any cities. In fact the search screen contained no entries at all. Essentially, I corrupted the xml file, and the phone was unable to read it.
How I broke it:
Be careful what you edit with. I just opened the file with word pad in Vista to copy my new city information, but the xml file and word pad don't like each other. I found that the tilde ( ` ) <--- that character appearing over letters was unsupported in word pad. The xml file was unable to then read it. It saw it as corrupted data.
To fix it:
I just deleted the offending cities with tilde's in them. I didn't need them anyways. However, one could also just edit the file with a better program and re-upload it to the phone. Once I fixed the file, HTC Weather saw my new cities and was more than happy to read them.
Maybe someone else already went over this. I don't know. But I know I searched on the forum for quite some time without finding out what I did wrong.
AT&T tilt running Hyperdragon
The first mistake was editing an XML file with wordpad. Try using Komodo next time. Always use the proper software for certain editing functions.
Heres a link to the Freeware Komodo XML Editor.
http://community.activestate.com/products/Komodo
didnt I say that
SpiritOne said:
I thought I would add this here unless anyone else runs into the same problem. I broke my HTC Weather yesterday while trying to upload local cities into it. I am running the Dec 03 release of HyperDragon, but HTC Weather seems to be the same (at least in terms of files to edit) across different platforms.
After adding my local city, and uploading it back to the phone when I went into the weather tab to add a new city, I was unable to search for any cities. In fact the search screen contained no entries at all. Essentially, I corrupted the xml file, and the phone was unable to read it.
How I broke it:
Be careful what you edit with. I just opened the file with word pad in Vista to copy my new city information, but the xml file and word pad don't like each other. I found that the tilde ( ` ) <--- that character appearing over letters was unsupported in word pad. The xml file was unable to then read it. It saw it as corrupted data.
To fix it:
I just deleted the offending cities with tilde's in them. I didn't need them anyways. However, one could also just edit the file with a better program and re-upload it to the phone. Once I fixed the file, HTC Weather saw my new cities and was more than happy to read them.
Maybe someone else already went over this. I don't know. But I know I searched on the forum for quite some time without finding out what I did wrong.
AT&T tilt running Hyperdragon
Click to expand...
Click to collapse
Next time use notepad that is what i use...also the XML file is in my download section go there and download it open it in notepad and edit then move it into the windows folder...u should be good to go..
How did you manage to get adding cities to WORK?
I followed the instructions that have been posted around, but the URL fragment is NOT as displayed in those posts anymore on www.accuweather.com.
Going to htc.accuweather.com from my Kaiser gets me something that looks SOMEWHAT similar, but its not the same - if I try to use the same format that other US cities are in for mine, I can locate it in the list but it won't update.
Any help?
Genesis3 said:
How did you manage to get adding cities to WORK?
I followed the instructions that have been posted around, but the URL fragment is NOT as displayed in those posts anymore on www.accuweather.com.
Going to htc.accuweather.com from my Kaiser gets me something that looks SOMEWHAT similar, but its not the same - if I try to use the same format that other US cities are in for mine, I can locate it in the list but it won't update.
Any help?
Click to expand...
Click to collapse
I am not sure what you are asking...I just added my city like MOD Scotchua said to do and it worked...
http://forum.xda-developers.com/showpost.php?p=2644237&postcount=2366
Aha - I screwed up. Its working now
Spoke too soon..... it KINDA works.
The currnet Manila 2D executable will go back to the top screen (the home page) if you hit the END button twice. It also will mark an incoming SMS "read" if you sit on it on the top page for a few seconds.
The patched one does neither. It will not go back to home unless you navigate there, and SMS do not get marked read.
Is the patch involved (e.g. could I go in with a hex editor and make a change to the CURRENT Manila executable?)
Update to THAT....
I took a quick look at the executables and found the change, with the different URLs. However, it appears the new one is longer than the old, which means that a quick "patch in place" is unlikely to work (I have no idea what's AFTER that block of data - and it ain't zeros, and IS apparent UTF-8 text - so I'm likely to scramble something doing a quick overwrite.)
This in turn implies that you need a way to disassemble the exe file and replace the data, then reassemble it (e.g. to assembler, at least) assuming you don't have source.
So..... anyone have a tool for this or is this a case of "have lots of fun playing with something that can disassemble it, find a clean place in the data segment to put the new reference, and fix it that way" sort of game?
SpiritOne said:
didnt I say that
Click to expand...
Click to collapse
yep... just rubbing it in some more
I wouldn't use notepad either. I'd rather not get into a long discussion about editing xml files with notepad either
An XML editor is definitely the way to go.
Yet another update....
What's with the app here? I patched it with a string that fits using a hex editor.
What I wind up with refuses to run. Are these apps cryptographically signed?
Answer: Yep, and once modified, the signature is no good. I don't see anything in Advanced Config that can turn that protection off either; you can disable the requirement that CABs be signed, but I don't see where you can disable the requirement that APPLICATIONS be signed. My security policy settings are such that all security is off, but attempting to run the patched executable by hand elicits a complaint about the signature being invalid. I presume that a MISSING signature would be ok, but a CORRUPT one is going to get complained about - and I have no means to fix that.
Yet more....
I have found the code-signing tools after rooting around and re-signed the application.
It still fails to work; it appears there is a SECOND call to an HTC web site in the current Manila2D code which is NOT in the other patched file.
That one goes to: http://weather.manila1.htc.com/widget/htc/forecast-data_v3.asp?locCode=
DNS shows the address is a CNAME to htc.accuweather.com, and the worse news is that the replacement string that goes in the other place doesn't fit in there - its one byte too long.
It also looks like THIS is the one being called for updates, because changing the other, direct call to the htc.accuweather.com link doesn't change anything - the codes in the file that refer to places accuweather handles still work, but those that refer to other places do not.
Any ideas?
Final Fix - Read
Ok, here's what I've accomplished.
I patched the Manila2D.exe (the CURRENT copy from HyperDragon and others) and have re-signed the code (with a self-signed cert)
I also grabbed the php script and set it up on a VERY short domain name I registered this afternoon, htcwx.org - it exists ONLY for this purpose and is NOT a generic HTC web site.
I have modified the script as necessary, and the firmware as necessary. The replacement Manila2D.exe file is attached. To implement this simply replace the Manila2D.exe in your \Windows directory on the device with the one in this ZIP file. That's it; you can then add city codes at will in the weather file list and they will work.
The previously-posted version of Manila2D.exe has a couple of bugs that I consider show-stoppers, and patching the current version necessitated having a shorter URL as one of the places required to be patched would not allow the "not2advanced" url to fit.
Note that this weather reflector is being run by me, is OPEN and will remain indefinitely; I have a very high-bandwidth connection and expect no interruption in that service. Feel free to use it.
I now have WORKING HTC weather in Manila for virtually anywhere.... and you can too without the restrictions that existed in the previous patched copy (no return to home screen with the END key, and no SMS message marking)
This script "portal" should also work with any other patched HTC Home or HTC Manila applications; the complete url is http://htcwx.org/wx.php?
Note that there is NO general content on that web site.
Enjoy!
PS: As of this instant the .ORG TLD nameservers haven't picked the domain up yet from my registrar. That's abnormal; I see it on my infrastructure but not globally. It should be globally visible by morning.
There's just one thing left to say:
Thank you!
I've been fiddling with this for quite some time, and once I've found this thread everything worked as advertised!!
Happy new year!!
Glad it works for you! Happy New Year to you as well.
Hi Genesis3,
I have installed yesterday Josh's v15 M2D Plain 3G ROM and would like to customize the Weather and add my location.
Your Manila2D.exe is 1.1 Mo where the Manila2D.exe included in this ROM is only 410 KB .... Do you think I can change the original by your's ?
Thanks
That copy is PROBABLY compressed. If it is, the strings can no longer be patched.
You need to talk to the chef and get the uncompressed EXE file - if he has it.
Packed manila2d.exe
I haven't seen anyone post about this but the compressed manila2d.exe that I have uses UPX it worked for me to both unpack and repack the file.
Look into the file for "$Info" if it say's packed with UPX the link above may work for you too. (about 350h char's in)
ENJOY!
Genesis3 said:
That copy is PROBABLY compressed. If it is, the strings can no longer be patched.
You need to talk to the chef and get the uncompressed EXE file - if he has it.
Click to expand...
Click to collapse
As with everything here YMMV, make backups and if you blow it up don't blame anyone but the operator.

HTC Youtube Application Fix for Landscape Search Issues

Hey guys. Well, I have the HTC Fuze (aka Touch Pro) and I love to use the slide-out keyboard. Well, using it with the latest HTC Youtube Application (v1.6.1820.4128), I found that the orientation did not switch and that a thin white rectangle would appear on the screen to show me what I typed. I think that those of us with this agree that it looks ugly.
I did a bit of tinkering and found that the Youtube.exe in the latest version does not orient Search to landscape properly on the Touch Pro. The only version that seems to do this properly is the one from the Diamond. To get the benefits of both worlds (latest Youtube and working landscape Search) all we need is the Youtube.exe from the previous version. No need to change any other files or add/delete registry entries.
Needed File: http://www.megaupload.com/?d=E8OM7PD4
Solution:
1. Go to your device's Windows folder and backup the original Youtube.exe.
2. Replace the original exe with the one you downloaded. Use TotalCommander or any other program that lets you edit system files. Overwrite if prompted. If you are unable to replace the file, soft reset your device and try again.
Now enjoy!
The only disadvantage of the Youtube.exe from the older version is that the Program Guide will not appear if you do not have any custom favorites/channels added. If you do add a custom favorite/channel, the Program Guide will appear like it did in the original HTC Youtube, but the Auto &Vehicles channel will give the error "No Videos Found". Anything you add will start at #13 and count up (14, 15 ,16, ...).
Program Guide Style Editing (If you do not want the default channels)
1. Use your favorite Registry Editor and navigate to
HKLM\Software\HTC\Youtube
2. Now inside this, find the ProgramGuideStyle key and change its value from 1 to 0. Hexadecimal or Decimal doesn't matter since 0 is the same in both number systems.
Now you will have a Program Guide whose only default channel will be "All Videos" and anything you add will start at 2 and count up (3,4,5, ...).
Needed File: http://www.megaupload.com/?d=E8OM7PD4
The above file was uploaded from a virus/spyware free system. However, I cannot guarantee that you will download a virus/spyware free file, so PLEASE SCAN THE FILE AFTER YOU DOWNLOAD to make sure it is virus/spyware free.
Hope this helps!
This is great!! That bug has been annoying the heck out of me for God knows how long!!

Matrix Theme for Sense 2.1

First, I got the idea and some of the icons from skilty in this thread http://forum.xda-developers.com/showthread.php?t=425176. Thanks to skilty.
Although I started with skilty's theme, I have pretty much redone all the icons. Not everything was covered in the Rhodium Manila so I needed to add several things. I scoured the internet for some of the other icons and assembled them here.
The first picture is the loading GIF after a reset. The second picture is the background. The third is some screen shots of the TF3D manila. The last picture is the phone dialer.
For the contacts, I have used the Matrix cell phone for the mobile device, the old fashioned phone (hard line) as the home phone, and a phone booth as the work phone.
There are icons for Manila Today Page and for the new Manila TV tab.
Before you do any overwriting of files, I would suggest copying all your manila files to a folder on your desktop in case you want to go back to the way things were before.
I've attached all the manila files in the New Matrix Manila zipped file. The dialer screen, background picture, and other files are in the other zipped file. You just need to copy the manila files onto your device and then use a program like total commander to copy them to your \windows\ directory. I haven't had much luck removing TF3D from today and then re-enabling it. I pretty much had to do a reset after copying the files.
I'm having trouble right now uploading the loading screen gif. I'll see if I can still upload it.
I hope some of you enjoy it! And I don't take any responsibility if anything happens to your phone. There shouldn't be a problem since it is only graphic files that are changing.
I almost forgot to include the Action Screen I created.
You first need to have this installed (I know it was already installed in the Eneregy Rom series 2 I am using). http://forum.ppcgeeks.com/showthread.php?t=58625
Then you need to copy the contents of the attachment into the \windows\actionscreen\ directory. I have changed one of the buttons to a 3G toggle instead of bluetooth since I never used that one.
Also there is a skin for psShutXP. Its only the image files, so I'm assuming you already have it installed on your PPC device.
Attached is a new action screen by Oz from here.
And finally I have attached a skin for xdashutdown developed here.
Enjoy.
Here is a skin for the power radio app, Resco Explorer, and s2u2. I've also uploaded the matrix background that you'll need for s2u2 background.
Do not understand why this theme was buried. It is soo nice. indeed.
Hi Guys!
i tried to install it but..i am a very nub...can you please tell me how to do it step by step?
boby_mike said:
Hi Guys!
i tried to install it but..i am a very nub...can you please tell me how to do it step by step?
Click to expand...
Click to collapse
First, do you have Sense 2.1 or the newer 2.5 installed. You should find the info under you device info in settings.
Also, I think I'm going to resurrect this theme so I can use the new CHTScheduler for the CHT Home Tab. So I'll be updating this for sense 2.5 in the coming weeks. You may want to hold on for that.
If you still want what's posted here, I'll throw together some cab files for you. Most of the stuff is manual install, meaning you have to copy all the files to your devices windows directory. Does any of that help?
Hi!
Thank you very,very much! I already took some parts of it (the background pictures) and i put it on my phone. It looks ...WOW...but i still want to install the whole theme.. Yes, i have the latestes Enegy Rom installed, with Sense 2.5...So i will look forward for your new theme (and, if is not to disturbing, the guide step by step how to install it - i undestood that i have to copy all the files to \Windows, but..this is it?? ).
sponge_worthy said:
I've attached all the manila files in the New Matrix Manila zipped file. The dialer screen, background picture, and other files are in the other zipped file. You just need to copy the manila files onto your device and then use a program like total commander to copy them to your \windows\ directory. I haven't had much luck removing TF3D from today and then re-enabling it. I pretty much had to do a reset after copying the files.
Click to expand...
Click to collapse
There is only CAB attached. Could You attach also ZIP to this post?

Categories

Resources