Resource RCML_DLGDATA - what it is? - Windows Mobile Development and Hacking General

I'm playing with resources/MUI files.
I cann't change layout of most WM5 dialogs. In fact - I can change DIALOGs resources, but results are wrong.
I think, that I should change RCML_DLGDATA too - they has the same IDs, as dialogs, but I cann't find any manual about information stored as RCML_DLGDATA.
Any help? Thanks in advance.

Related

Font files available on XDA II devices

In order to improve graphics performance for applications running on my XDA II device, I've written my own low-level rendering functions to use in place of the GDI calls. I'd like to use the default system fonts to render strings, and this works fine for rendering English characters. When I attempt to load Chinese dbcs characters, however, they seem to be missing from the cour.ttf, tahoma.ttf and tahomabd.ttf files.
I assume that there must be another font file used by the system to render Chinese characters, but I don't see any other ttf files in the /windows/ directory.
Anyone know how the platform is loading/rendering these characters? The normal GDI calls don't seem to have any trouble loading the necessary glyphs, so I'm hoping that they're available somehow.
Can you share how you did that? I'm looking for a way to render my font but i could not figure it out?
If you have some source code that you can share, could you email it to me at [email protected]
THanks
I think that you need to have the oriental version of the fonts because the caracters you're lookin are encoded in. May be you can have with the chinese version of wm2003se for xda2.
I did indeed need the oriental fonts. My problem is that I was looking for *.ttf files and the oriental fonts seem to be encoded as *.ac3 files on wm2003. So, the characters needed were available in fonts like msming.ac3, msgothic.ac3, etc (depending on the device).
bm_masri - I can't share my source, but if you want to render your own fonts, I'd suggest using Agfa's iType library if you want a commercial product or the TrueType library if you want an open source library. Both libraries will decode font files and give you bitmaps for the glyphs in the file.

C# ALert Tone Change

Does anyone have the code / API that will allow a program to change a message tone? (WM5)
I've searched about but haven't come up with anything yet.
The idea of the application is to look into a specific folder and read all .wav files in there, then every hour or so change the message tone to be a random file.
Thanks in advance
UPDATE
have changed the solution to overwrite a Tone already set up - message.wav - however I am having problems overwriting it.
It works OK if you go to Sounds and Alerts and choose message.wav and click OK, then run the application - it overwrites successfully, however after that it won't overwrite again
I think it may be due to some caching of the file to keep it in memory for some time, but haven't ascertained this properly yet
I'll let you know if I can find it then will post the application - my main purpose for it is to have a random TV (mostly blackadder) quote play when I get a message
I'm not sure, but to me it sounds like you may have to change the registry entries for the alerts.
HKCU\ControlPanel\Sounds\
And look for the one(s) that you need to change.
You can do that easily in C#, there are classes for accessing the registry and making the changes.
Sound files must be stored in the /Sounds folder.
Good luck

Provisioning with XML questions

Hi,
I am using XML to provision and configure my PDA with settings and I have a couple of questions for anyone who has done this before. I have some settings working so I got cocky and thought I could do some more but I now need a little help with this...
Needless to say I am very grateful for any help/advice I can get on these...
1. Using XML I want to be able to delete unhelpful registry entries such as today items
2. I would also like to be able to set the following values in seconds:
BattSuspendTimeout
ACSuspendTimeout
3. I would like to be able to increase my Screen\Text Size up one level from the default
4. I would like to be able to creat shortcuts in the program menu for Office via the XML/CPF route but do not know the correct syntax
Is there a good resource for making these changes? I have serahced Google and come across various MS Visual Studio elements but not much for the XML, MakeCab, CPF route.
All the best, and thank you for anyone who can help me,
Sam.
PianoSam said:
Hi,
I am using XML to provision and configure my PDA with settings and I have a couple of questions for anyone who has done this before. I have some settings working so I got cocky and thought I could do some more but I now need a little help with this...
Needless to say I am very grateful for any help/advice I can get on these...
1. Using XML I want to be able to delete unhelpful registry entries such as today items
2. I would also like to be able to set the following values in seconds:
BattSuspendTimeout
ACSuspendTimeout
3. I would like to be able to increase my Screen\Text Size up one level from the default
4. I would like to be able to creat shortcuts in the program menu for Office via the XML/CPF route but do not know the correct syntax
Is there a good resource for making these changes? I have serahced Google and come across various MS Visual Studio elements but not much for the XML, MakeCab, CPF route.
All the best, and thank you for anyone who can help me,
Sam.
Click to expand...
Click to collapse
The best place to look is the MSDN books.
If you do a search of XML syntax it has all the options.

TimeZoneInformation hacking ...

I know how to hack the TimeZones in Windows OS family (98 to XP). But I am having dificult to do the same in WM6.
This is what I found:
1) HKLM\Time has a TimeZoneInformation value (binary). It seems to be the active time zone rules (set by SDK functions).
2) HKLM\Software\Microsoft\Clock has some values I don't understand.
3) I am brazilian and I am using "GMT-3 Brasilia". I cannot find that text in the registry. Not ever "GMT". Is it hardcoded?
I want to change the "GMT?????????" rules. In Windows, everything is in the registry. In WM, I don't know.
Any hints are welcome.
Júlio
The timezones in WM have a bit of a different structure.
1) The HKLM\Time TimeZoneInformation is the active time zone. It is a structure described here (you need some understanding of C/C++ data types to fully understand this).
2) The HKLM\Software\Microsoft\Clock just holds the settings for the clock app and is irrelevant in this case.
3) The timezones are listed by code, not names. Here is the full table. Note however that usually they are not stored in registry but only in the wince.nls file (that contains defaults for all regional settings). Only when a change to the timezone information is made it is placed in registry with the code as the key name.
levenum said:
Only when a change to the timezone information is made it is placed in registry with the code as the key name.
Click to expand...
Click to collapse
Items 1 and 2 are Ok. I am familiar with TimeZoneInformation structure.
But focusing on item 3: wince.nls is binary and not writeable. What change should I do? Could you explain the quoted text?
Cheers.
Júlio

[Q] Enabling and locking Timestamps to photos?

Hi, I'm new to XDA Developers but have been using as a valuable resource over the past few months.
We have a HTC Touch Pro 2 device (WM6.5) that we provide support for to a number of personnel. The client have requested that we change the device settings so that photos have the timestamp applied and secondly that it not be possible to take it off again.
Since we have somewhere in the region of 600 devices to update, we'll need to do this via a registry change through our updates service. Try as I might though, I can not find the setting to do either of these. I have searched on here and google and can't find the answer. Has anyone done this before?
Thanks in advance.
I've been doing some digging on this and found a registry key under
HKEY_Local_Machine\SOFTWARE\HTC\Camera\Image
called 'enableStamp'. However, when I change this on Visual Studio 2005 remote registry tool, it doesn't seem to make any difference on the phone, the menu option stays the same. Likewise, the menu doesn't seem to change the registry which leads me to think it's another setting someplace or the settings are stored elsewhere.
Thanks in advance for any help.
I've finally made a breakthrough on this. I had to export the entire registry, change the value, export the registry again and compare the files. I found that this value
HKEY_CURRENT_USER\Software\HTC\Camera\6.16\Preferences
contains a large Hex value string and found that change a value that was 48 (timestamp off) to C8 (timestamp on) was reflected on the device. This string seems to have a lot of values so I'm assuming they are all to do with options selected in the camera menu. I just hope one of them is to disable the timestamp option now. I've posted this here in the hope it helps someone else.

Categories

Resources