want to start ppc programming ! - Windows Mobile Development and Hacking General

Hello people. I see lot of you make very nice programs for ppc's, so now also want to try with it. I have experiences in programming windows application with JAVA and C# (.NET using visual studio).
But if i want to programming for windows mobile, which software do i need to use, and can anyone give me some beginner guide? I preferred to work with C# or JAVA.
Thanks in advance.
Kay.

KayDK said:
Hello people. I see lot of you make very nice programs for ppc's, so now also want to try with it. I have experiences in programming windows application with JAVA and C# (.NET using visual studio).
But if i want to programming for windows mobile, which software do i need to use, and can anyone give me some beginner guide? I preferred to work with C# or JAVA.
Thanks in advance.
Kay.
Click to expand...
Click to collapse
You can use Visual Studio 2005 to develop in C#.
You can use EWE (www.ewesoft.com) to develop in Java.
You can use the (free) Microsoft C# compiler itself and compile using the GAC libraries on your device (take a look at this topic).
You can use eMbedded Visual C++ or eMbedded Visual Basic, but I think it's better to use C# if possible.
As you see, there are many choices.
If you have experience with C#, however, I suggest you to start using Visual Studio 2005 and move to the C# compiler (if you have licensing problems) after you learnt the differences between the .NET Framework and the .NET Compact Framework. This way you can benefit of a RAD environment such as Visual Studio while using your knowledge of C#.
If you want more specific information about some WM-specific features, just check the Internet. I think the most important features are the PIM (and, consequently, the Pocket Outlook Object Model also known as POOM), the Comm Manager and the SIP (Soft Input Panel... the virtual keyboard). Should you need to interact with ActiveSync you should also check the Remote API (RAPI) of Windows CE.
The MSDN Library is also a great reference if you need information about Windows Mobile API's. When you'll need to use these API's into C#, take a look at www.pinvoke.net.

Related

What's the best development language for XDA II

Greetings from Ireland,
About a year or two I did some development for PocketPC 2002 using eVB [no sniggering ] but now want to start dabbeling in PPC2003. What options do I have as far as development enviornments go. I'd prefare not to have to fork out over €1000 for Visual Studio .NET but don't mind paying €100 or €200 for a decent package.
I'd also prefare not to use eVC4++ but will as a last resort.
So basically.... What tools to you guys and/or girls use and what do you think of them?
Sorry if this question has been asked before, but I couldn't find it if it was.
Regards
Keith Burke
Dublin, Ireland.
I use C++ and EVC4.
This stays, in my opinion, the best way to develop application for embedded platform. The c++ allows you to optimize correctly and to have little footprints ...
EVB must be, of course, forgotten as it is slow and requires runtime.
.Net is a way but as you tell, you have to pay the dev environment ... and it is (still in my opinion ) more big and less easy to optimize...
It also depends on your application...
The best?
Of course - Visual Studio .NET
I use Visual Studio and .Net
.net is not a language it's a platform
.net can be program'd from both vb, asp, c++, and c#
personaly i would never use anything else then c++ or maybe c#
but of cause people are difference
I've uploaded GCC compiler which can build console/GUI WinCE applications, and DLLs:
http://mamaich.kasone.com/fr_pocket.htm
There are 2 versions: Windows (needs CygWin installed) and native PocketPC (idea and name is taken from PGCC project, but we use different compiler versions and runtime). There are some examples in pgcc.rar (dll, console and gui apps, SDL example).
I've successfully compiled DosBox, Bochs and several other open-source projects with this compiler.
If you want to do .NET development but don't want to pay take a look at http://www.icsharpcode.net/OpenSource/SD/
Jamie
well thats not for pocketpc is it ?
but while we are at it
http://www.go-mono.com/
if you want to develop c# using .net for linux
but they have a version which works on windows aswell
As long as you stick to the compact framework, any .NET app will run on the PocketPC even if it was aimed at the desktop . . . . .
Jamie
Having said that I've just tried making an app in Sharp Develop and it doesn't seem to want to run on my XDAII.
I have made a desktop app in Visual Studio .NET and run it on the XDAII before so I'm sure it is possible!
Jamie
also have a look to NS basic
www.nsbasic.com
I use C++ and eVC4, on top of it, I use WTL7.1
Much easier to program using WTL then native win32 api and without the trouble of MFC

Tools required for programming Pocket PC?

It's been years since I finished college (Passed exams with VB4 / 5) - been using VB6 for quite some time no too, recently bought an XDA2 and would like to develop some software for it to achieve a few tasks of mine - I'm not onboard the .NET boat yet (I am planning an update course at college soon to get me up to speed) - in the interim what tools can be used to develop for the PocketPC platform?
Many thanks in advance!
visual studio .net 2003 you can choose vb smart device application
not sure if it's using .net since i havent don any vb since 94 and dont plan to again
or embedded visual c++ if you can do c++ and pure win32 pocket or MFC
Rudegar said:
visual studio .net 2003 you can choose vb smart device application
not sure if it's using .net since i havent don any vb since 94 and dont plan to again
or embedded visual c++ if you can do c++ and pure win32 pocket or MFC
Click to expand...
Click to collapse
I studied C++ and did quite well with it at college, not used it in the 'real world' though, nor have I for quite some time! I use VB for work so I'd rather stick with that. Looks like I'd best get my derriere into .net sharpish!
Cheers.
You can use embedded VB with the Microsoft Embedded Visual Tools - obtainable here: http://www.microsoft.com/downloads/...48-31ee-4cbe-aac5-0affd5fb27dd&displaylang=en
Applications developed with embedded VB would require runtime libraries to be installed on the device.
Of course, this has been superceded by the .NET Compact Framework model which is being pushed heavily by Microsoft.
Personally, I prefer to use embedded C++ because an awful lot of what I want to do is not supported by the .NET Compact Framework.

learn to make program.

good day!
can anybody please tell me what to use and how to make a program for a PPC?
i just want to learn.
thanks a lot.
- Microsoft eMbedded Visual c++ 4.0 (IDE)
- Microsoft PPC 2003 SDK
Thats for c++ development. Can also do VB if you like.
A device for testing is handy as well... and some patience.
or visual studio 2003 .net if you want to do .net applications
here are some links to pocketpc code examples
http://forum.xda-developers.com/viewtopic.php?t=21786&highlight=today+plugin
Perhaps the best tool to make PPC apps is NsBasic http://www.nsbasic.com/ce/

Beginner Programmer

Hi all,
I´d like to start programming my own apps for my Magician.
Where do I start?
I used to programm thingys for my psion with the build in language, now I want to do something like that for my magician.
So, I do have some (limmited) programming experience and I am not afraid to learn a new/other programming language.
If someone could point me in the right direction, (programming language, compilers, tutorials, books, etc.) that would be a great help.
Greetz,
Pfeffa-rah
www.codeguru.com good programming site
languages i would recommend c# or c++
c++ you can develop in embedded visual studio which is free
c# you can develop in visual studio .net
Embedden Visual Studio??
Hi,
Thanks for that.
I found a "book" about c++ here:
http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html
Through CodeGuru, that seems to be verry usefull.
Now I need Embedded Visual Studio (This is the compiler? etc.?) but I can´t seem to find it anywhere. When I google, I get a lot of hits but non seem to realy lead to a propper download of Embedded Visual Studio, but to all kinds of other visual .net and VB. Esspecially the MS site throws me off ballance with a lot of stuff that I don´t know anything about and of witch I don´t know if it´s the right stuff to download....
Could you tell me where to download Embedded Visual Studio?
Greetz,
Pfeffa-rah
Version 3.0 (includes Embedded Visual Basic)
http://www.microsoft.com/downloads/...48-31EE-4CBE-AAC5-0AFFD5FB27DD&displaylang=en
Version 4 (for PPC2003)
http://msdn.microsoft.com/mobility/othertech/eVisualc/howtoget/default.aspx
I would also recommend the book Programming Microsoft Windows CE by Douglas Boling
developpement ppc
hi
i think you can begin here
www.pocketpcdn.com after you installed developement tool kit:
evc or visual studio
Have a nice time

Developing WM6 without CompactFramework??

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.

Categories

Resources