I use Visual Studio 6 and 2005 at work, and was wondering what development environment you use for writing applications etc, for the Exec. I installed WinCE C++ v4.0 yesturday and the .exe built for the ARM processor wouldn't run!
Dev env for WMobile 5
Visual Studio 2003 or 2005 work fine.
(you can get the "academic" version if you are a student for less than £50)
with 2003 you have to make smartdevice projects and write them in c#
in 2005 you should be able to do MFC and win32 in c++ as well
Thanks.
Which ever IDE you use, you need to download Pocket PC SDK from MS (it's free) for Window Mobile 5.
You can also use eVC 4, but you need to install SP 4 for it, and PPC SDK for Windows Mobile 2003 (it won't recognise WM5 SDK).
Sorry to be a pain but I have not written software targeted at WinCE/WM before.
I have installed eVC4, Microsoft Pocket PC 2003 SDK, SP3 and SP4. I can debug with the Pocket PC Emulator fine, but when I try to debug or install in release mode on the O2 Exec (which is connected) I get the following warning dialog: "CE platform pocket pc 2003 does not match remote os version 501". :?
I do not want to write software for the PPC using .NET (although I write in C# at work, as well as MFC/ATL C++), as in my opinion the PPC isn't fast enough for managed code. So how can I write apps' for the O2 Exec using eVC4 :?:
Hi VZ800!
You are right about .NET, those apps are more sluggish then native code.
Don't worry about the warning, just click yes, then you going to get another warning, something about CPU type, click yes on that one two.
The eVc *****es because it's not familiar with WM5 devices, but your program will run fine. In fact, I used eVc 3, to write programs for WM5 that were backwards compatible with WM 2002 and they worked fine (although eVc 3 can't connect to the device so I had to copy the exe manually).
The debugger should work as well, though I try to avoid it since it some times takes a long time to connect.
If all you need is some debug prints, no watches or brake points, you might be better off writing to a file with the old fopen, fprintf, funcs. which come in both ASCII and Unicode (wfprintf) versions.
Good luck!
Thanks, I'll give it another go tomorrow.
Related
What is the very basic programming in making applications to wm2003? like visualbasic 6.0 in the PC in there visual basic for pocket pc? Thanks Where can i get it?
there is visual studio 2003 .net
Hi,
I have started to code quite a bit for Windows Mobile 2003 and have not looked back )
You can try several different routes, the easiest and least expensive is to download the Micrsoft WM2003 SDK from their site (easier to do a google search for Windows Mobile 2003 SDK). You will need to download the SDK(s) as well as either eVB or eVC (eVB is your best option as its very similar to Visual Basic), however these tools are still quite 'hardcore' and require a fair amount of investment from you.
In addition to eVB you can try AppForge for Visual Basic 6.0 which plug's into VB6 and allows you create feature rich WM2003 applications, AppForge also installs a Booster tool on your Pocket PC device which greatly enhances he speed of the the VB apps.
The best route in my opinion is to download the Visual Studio 2005 Express Beta tools. Microsoft took Visual Studio.NET 2003 and updated allot of the tool sets, added more Mobile Device support and split up the different modules (so you will have to download what you need, i.e VB.NET Express). If you have the money you can fork out for the professional version of Visual Studio.NET 2003 which includes fulll support of Pocket PC/Windows Mobile 2003 & Smartphone devices (some through the download of the correct SDK, VS.NET can use emulators to run apps through the IDE without the need for a physical device docked with the main host).
Finally, to imporve your VB.NET coding experience and make the job of developing Pocket PC/Windows Mible 2003 apps, you can purchase (download available) a copy of AppForge CrossFire for .NET which allows you to use the Visual Studio.NET Visual Basic or C# languages.
Personally, I code nearly all of my Pocket PC apps in Visual Studio.NET 2003 using the C# lnaguage (I an one of the rare people who love C proramming)..
Cheers,
Taz
Wow.. I started this thread since sept 23 and got a new reply now.. this is a dead thread but you revived it.. thanx for your help now im currently donwloading the SDK... Thanx
I have been learning to use visual studio 2005 and I am getting stuck on the output. My target device is a pocket pc 2003 device but the exe only will run on a wm2005 device. I have not installed the wm2005 sdk, i am using the sdk that comes with visual studio for wm2003 devices.
I have tried replacing the $(CEVER) in the preprocessor definitions that translates to 0x0420 with lower values like 0x0300 but that generates so many errors that can't be the solution. Dose wm2003se require a different sdk from the one that ships with visual studio?
Can anyone offer a solution?
I found the cause.
I was using mfc as a shared library. The version of that dll on my mini is different (same name) from that on my dopod. When I statically link It all works. But thats no good because it triples the size of the app.
the real question is how do i get my wm2003 app to use the new version of mfc. I want to use mfc80u.dll instead of the mfcce300.dll, how?
WindowsMobile
bluecove on Windows Mobile
Introduction
Current BlueCove winsock (Microsoft Bluetooth stack) and WIDCOMM code are compiled for Windows Mobile.
Version 2.0.0 has been tested with following JVMs:
Mysaifu JVM v0.3.3 - An open-source (GPL v.2 license) Java VM on Windows Mobile 2003
IBMs WebSphere Everyplace Micro Environment v5.7.2, CDC 1.0/Foundation 1.0/Personal Profile 1.0 for Windows XP/X86
IBMs WebSphere Everyplace Micro Environment v6.1.1, CDC 1.0/Foundation 1.0/Personal Profile 1.0 for Windows XP/X86 and Windows Mobile 2003
IBMs WebSphere Everyplace Micro Environment v5.7.2, CLDC 1.1, MIDP 2.0 for Windows XP/X86.
Windows Mobile devices with Microsoft Bluetooth Stack
Windows Mobile 2003 Phone Edition with Microsoft Bluetooth Stack
Motorola MPx220
E-Plus PDA 2
O2 XDA II (T-Mobile MDA-II)
Qtek 2020
Samsung SGH-i1300
T-Mobile SDA
Vodafone VPA II
I-mate JAM
Windows Mobile 5 Phone with Microsoft Bluetooth Stack
T-Mobile MDA
QTek 9100
Windows Mobile 5 with Microsoft Bluetooth Stack
Dell Axim X51v
Windows Mobile devices with WIDCOMM Bluetooth Stack
All other not listed above
JSR-82 Installation for IBM J9 on Windows Mobile
J9 for MIDP 2.0 Profile
Copy to bluecove.jar %J9_HOME%\lib\jclMidp20\ext directory
Copy intelbth_ce.dll or bluecove_ce.dll to %J9_HOME%\bin directory
run app "%J9_HOME%\bin\j9.exe" -jcl:midp20 -Dmicroedition.connection.pkgs=com.intel.bluetooth -cp yourMidpApp.jar "-jxe:%J9_HOME%\lib\jclMidp20\jclMidp20.jxe" yourMidpApp.jad
J9 for Personal Profile 1.0
Add bluecove.jar to your classpath
Add system property -Dmicroedition.connection.pkgs=com.intel.bluetooth when running your application to enable JSR-82 connections.
This LetS U Use J2me Bluetooth midlets
More InFo AND Downloads Here Tried It With IBM J9 and it works Now all we need is MMAPI 4 JAVA AND WE ARE HAppy WIf JAVA
http://code.google.com/p/bluecove/
Thanks, I give it a try to see how it works under J9.
BTW, what real-world MIDlets did you test it with? I've been testing it (6.1.1 on the Dell Axim x51v) with Blooover ( http://trifinite.org/trifinite_stuff_blooover.html ); it discovered the other BT devices but the subsequent attcking (as opposed to the Nokia N95, which runs the MIDlet just great) didn't work, unlike with Nokia's KVM. Tested this under both the MS and the Widcomm BT stack.
Just gathering the Nokia add-on classes so that I can also deploy 3D Constructo Combat (a great multiplayer game). Do you happen to know where these classes can be downloaded from?
Well Tried
I tried the super bluetooth hack it hacks and bctest.jar and as for the jsr 184 class library i havent found it yet i however f0und the location api and the comm plugin 4 j9 what i have gatherd each class library comes with a dll and a jar eg fileconn.dll and fileconn.jar so all we have to do is find jsr 184.dll with its jar maybe some developer can make some plugin by the way jsr 135 is offered by ibm but you gotta purchase it which is crap
defcomg said:
I tried the super bluetooth hack it hacks and bctest.jar
Click to expand...
Click to collapse
Thanks, found them; I give them a try too.
defcomg said:
and as for the jsr 184 class library i havent found it yet i however f0und the location api and the comm plugin 4 j9 what i have gatherd each class library comes with a dll and a jar eg fileconn.dll and fileconn.jar so all we have to do is find jsr 184.dll with its jar maybe some developer can make some plugin
Click to expand...
Click to collapse
Are you sure IBM has bothered to release a M3G DLL? They may not even know there are 3D game sout there...
by the way jsr 135 is offered by ibm
Click to expand...
Click to collapse
Thanks for the tip; I'll update the MIDlet Bible with the info.
BTW, do you happen to know where the the Nokia add-on classes can be downloaded from?
java
how can i put java on the 8125 wizard os wm6 pro tnt 5.0
kevkev said:
how can i put java on the 8125 wizard os wm6 pro tnt 5.0
Click to expand...
Click to collapse
read the MIDlet Bible in the Wiki
I D0nt Get Ya
What Nokia add on classes Maybe u Mean Nokia api check here http://www.microemu.org/ they talk about those api's but if you want to play or run midlets ment for nokia i think you would need to put com.nokia. into the jar you wana excute there was a 2D Multiplayer Game that would run on j9 i think it was Beach Rally 2 it came pre-defined on the nokia 6230 when n0kia introduced jsr 82 on S40 plattform. Is It Possible to embedd a JvM into the Win Ce 0s Like Symbian v2 and above So u can just Excute a jar like a exe from start menu
defcomg said:
What Nokia add on classes Maybe u Mean Nokia api check here http://www.microemu.org/ they talk about those api's but if you want to play or run midlets ment for nokia i think you would need to put com.nokia. into the jar
Click to expand...
Click to collapse
Thanks, in the menatime, I've found them at http://4pda.ru/forum/attach/467061/Adapted.zip - working great.
defcomg said:
you wana excute there was a 2D Multiplayer Game that would run on j9 i think it was Beach Rally 2 it came pre-defined on the nokia 6230 when n0kia introduced jsr 82 on S40 plattform
Click to expand...
Click to collapse
Thanks, I'll give it a try.
Updated the Wiki with the new info : http://wiki.xda-developers.com/index.php?pagename=The (Java) MIDlet Bible
Samsung i900 Omnia supports JSR82
I have tried it and works great. I have tried to copy to my HTC Diamind but it does not work.
Maybe somebody more experienced on this area can make it work.
Regards
Thanks Menneisyys & Defcomg for the info regarding JSR-82 & Java support on Windows Mobile devices.
I'm trying to get a J2ME program working on WM5+ devices using the Bluetooth to connect to another device. The application works 100% on Nokia phones (I've tested it on a Nokia N95).
The installation of IBM J9 6.1.0 MIDP 2.0 with the BlueCove 2.1.0 Bluetooth stack onto a HTC TyTN II was actually quit simple. Eventually I did it a bit different from how it was described in the MIDlet Bible. I've installed the IBM J9 6.1.0 MIDP 2.0 (currently unable to get hold of the 6.1.1 eval version) by running the cab-file, added the bluecove-2.1.0.jar to the J9's \lib\jclMidp20\ext\ folder and extracted the two _ec.dll files from the bluecove jar-file to he J9's \bin\ folder.
On that HTC phone it wasn't necessary (using the MIDlet Bible as base reference) to copy the other 2 dll files or to remove the javax.microedition package from the BlueCove jar-file.
The device discovery works fine on it, although the service discovery still has some issues. Sometimes it discovers my external device's serial port service, but usually it doesn't. It even connects & communicates 100% with my external device using serial communication over BT. I have no idea why the service discovery fails most of the time. Sometimes I get it to work by disabling & enabling the BT before running the MIDlet. Any ideas? Is it possible to use BlueCove for the device discovery and connection & another BT stack for the service discovery?
I'm also using the same BlueCove-2.1.0.jar file along with the MicroEmulator on Windows XP/Vista and it works like a charm! Only problem that I've got there is that the MicroEmulator does not display the NetBeans TableItem.
Regards
Chris
Hi @ll codejunkies
i want to start developing/programming without the .NET CompactFramework for our WM5/WM6 Devices..
Till now, i used Visual Studio 2005, but i think with .NET the program is only "interpreted". Now i want to compile a program that don´t need the Framework for .NET.
So my question: Which Programming Languages are available to develop this "real" exe-Programs?? and what GUIs and Compilers i can use for it?
thanxx 2 @ll
The only real option without using runtime libraries such as the .NET framework is C++.
Is therefor a SDK?
You use the same SDK you were using all along. Infact, you can even use the same Visual Studio you were using all along. Just select Visual C++ on project type, and select smart device solution, and you're ready to go! . You'll have to have extensive use of the win32 api to get started though. The basics are EXACTLY the same as the desktop version.
on the microsoft Homepage i found out, that the SKD for WM6 only support .NET???
how can i then develop and compile then to native code, without use .NET Framework????
nEuDy said:
on the microsoft Homepage i found out, that the SKD for WM6 only support .NET???
how can i then develop and compile then to native code, without use .NET Framework????
Click to expand...
Click to collapse
The SDK supports C++ as well. Visit the MSDN site for technical documentation.
nuEdy: It`s not true, SDK has tools and documetation for managed and of course native development.
As mentioned above. Embedded C++ version 4.0. Free download from the Microsoft website. Compiles for the WM 2003 SE platform SDK included in this download. Without .NET you will have to use the standard WIN32 application model, responding to WM_XXXXXX messages via WIN32 API calls. If you haven't done this before, you will have a long hard slog to master it, but the results are worth it. Start by looking at the code created by the hello world app until you understand what the hell is going on. Release .EXEs can be run directly under the WM6 SDK as this is a true ARM emulator, not the half way x86 code used by the 2003 SE SDK.
Stick to two menubar items and WM6 will display them either side of the keyboard icon as per WM6 Apps. More than two and the menubar appears in WM2002/3 mode.
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
ronschaefer said:
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
Click to expand...
Click to collapse
WHAT kind of applications you are trying to write?
Do you need to write a device driver for your PDA?
ronschaefer said:
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
Click to expand...
Click to collapse
You should be able to do it with visual studio and the emulator, im not 100% sure though, I only know a limited amount of Java.
Most phones support .net/C#/Java, so pick a language
What I want to write
Just some fun stuff =
One idea I had is a generic sound simulator, tie buttons to different sound - .wav files; animal sounds, machine sounds, phasor blasts, drum kit, theme music like - http://www.thinkgeek.com/tshirts/illuminated/a5bf/
I want to have it look nice too with decent graphics.
i suggest to use Visual Studio 2005 or 2008.
It's simplest way to start (and continue) to write programs.
Both native and NET technologies are supported. C++ and C# available.
Both VS versions are coming with integrated Device Emulator with WM5(VS2005) and WM6(VS2008) images for PDA/PDAPhone/SP and remote debugger for real PDA/PDAPhone/SP devices.
If you are using VS2005/2008. Download the latest Windows Mobile 6 SDK (Standard and Pro) for the best Emulation.
Ta
Dave
but c# only works with .net
where c++ works with win32(native) microMFC(Native) and .net
more info can be found
http://forum.xda-developers.com/showthread.php?t=380069&highlight=programming
http://forum.xda-developers.com/showthread.php?t=382995&highlight=programming
http://forum.xda-developers.com/showthread.php?t=226412&highlight=programming
http://forum.xda-developers.com/showthread.php?t=336251&highlight=programming
http://forum.xda-developers.com/showthread.php?t=305926&highlight=programming
http://forum.xda-developers.com/showthread.php?t=302548&highlight=programming
http://forum.xda-developers.com/showthread.php?t=228043&highlight=programming
http://forum.xda-developers.com/showthread.php?t=317913&highlight=programming
http://forum.xda-developers.com/showthread.php?t=237932&highlight=programming
yes, С# is for NET only. This language appeared together with NET technology as alternative to Java after breakup with SUN
C# is closer to BASIC than C++. I, personally, don't recommend C#. Ths "strange" language is for lazy people. Almost nothing left of C++ and its ideology.
Visual Studio 2008 Pro trial version
Thanks for you advice - i deleted all that embedded C++ stuff - was way too confusing, must have had like 8 programs installed and still was not working - I like the idea of just 3 things the visual studio and the 2 WM6 SDKs
Im going to try the visual studio 2008 - there is a trial version of it for 90 days
http://msdn.microsoft.com/en-us/vstudio/products/aa700831.aspx
Would i be better off with the 2005 version as Im using Xp not Vista on my main computer. Should I get the Try Visual Studio "Team System" 2008 - Trial Software or just stick with the regular one i downloaded?
I also downloaded the standard and professional WM6 SDKs
http://www.microsoft.com/downloads/...745-88EF-3D48091A390B&displaylang=en#filelist
I used embedded visual tools in the past (3 and 4). Be aware that you cannot use the WM5 SDK with eVC, you must use Visual Studio for that. The latest thing usable with eVC is the WM2003 SDK, as far as I know. Also, the emulator handling in eVC was quite sluggish and buggy. When I switched to VS2005, it was like a deliverance to me. Also, the help system in VS is a blessing. *g*
Though I used Delphi's VCL in the past, I would never freely touch such a thing on restricted hardware such as in PDAs. Hence, .NET, MFC and of course *cough* Java *cough* are out of the question. I'm a pure C++ writer. The progs are nicely small and fast. And there are always alternatives to the things I can't use because of that: for instance instead of MFC CStrings I got acquainted with STL library's strings. There's also ATL which supposedly can be used instead of MFC for GUI programming, but when I looked for it some years back I found only very little information about that.
Happy coding.
Is it true that you can only develop WinMo C++ in VS Pro?
I read on the Microsoft marketplace that the standard edition dosnt support mobiles..
are there any alternatives (C++ only please..)
yes they only support through pro... but you can get it for free through dreamspark if you are a student
joel2009 said:
yes they only support through pro... but you can get it for free through dreamspark if you are a student
Click to expand...
Click to collapse
damn, I am a student but my uni isnt listed
I asked one of the admins and they are looking into getting on the list
But it might be too late coz its my last year..
Mic159 said:
damn, I am a student but my uni isnt listed
I asked one of the admins and they are looking into getting on the list
But it might be too late coz its my last year..
Click to expand...
Click to collapse
Good news. My uni isn't listed either. It is a simple matter of verifying your student status on journey ed. I'm glad I could help with this because it turns out that I could get all the dreamspark software through my school's MSDNAA program anyways.