[HD2] Find example multitouch code c# - Windows Mobile Software Development

Hi,
I have a question for you.
It's possible create with visual studio 2008, c# multitouch application?
If it's possible, have you a example code?
Thanks for your support
xoooox

Just take a look at my multitouch dll
www.scilor.com/hd2-leo-dotNetCfMultiTouchDLL.html

scilor,
I have two questions:
1) why i have to create a key on register? If i don't create a key on the my HD2 not view my application how multitouch? (enable multitouch?)
2) have you create a dll on c++? If the answer is YES, why on c# I not create a ovverride the WndProc function?
Thanks for your support
xoooox
(sorry for my english)

1)You will have to add you program to the multitouch whitelist
2)It is in C#/Vb.net and overrides the WndProc
You are able to write in any other language?! Spanish/German
Maybe try to write it "easy" in your native language and try to translate it with Google Translate

Download issues
Hi,
This looks very promissing!
I am interested in trying out the multitouch wrapper you created. http://www.scilor.com/hd2-leo-dotNetCfMultiTouchDLL.html
But, the download sites don't seem to work properly: Rapidshare is overloaded and the Upload.To site keeps defaulting to the premium download.
Can you post the package somewhere else?
Thanks.

Try to enable JavaScript and Cookies

Multihread and strong naming
Hi Scilor
I´ve tried to use jour .NET multitouch dll .. but when compiling i VS2008 i get the error Assembly generation failed -- referenced assembly 'SciLors-MultiTouch' does not have a strong name.
Researching for why it fails i found that the assembly must be recompiled with a strong name.
Could you please help ?
Regards,
Kasper

It should work, did you used my original dll?

Related

using touch.dll

I'm trying to use the touch.dll library that is located in the windows directory. There is no technical documentation on how to use it. I tried to use IDA to create .lib for some of the functions (TouchGetValue, TouchGetValue) and I was unable to run it successfully. Can anyone help me with creating an API call to this library...
Thanx
:wink:

Debugging wm2003 exe and dll files??

Hi,
I'm very new to programming, but I will do anything to make the eten bluetooth manager function correctly (thanks to vijay to have uploaded it to us) I think this will be the ultimate ms stack upgrade..
BUT
I searched a lot, and still haven't found anything simple that simply debug those bt manager files (exe and dll)
Anyone know anything good? Usable? Practical? :lol:
Any help is welcome; I've already looked to VB6 app but is way too complex.. I only wan't to debug, nothing else (for the moment )
Cheers, MocciJ
Unfortunately the only widespread pocketpc debugger is IDA (trial version available).
If you only need to get access to resources etc, check out Resource Hacker etc. Or use the Visual Studio resource viewer.
V

Java Development on Touch HD

I've been studying Java with the Open University and would like to put into practice some of my newfound knowledge on the mobile side of things.
Can anybody help me get started by telling me which configuration I should be using with regard to CLDC/CDC-MIDP, are there any JDK's for the Touch HD etc?
I have tried searching but to no avail so far so would appreciated your help.
Also, is there a decent Java compiler that operates under WM6. As that would be novel to play around with too! I currently use NetBeans on my pc.
Regards
Gary
Java on a mobile device = J2ME
There are plenty of Java VM for Pocket PC (check this thread). I think JBed (found in most blackstone ROM's including stock ones) is the best. It has severe limits but it is the best you can get on blackstone. For developement you can use your PC with Sun WTK 2.5.2 (it is supported by Netbeans).
There are no decent java compilers that run directly on PocketPC.
As your first app can you create a D-Pad in java to run skymobile????
garyainsworth said:
Can anybody help me get started by telling me which configuration I should be using with regard to CLDC/CDC-MIDP, are there any JDK's for the Touch HD etc?
Click to expand...
Click to collapse
Java ME : JBed or JBlend, choose one of them, both work great.
Java SE (Yes Desktop-class Java): MySaifu - http://www2s.biglobe.ne.jp/~dat/java/project/jvm/index_en.html
As for the JDK part (I mean the javac compiler and other tools), I do not know such a package yet. However, you can make javac work with MySaifu with a tools.jar file copied from standard JDK (1.3 or older probably).
Hope this helps
Java development with JVM for CDC
Thanks for your help guys.
I've managed to ge set up and have managed to create my first Midlet and run it on my Blackstone via JBed. I've used NetBeans 6.7
However, that is CLDC/MIDP, but when I try and install CDC creations JBed will not install it because a Midlet name is missing. Is this because the stock JBed does not support CDC. I have tried to find out but it is not perfectly clear and I will have to pay for a JVM to test my theory out if nobody can advise!
Thanks for help
Gazza
MOD EDIT
Moved to Themes, Applications and Software forum (?) as not related to rom development
I'd seriously look at JavaFX, sun released a beta of it the other day.
I really like it, it works well on the HD from my limited testing
http://javafx.com/downloads/windows.jsp
One slight flaw with the current version is that it wants to get network address even when try to search for local jar/jad on storage.
but setting it as default file association gets around that one..
JavaFX
Downloading as I write....
Thanks for your advice I appreciate it. As you may know, as a newcomer to development of JME it is so complicated to get started due to all the configurations so any pointers at this stage are very much appreciated.
Thanks
Gaz
OK, I have JavaFX installed on my HD and it works and I particularly like the calculator example app included with it. However, I still cannot get my CDC app to install. It says "Cannot install application because critical information is missing from the application file (.jad). I thought CDC used xml files and not JAD for descriptions. Am I wrong or is something to do with my platform/deployment configuration?
I cant see a jad file in the deploy folder either. Is this an error.
Thanks
Gaz
Nope, you still need the JAD descriptor file.
It's plain text file, just find some on the internet, open it with text editor and alter some of the properties in there, it's really easy.
Don't forget to change the path to your JAR archive - the best way is to put there just simple JAR name and copy the JAD to the same directory as JAR.
Thanks Pepcza,
I'll try that, just a thought though, if you still need a descriptor file (in this case .jad) why does'nt the Netbeans deployment process create it along with everything else? It does when creating CLDC platform apps!
Gaz
JavaFX
I think we should concentrate on this one. Youtube videos are working in bolt browser using Javafx. If only it would be a bit faster, It'll throw Jbed out of the window.

How to protect .Net applications ?

Hi,
I know that there is a program called dotfuscator that simply obfuscates most of the code but I've been trying to use it without sucess.
My program has some external dependencies (like StedySoft.SenseSDK.dll) and everytime I try to obfuscate it it gives me an error :
Error encountered while loading module (C:\Users\projects\myproject\bin\Release\StedySoft.SenseSDK.dll). Não é possível ler para além do fim da sequência.
Build Error.
Click to expand...
Click to collapse
The second part of the error is in portuguese. Translating it to English it should say something like "Cannot read beyond the end of the sequence" (whatever that means).
How can I protect my application ?
Hi,
It looks like the supporting SenseSDK DLL is obfuscated with a tool (such as .NET Reactor) that breaks its ability to be processed in any way by other tools. This includes Dotfuscator - even if it is not an input assembly, you will not be able to obfuscate your application while referencing this DLL. You will notice that Reflector and even Microsoft's ildasm tool cannot read this file.
Since this is a library which is meant for others to reference, I would guess this breaking behavior is probably caused by a mistake in the DLL author's obfuscation settings. The only thing you can do is ask the DLL's author to either turn off the options that cause the obfuscator to make the output assembly non-verifiable, or to use a different obfuscation tool which produces verifiable output assemblies, such as Dotfuscator. Or you can forgo obfuscation of your application altogether.
Breaking the output assemblies in such a way is really quite pointless anyhow, since changing the byte at 0xF4 from 0x0F to 0x10 will allow the DLL to be loaded into Reflector successfully. From there, the IL code can be dumped to disk and recompiled into an unprotected DLL.
--Brandon Siegel
Thank you very much for your clear response. I'm going to try to contact the author.

[Q] How to use DirectDraw?

Hi, I come from China.
These days, I get a problem.
That's my title said. How to use DirectDraw on Windows Mobile?
I found a file named "ddraw.h" in WM6 SDK folder.
But it is only used by c++.
I want to use DirectDraw by c# or vb.net.
Is there any idea?
Better to be a library...
Thank you!
[My English Doesn't well, Sorry.]
如果你会中文那就太好了:
这些天我遇到了一个麻烦,就是怎样在WM上使用DirectDraw
我在WM6的SDK里找到了一个ddraw.h文件
但是那是c++用的
而我是使用vb.net的
有没有办法呢?
最好是一个类库……
谢谢……
Anybody know it?
How can u draw your UI?
Did you check out http://forum.xda-developers.com/showthread.php?t=487354 and http://blogs.msdn.com/b/marcpe/archive/2006/03/03/542941.aspx which it references to as well?
The developer there seems to have similar issues and is using C# to access DirectDraw (by using a specially compiled dll.)
Since I'm no WM developer (yet), I can't help you out any further... but I'm sure some searching even on this forum alone should be able to provide you with enough information to get you started.
Oh and... welcome to xda-developers!
Thank you for your reply Art4.
I know that`s a solution. I tried to compile ddraw.h to ddraw.dll, but failed.
I'm very bad in c++, only VB.Net...
.h is just header which you include in your project (C++). The target .dll is already compiled somewhere in WM or the SDK. In that .h you can see what functions have which parameters and you can via interop and marshalling put them in your C# (or VB.NET) project and call them from there.

Categories

Resources