Source code for touch.dll - Windows Mobile Software Development

I have a Siemens SIMpad with a faulty touch sensor (it is consistent, but not linear). I would like to write a new touch module, with more calibration points in order of being able to use the computer, without replacing the screen. I suppose it is included in the Platform Builder.
Laco

Related

Microsoft Reader

Hello,
Is anyone else using Microsoft Reader? I can't get it installed properly. The installation and activation run through OK but the progrm does not appear in the "All programs" list. If I go to the Microsoft Reader directoy and click on MsReader.exe it runs fine, activated and everything....? Is there a way to create a "shorcut" for a file to point at from the "Programs" tab?
Grateful for any help.
Cheers/McHan
How strange
To manually make a shortcut: browse in file explorer to the msreader.exe file, long press, choose "copy", browse to my device\windows\start menu\ programs, long press or right soft button, choose "paste shortcut". If desired change name (long press on item)
Brilliant, worked like a charm. Could not get it to work in File Manager, but in Total Commander... Many thanks!/McHan
Hello, I've installed the latest version of the Microsoft Reader and the instalation was successful. But I have a different question. How do you page in it? There are no key arrrows, touch interface doesn't work and the areas on the display which function for paging (beside the page number) are too small to touch them comfortably. So far I've found following ways to use it, but I'm satisfied with neither:
- use stylus to touch the paging areas
- open the keyboard and use the arrow keys
- install the AEButtons application to remap the volume keys (in this case the the whole system became unstable and furthermore I was not able to read holding the device in the right hand
Thanks for any help
Hi,
I am a fan of ebooks and have used many ebook reader program on many pda devices. Just as you did, I also installed MS Reader and have some observations:
1. Ufortunately Ms Reader is basically designed for d-pad pda's. That is to say, it is impossible at this stage, for this version to change the page via touch or slide movement on the screen.
2. Other than that, MS reader installs a font called "wingdings" for itself, which conflicts with Advanced Config and HD Tweak. That's the reason you see awkward characters in these programs. With my TYTN II, I could delete or rename the name of this font and continue using both programs. However, it impossible to delete or rename this font even via Total Commander in Touch Pro 2. Because this file is accepted as a Rom file by the operationg system. Therefore I had to uninstall MS Reader.
3. I use MobiPocket for many ebooks; it has many good options; though I should say it needs upgrade too. Please look at this thread: http://www.mobipocket.com/forum/viewtopic.php?t=16032
4. I use a different program for lit files; but I can't remember it's name now since I broke the LCD of my screen and trying to repair it nowadays You can see it here: http://forum.xda-developers.com/showthread.php?t=534883
5. Microsoft should develop a new MS Reader version or we should find a way to use cleartype in Adobe Acrobat somehow.
Regards,
jahr said:
Hello, I've installed the latest version of the Microsoft Reader and the instalation was successful. But I have a different question. How do you page in it? There are no key arrrows, touch interface doesn't work and the areas on the display which function for paging (beside the page number) are too small to touch them comfortably. So far I've found following ways to use it, but I'm satisfied with neither:
- use stylus to touch the paging areas
- open the keyboard and use the arrow keys
- install the AEButtons application to remap the volume keys (in this case the the whole system became unstable and furthermore I was not able to read holding the device in the right hand
Thanks for any help
Click to expand...
Click to collapse
Yes, pretty much the ebook readers need a massive update.
One thread I found on the Microsoft Reader support site had one "semi-official" person saying they were working on a version for WinMob 6.1, but that was last year, and no further updates.
I found another thread that said that Microsoft had stopped support for Microsoft Reader.
So no idea what happens. I'm hoping hen WinMob 6.5 launches, there will be a proper touch-friendly ebook reader in the store, that can handle .lit files as well =)
eReader
eReader (fictionwise/barnesandnoble) is pretty sweet for commercial titles. And for non-commercial titles, manybooks.net brings gutenburg to the eReader format (as well as many others) without you having to do any conversion yourself.
I haven't used the winmo version yet (which allows you to purchase/dl books directly btw), but the old Palm version uses the dpad And the touchscreen for page turning, so I imagine it would use the touchscreen for the better supported winmo version as well.
If I had a library of .lit books myself, I'd consider converting it to something more universal.
Microsoft Reader now for WM 6.1
A couple of weeks ago Microsoft quietly introduced a new version of Microsoft Reader that finally works fully on WM 6.1. Long overdue.
Does this mean that they still see Reader as a viable product, and that it could be developed further in a growing and ever-evolving ebook marketplace?
http://www.microsoft.com/reader/downloads/ppc.aspx
lmoritz said:
A couple of weeks ago Microsoft quietly introduced a new version of Microsoft Reader that finally works fully on WM 6.1. Long overdue.
Does this mean that they still see Reader as a viable product, and that it could be developed further in a growing and ever-evolving ebook marketplace?
http://www.microsoft.com/reader/downloads/ppc.aspx
Click to expand...
Click to collapse
Thanks for the news; however MS Reader still sucks; I have set up and used the program for trial with many of my .lit files; but I came across some annoying features:
1. The program installs a font called wingdings.ttf for its viewing purposes; the problem is this font interferes with many programs including Advanced Config and Manila 2.5! In the previous version it was possible to rename and disable this file in Total Commander; however it seems as a ROM file now and it's possible to get rid of this nonsense font.
2. It's still very hard to turn page in devices like Rhodium, where you do not have the D-pad.
3. The funny thing is, there was an common bug preventing the opening of .lit files inside File Explorer; we could get rid of it with a small registry trick. You can see this bug here: http://forum.soft32.com/pda/open-reader-files-WM5-file-explorer-ftopict66047.html
The funny thing is that silly bug is still there LOL after all these years. I think Steve Ballmer needed to fire some more crew
Therefore I have uninstalled the program again.
Regards,

Need app to run at higher res

Hi all,
unfortunately I only know a little of coding and do not have time to learn (full time student AND full time job = little time for extra activities) so I hope you can be helpful..
My father needs to emulate an HP41cv calculator on a mobile device. I found an emulator that does exactly that, only the mobile device is an HP IPAQ with 4.3" 800x480 screen running CE 5.0.
The problem is that:
a) the app loads too small on the screen
b) at the wrong orientation.
b) isnt such an issue as we can solve this by rotating the screen, provided a) can be solved.
to fix a) i think it has something to do with the size (and possibly orientation) of the background bmps, or could possibly be fixed by SCALE code?
the link to the original app is below. source code is attached. first it installs it on PC then installs CAB through ActiveSync or Device Center (im running Win7).
http://hp41.claughan.com/file/eV41 Setup 0.93.zip
Any help is greatly appreciated.

SetPowerRequirement for accelerometers

Hi!
My application uses the accelerometer in unattended mode, which requires me to set a power requirement on the hardware. Since I own a couple of HTC devices it was easy to figure out what I needed for those:
SetPowerRequirement("ecs1:", D0, POWER_NAME | POWER_FORCE, null, 0);
Where ecs1 is built up from the following registry keys:
HKLM\Drivers\BuiltIn\GSensor\Prefix
HKLM\Drivers\BuiltIn\GSensor\Index
But since I'm using the Windows Mobile Unified Sensor API (http://sensorapi.codeplex.com/), which supports both Samsung and HTC devices I have no idea what the G-sensor driver is named on Samsung devices.
Does anyone know this or could help me figure it out? (I can send a test application). Its most likely a key in HKLM\Drivers\BuiltIn\ that contains the Prefix and Index values.
In the Unified Sensor API they use CreateFile() on "ACS1:", so it might be a key in HKLM\Drivers\BuiltIn\ that contains the Prefix ACS and Index 1.
Thanks in advance.
To cover all Samsung devices you need to use ACC1: and ACS1: (depends on device), so just SetPowerRequirement on all 3 (ACC1, ACS1 and ECS1).
There may be some issue with original Omnia 1 device, but others should work.

Language of choice

Just curious..What is everyone's programming language of choice when developing apps for WinMo?
Ive been working (lightly) on a VB program, which is ok, but i feel it isnt as efficient as others might be, and i know efficiency and size is a big issue on mobile devices (obviously)
Depends:
A simple program or one that can be done just using the stuff in the standard system DLLs then I will go for the pain of coding it in WIN32 C++. The resulting application runs like the wind, and can be distributed as a single executable file, no CAB, no installation projects, etc etc.
If I need any web or fancy data functionality, then it is .NET, because it is not worth the hassle of getting all this to work from levels lower down.
Having had lots of previous coding experience in C/C++ then C# is the natural choice, but as far as .NET is concerned, the actual language you code in is irrelevant. It compiles down to IL anyway and the CPU 'JIT' compiles this into its own code before it runs. Hence the performance hit when the program starts and runs.
In .NET, in essence, all you are doing anyway, is creating .NET objects, setting their properties and calling their methods, in order to get them to do what your application requires. A simplistic view, I know, but that's is all there is to it!
The language that you use to do this doesn't really matter, it is just personal preference.
I guess i assumed one language had more efficantcy than another. Like im working with VB atm, and i know it simplifies alot of things to make it easier to use, not sure if it includes all that extra code in the final build or not tho.
I would like to get more pratice with C++ and i have yet to use C# so dono whats different about that.
I would like to eventually start making programs that utilize the .net code and get my programs talking though data on the phone, but im not that advanced yet.
currently im still trying to wrap my head about making a program with a local database. The program im working on currently doesn't store any data, but i would like to to. I would also like (if i get ambitious) to have that program possibly talk to a PC (parent) program and sync with it. But that i think is a ways off.
Also, do the Mobile SDK's look different? The program im working on i started in the 5 SDK, but (obviously) doesnt have Finger friendly IU tools. I haven't looked at the 6/6.5 SDK yet (as id have to start over again i think). Does it have more finger friendly options?
In .NET CF, the finger-friendlinnes and kinetic scrolling and this all isn't available for all controls. Most of them (the classic ones) are, but if you try using scrolling for whole form, it won't work, only scrollbar will. (Probably with some playing with physicsengine and marshalling you might be able to get it working here, too).
In C++, there are numerous examples of this gestures etc directly in SDK, also many other stuff is there.
See, the main difference here is that .NET is fully equipped with stuff to get everything done fast, easy way.
In C++, you must first make this way yourself .
i am using the .net 3.5 framework tho.. Unless you mean C++ vs C#. I thought .net was an expansion on a current language, and not a language on it self (meaning i cant choose to program in .net, its an option to VB, C++ or C#)
I did toy with it, and it appears as tho your right, the forums are the same. IE drop down/combo boxes are not finger friendly. Guess id have to turn it to a button and another form with large radio button options.
C# vs C++ main difference is that C++ is compiled to native code right on first time, which makes it very fast. C# is compiled to MSIL, which is NOT native code yet. When you run c# app, the code is being Just-In-Time (JIT) compiled to native code, which makes it "longer" to load and "slower" to run (usually that makes about 20% of speeddown on classic PCs with very optimalized C++ same code - it probably already is lower, this is a bit older result of testing).
C# has those nice features that it can't get out of its memory etc, the JIT is almost unhackable, so you can't write viruses in it etc.
As far as the SDKs are concerned, there are slight differences from one version to the next but they can be quite difficult to spot.
They can become issues, when code written to run on one platform is run on one several generations away. I have a program that was written in C++ WM2003. Works under all versions of WM until 6.5.3, when the About Dialog box fails to close if the (X) button is pressed. Turns out another value has to be added to the dialogbox flags field to get it to behave properly.
This has been a feature of SDK's from WM 5.0 onwards, but the WM2003 SDK is unaware of it. You have to add it manually to the shell code created by the SDK,
Progress I suppose. The full article is here:
http://forum.xda-developers.com/showthread.php?t=635063
Treo 700xw Verizon Spanish language
Hello fellow .... I'm new to this forum
I have a Treo 700wx and I live in Mexico ...
My Treo is Verizon's company and is currently with the version 1.22 ...
My problem is that it is in English and I need to change the language in Spanish ...
Thank you for your support both the need
Greetings
stephj said:
As far as the SDKs are concerned, there are slight differences from one version to the next but they can be quite difficult to spot.
They can become issues, when code written to run on one platform is run on one several generations away. I have a program that was written in C++ WM2003. Works under all versions of WM until 6.5.3, when the About Dialog box fails to close if the (X) button is pressed. Turns out another value has to be added to the dialogbox flags field to get it to behave properly.
This has been a feature of SDK's from WM 5.0 onwards, but the WM2003 SDK is unaware of it. You have to add it manually to the shell code created by the SDK,
Progress I suppose. The full article is here:
http://forum.xda-developers.com/showthread.php?t=635063
Click to expand...
Click to collapse
I noticed something else odd. When i run the app on my pone, the resolution is off. Now everything looks ok, i just mean that when i run it on my phone, theirs alot of "white dead space" at the bottom. I can only guess this is due to the SDK's catered to phones with smaller screen resolutions (ie Touch Pro) with buttons.. Is their a way for me to switch the resolution to ultilize the full Touch Pro 2 screen size (480x320 i think)?
Funny you should mention that. I replied to a similar post a short while ago. I'm not going to type it all in again, it's here.
http://forum.xda-developers.com/showthread.php?t=637417

[SDK] Access G-Sensor / Accelerometer On HTC WM Devices

This code enables you to use the g-sensor on a HTC WM device, without any depencies og DLL's.
This can be compiled directly into you applications. (Less DLL clutter)
I made this by nitting bits and pieces of code together from the www.
The code runs pretty fast, but I would like to optimize it, to make it even faster.
Allso, this depends on a Timer to poll the Sensor.
I would rather have it event based or something.
Thats your job
Do whatever you want with this code.
It you make any enhancements though, please upload then to the XDA Developers website.
thanx for sharing! great job - I will look into.
Micha

Categories

Resources