[REQ] GpsID ported to VB - Touch HD Themes and Apps

Hi all out there.
I'm a newbie in this forum, and as such I'm not sure if this is the right place for this inquiry.
Has anybody been successful porting GpsID from C# to VBasic ? I've already done my try but I'm stuck cause my VB version doesn't seem to be raising correctly the events.
Or the VB program using the classes is deaf and can't see the raised events.
Appart from that, the main program works perfectly well in my Blackstone with the C# compiled GpsID.dll, so the problem seems to be in the ported side ... but can't find it.
Is anybody willing to help/test/debug it?
Thanks in advance.

It works !!
Fully working copy of VbGpsID.dll if anyone is interested. Just put the two attached files in any WM6.x smartphone or PDA, and run UseVbGpsID sample program.
It'll tell you if it works for your OEM Gps drivers. If not, let me know.
It has been compiled with VB 2008, for Compact Framework 3.5.

it works...
Thanks, i was looking for this dll for long time....

Related

Today plugins

Recently i was thinking about creating an app which would show me my remaining calltime with one of polish prepaid services. I imagine it would work like that:
1. receiving a specific text message with my account balance from my operator the app would capture it and store the value
2. after each call being made operator sends sms with call cost. this should be deducted from previously stored value. etc etc.
3. value should be displayed somewhere, like on today plugin...
seems simple, but theres a catch;] i can't code for WM5. i just got myself delphi 2006 today and i see it has limited CF support so i can create applicatons... but am i able to create Dlls? also i don't have clue about creating dll's at all, especialy those for WM5. is it even possible with .net? is there any chance for me?
i know, i know, i shoud start to use c++ long time ago, but i'm affraid it' might be a bit to late for me;]
ps. is there anything like WM5 sdk, any guide kit for programmers, specs of any kind? where to look for it? thanks for any help. please note, i'd like to become one of you guys, i could even be of some value;]
heard somewhere that today plugins
cant be written in .net
here is a link to the subject of today plugins
http://forum.xda-developers.com:80/showthread.php?t=234162&highlight=codeguru
thanks, gonna try it in a minute.
(today unbelievable happened - my wizards battery got empty )
interesting. i'll consider switching to c++. as far as i understand it's not normal C, its some kind of mobile oriented c? but no connection with .net? how does it work?
Ok.
C++ is an extension of C to include object oriented programming. The language is not specific for mobile devices, so any book / article on the subject will do for starters.
I taught my self C++ after learning Pascal (Delphi is for Pascal right?) in school and it was quite easy because the languages have similar structure.
Your second stop is to learn WIN32 programming. I don't know how Delphi deals with APIs and function exports (that's what you need for DLLs).
Basically WM programming is very similar to desktop windows programming, except for a few miner difference (like all APIs using only Unicode).
You can download a free development tool called eVC 4 from MS. It looks exactly like Visual Studio 6 if you have any experience with that.
Unfortunately system DLLs like plugins can not be written using .NET but if you search MSDN (I really don't remember the link), there is an article on how to use a basic C++ DLL for the plugin and delegate all the real functionality to a .NET DLL.
Good luck.
yes, delphi is much like pascal
i know it's not that hard if you mean the structure. i just don't know how to start. in fact i got myself evc yesterday, after what you say i'll take good lok at it as soon as i prepare some room on my HD.
Delphi does well with windows api - as far as i can tell, i played with theese a bit so it shouldn't be hard to catch up when starting with c++. other thing is i never did dll, although i know how it works in general, i also used other peoples dll's in my programs. will do i hope. also, Rudegar provided us with good tutorial/example on today dlls, so i hope i'll be able to expand it. the only thing, i'm a bit anxious. you say evc is good for starters? ok, going to give it a try.
what a week, four days, four new RAD environments already
delphi is object pascal which is an extention of pascal like c++ is of c
c programs should compile without any problems in c++
Hi,
I saw a way to develop today plugins in .net : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/TodayScrn.asp?_r=1
I did not try and I guess it will slow down the device as .net is not very fast, but you can try...
Good luck

Computer Algebra System (cas) on smartphone

Hello,
I' m looking for a mathimatical software for my HTC S620. It's pretty hard to find something for wm5 smartphone edition.
I could't install qdCAS, because it's for ppc the same as TI Emulator.
I've also found some j2me apps jasymca (compatibel to maxima) and FnattLabME (compatbile to Matlab). But I could not get it to run. there is just a blanc screen. other java apps are working just fine, so my java engine isn't messed up. Here's the homepage with the documentation
I tried also MobileMath, but I cant set up the keys properly.
Any help or hint would be great
Hi again,
I've found two programs that are native for windows mobile ppc.
qdcas - a frontend for the well known xcas. the desktop version can also execute texas instruments ti-98 and ti-200 voyage programs, may be the ppc version too. an other (better) frontend for xcas is "math table", but it's not for free. xcas is working on wm5 smartphone (S620), But it has no gui. the input/output works through text files. very unconvinient on smartphone. i believe qdcas is open source.
YacasCE - PPC port from yacas. works whith gnuplotCE and you can switch to xcas as the backend. the gui is better than qdcas, because you can point on the function instead typing the commands. further more it has a console with pocketconsole like MSDOS. it doesn't start on s620 at all. the developer doesnt have time for making a sp editon, but he would give the source code for developing it. unfortunatly I don't have programming skills in c++, eVC, visual studio 2005.
can some one port one of these apps to wm5 sp, please?
regards Joeboy

Question for software developers

Hi all,
I don't know if this is the right place to post or not, but what IDEs do you guys use to develop software for windows mobile 6? I'm using Visual Studio 2010 beta because I don't want to pay for VS, but it doesn't like the WM6 SDK. I found that SharpDevelop3 works just fine if you write compact framework apps, but I can't find the info to write apps that use the radio/gps/g-sensor etc.
Are there any developers out there that could point me in the right direction? I'm willing to help out if you have a project you are getting stuck with. I've been working mainly with Basic and C#, but I'd like to expand.
VS2008. The radio/gps/g-sensor stuff isn't included in the .NET framework, so you'll need to find external libraries for working with them.

SharpDevelop: a VERY simple question from a beginner

Hi everyone.
I'm a beginner in Pocket PC / Smartphone development, though i have some (amateur) experience in creating PC apps (Delphi, C++)
So i just need a "kick start" to begin working on PPC apps. Like, a code to make an app that draws a window with "Hello world" and an OK button in it, you know
I've downloaded the SharpDevelop environment, because it looked like the best freeware alternative to Visual Studio. However, i have to admit i've downloaded the 1.x version, as i have a very old computer. But if it's critical, i can try and install 2.x or 3.x.
Anyway, the question is: how do i create a project for Pocket PC / Smartphone? All i see are options to create PC projects... But i saw SharpDevelop in the D&H wiki, so there must be a way to use it for it, right?
Big thanks in advance for answering my very silly question
upd: also, do i need any special device emulators to run the project, or... w/e
kiruch said:
Hi everyone.
I'm a beginner in Pocket PC / Smartphone development, though i have some (amateur) experience in creating PC apps (Delphi, C++)
So i just need a "kick start" to begin working on PPC apps. Like, a code to make an app that draws a window with "Hello world" and an OK button in it, you know
I've downloaded the SharpDevelop environment, because it looked like the best freeware alternative to Visual Studio. However, i have to admit i've downloaded the 1.x version, as i have a very old computer. But if it's critical, i can try and install 2.x or 3.x.
Anyway, the question is: how do i create a project for Pocket PC / Smartphone? All i see are options to create PC projects... But i saw SharpDevelop in the D&H wiki, so there must be a way to use it for it, right?
Big thanks in advance for answering my very silly question
upd: also, do i need any special device emulators to run the project, or... w/e
Click to expand...
Click to collapse
It's not a silly question mate - it's a perfectly good one. Unfortunately, I don't think that you can use SharpDevelop to create .Net CF applications easily. The Windows Mobile SDKs come with plenty emulators (to answer your latter question), but they're Microsoft, and therefore they're for Visual Studio. It's really easy with Visual Studio - you just install the SDK and select a smart device as your target when you create a new project. It just works.
http://www.microsoft.com/downloads/details.aspx?FamilyID=20686a1d-97a8-4f80-bc6a-ae010e085a6e
However, as far as I'm aware, you can't use VS Express (the free version), as the SDKs only work with full versions of VS. If you can get hold of that, I'd recommend it.
I do remember seeing a website talking about using SharpDevelop with the .Net CF, but it was sketchy and didn't promise it would work. Maybe google a little more to make sure about that, but I'd strongly recommend a copy of VS Professional, if that's an option.
If you are a student, you can get VS2008 for free (www.dreamspark.com)
If you are not a student, you can get VS2010 RC for free (works for another 100 days from today).
I use Sharp Develop to program in C# for my phone, and it works fine.
However, it's possible that smartphones are only supported in version 2 and 3 (I never tried version 1).
In the newer versions, when you start a new solution, there will be an option to start a Compact Framework Project.
Some code that is automatically added when adding controls to your form, will throw errors and will have to be deleted. There is more information on that in the forums at Sharpdevelop.
Good luck!
It depends on what u want to program in. .net c# c++ ect. Tho if i were u i would try and get VS. If your going to do c++ i can provide some examples, but not for anything else xD. GL.

Porting application to work with windows mobile

I really want to port a small tool to be able to run my magic jack on my HD2. There is a really small and simple tool called MJMD5 that allows you to use your magicjack with any SIP client.
I have the source code for linux, possibly it can be compiled using cygwin for the HD2?
ftp://ftp.bauer-power.net/misc/magicjack/mjproxy.c.tgz
Also, there is a tool that works with windows, but there is a incompatibility with the GUI that isnt allowing it to run on my HD2, a small tweak should fix it.
ftp://ftp.bauer-power.net/misc/magicjack/MJMD5.zip
I am completely new to mobile software development so I hope someone could help me get this working!
Thanks
Is nobody willing to even put me in the right direction?
The source code is for a linux console app; you can't port that easily to WM GUI. You'd need the source code of the Windows exe. To my knowledge, there is no Cygwin version for WinCE yet, or were you referring to cegcc?! It could probably be ported as a console app anyway, but I assume that you want the GUI.
And using a console on the HD2 is somewhat problematic, as the OS has console debug output. I would not recommend that for user programs.
Yeah, I am referring to cegcc. I am not too concerned about the GUI, I just need the functionality, and this program doesnt really need a console, but just needs to be run with certain parameters which is possible with WinCE. So, does anyone know how to compile it for windows mobile?
I appreciate any help.
kkroo said:
Yeah, I am referring to cegcc..
Click to expand...
Click to collapse
OK; I'm reasonably sure that it can be ported with either cegcc or celib. I'd probably do it with celib. I have adapted celib to work with PocketConsole. I just tested my port of perl 5.8.8 on the HD2, and socket/internet functionality seems OK.
kkroo said:
I am not too concerned about the GUI, I just need the functionality, and this program doesnt really need a console, but just needs to be run with certain parameters which is possible with WinCE. So, does anyone know how to compile it for windows mobile?.
Click to expand...
Click to collapse
About the Windows exe, it appears to be a .NET assembly. But it may not run on Windows Mobile because it is for the desktop Framework, and not the Compact Framework. .NET assemblies can be decompiled, however. Maybe that can help you too.
I don't have this MagicJack, but from what I read about it on the internet, I doubt that it can be used with Windows CE at all if you want to plug it into the HD2 directly, and the USB connector may be different as well. I don't know if that's what you want. Depending on how it communicates with its host, you may even need a driver for it. I think that the HD2 has USB OTG, but it may still not work without a driver. I would find that out first.
In terms of recompiling it, I am pretty sure it will work. Sorry but I am a bit of a novice at this, but how would I do either compiling option?
Thanks
I would use Dis# for decompiling; I just tried to decompile the exe, and that seemed to succeed. No guarantees though; not at all tested. You can have Dis# put the source files and project files in a subdirectory. Then I'd use VS2008 for compiling.
A quick test showed that the IniFile class of this program imports unmanaged functions from kernel32, which is not present on WM. The functions are GetPrivateProfileString and WritePrivateProfileString. I don't think that coredll has them, so porting would probably not be easy. This is a known porting issue; not very severe, but it's only the start. I think that ini files are regarded as legacy by Microsoft. The registry is used for settings.
The most logical thing would seem to me to contact the developer to write a CE version if the device works with generic CE USB drivers. And then you'd still have the connector problem, and possibly even an incompatible interface; I don't know how HTC implemented the USB port. This is assuming that you want to plug it into the HD2 directly. You are not clear about that, so I can't be more specific either.
http://netdecompiler.com/download.html

Categories

Resources