How to write a WM5 application?
I installed all necessary things, but i cannot find reference on develop those things in MS...
Any simple tutorial i can learn from web?
Have you installed the sdk? Many example apps + code on SMS.
V
what is SMS?
Sorry I misread. You said MS - you mean Microsoft?
Same applies. Search this forum - you're not the first person to ask this question and several people have given thoughts.
Get the sdk and read and read!
V
i have searched the forum but get nothing.
i installed all necessary software, sdk.
the only thing i want to know is the function library...
pls help.
Define 'all necessary software' please.
What IDE you are using (VS 2005, eVC)?
The search function on this site is lousy, so I recommend you search through google with the site:www.xda-developers directive.
The (very) short version of it is:
For VS 2005 - create a smart device project
For eVC - Create any project with Pocket PC / Pocket PC 2003 SDK
All necessary libraries will be added automatically by the wizard.
there really is no simple answer to your question
only more questions
do you wanna do it in .net ?
if so do you wanna do it in c# or vb (dog forbid! ) or c++
do you wanna do it in microMFC ?
do you wanna do it in pure win32
developing for pocketpc's are 99% the same as developing for a normal pc
Related
OK, here's one that you should all be able to help me with.
I am a programer, but have not yet begun to create programs for my XDA 2i. I REALLY don't know where to start... I bought MS C++ .NET with the possibly misguided impression that it was supposed to be rather like the Java virtual machine, and that I could simply whip up an exe on my PC then move it to the PPC and it would just work...
But now I'm SO confused. What's all this about SDKs and having different ones for different versions of Windows mobile? And then there's the compact .NET framework, and then there's ASP, but I'm fairly comfortable that that's a different issue entirely.
SO MY QUESTION IS THIS:
What is the simplest way for me to begin writing C/C++ programs to run on my XDA 2i? I'm not interested for the moment in phone or other connection aspects - let's say I'm trying to write a visual calculator. So simple logical operations and a simple GUI.
I have experience with MS visual studio C++, and I can use libraries when told which ones to use, but am otherwise uninterested in them.
I gather the absolute simplest solution might be to write some JScript, but I want to use .NET C++ since I forked out for it.
The trouble is, there's so much info out there. Please help, then maybe one day I can start contributing useful info to this site too.
Thanks everyone!
Phil Drew
questions and answers much like yours
http://forum.xda-developers.com/viewtopic.php?t=21786
http://forum.xda-developers.com/viewtopic.php?t=21649
download Visual Studio 2005 Beta 2 from Microsoft.. if you are a member of MSDN
hello,
glad that i found this forum
new user of an xda Wallaby, i got a few questions,i would be happy if someone could help me. so sorry again for my boring questions.
is the pocket pc software separated from the phone software ? possible to get into the phone software?
i have little experience with basic and c. which development kit is okay , i saw Visual C++ for CE but thats a big cake for me, i would shot me in this, but only if this is the right thing. i look for a language with a phone software library, (and sorry for my bad english)
Thank You
edlin
Welcome to the forum.
First of, please don't worry about language here. This is a global forum and we have people from all over the world here.
Second, do you have any experience in programing for desktop windows?
Programing for Windows Mobile (it is actually a bit different from clean Windows CE) is basically Win32 programing so you need to familiarise yourself with that.
Now, the thing is that Pocket PC 2002 i a bit of an outdated system. Forunately, it is still supported.
What you need is a collection of free tools from Microsoft which you can download here. You also need Pocket PC 2002 SDK.
This collection includes 2 compilers eMbedded Visual basic and eMbedded Visual C++. I recommend using C++ as it is more powerful and doesn't need that pesky run time support VB uses. If you have any experience with Visual Studio 6 you will find the tools easy to get used to.
As for the 'phone software' it is part of windows, but using it involves more advance programing. First of you need to know how to use Win32 API. You can find documentation on TAPI (Telephony API) and RIL (Radio Layer Interface) in MSDN.
Good luck!
hello levenum,
thank you for your "Welcome"and Your helpful posting.
i first thought that it would perhaps be easier to go with an earlier version like CE 3, but then i have more troubles with cpu specific code?
i only tasted borland c 2.0 for dos and boland c++ 5.i saw a developers interface from a friend, Visual C++5, with Extension for Writing CE Applications,
I followed Your Download-Links, could not download Pocket PC 2002 SDK cause WGA Plugin failed i surf with a mac. i will find a solution )
so i will think on your words "First of you need to know how to use Win32 API" and step into Visual C++ first, thats a live step.
Thanks for Your Helpful Hints.
Greetings,
edlin
Hi chaps,
I've just got myself an O2 XDA Orbit - great device, and now I'm looking for developing for it - just simple things at first, like a Blackjack game, or a simple Today feature with the sun and moon times on it; this sort of thing.
I've got Visual Studio .NET 2003, but I see that in order to program the latest devices, you need VS 2005 (?). So, I've downloaded Embedded Visual Studio C++ v4 with all the SDK's and I'm hoping to develop for an earlier version of Windows Mobile, and hope that it works.
So while I've got all that, I'm now stuck as to where to start! Can anyone point me to a good book, or something online which will help me through a simple CE application? How you do get the Today screen working, for example? I realise that this might be asking a lot, but a couple of pointers would be great - if you could!
Many thanks,
MrP.
I'm just starting out myself with windows mobile programming. You can find a lot of info from msdn. Here is an example Hello app.
http://msdn2.microsoft.com/en-us/library/ms912017.aspx
You can find a lot of good stuff at the code project site also.
http://www.codeproject.com/ce/
eVC has wizards that will get you going. One thing I found out about using eVC is that you won't be able to debug your programs on a WM5/6 device since the SDK's are not compatible with them. It can be a bit of a challenge to fix bugs without a debugger. I can't get the debugger to work with the emulator either for some reason.
A question for other eVC developers out there. Is it possible to use the emulator to debug programs or do you all have an old PPC2003 device that you use to do your debugging? Or have you all moved on to VS2005?
I've bought visual studio 2005 standard and it is great - it fully supports WM5/6 (with sdk) and runtime debugging - for .exe it works well but I have problems with .dll - I can't debug dll files - does anyone know how to make it?
Pleas look up threads started by vijay555.
He wrote a comprehensive article on the tools and possibilities to begin developing for these devices.
Just as a quick side note:
There is no need what so ever to pay M$ money for VS 2005 if you want to develop in C / C++.
Apps written in eVC++ 4 will work perfectly with WM 5 and 6 and if you need any missing API (not many of those) you have 2 choices:
1) Manually unpack the SDK and link to it.
2) Use implicit linking (that LoadLibrary and GetProcAdress).
levenum said:
Pleas look up threads started by vijay555.
He wrote a comprehensive article on the tools and possibilities to begin developing for these devices.
Just as a quick side note:
There is no need what so ever to pay M$ money for VS 2005 if you want to develop in C / C++.
Apps written in eVC++ 4 will work perfectly with WM 5 and 6 and if you need any missing API (not many of those) you have 2 choices:
1) Manually unpack the SDK and link to it.
2) Use implicit linking (that LoadLibrary and GetProcAdress).
Click to expand...
Click to collapse
Sorry about the delay in replying...
Many thanks for the pointers.. Just a matter of starting now!
As I'm new in this forum: Hi everybody!
I have been programming Windows CE-based devices for many years, but no experience yet with the HTC ARTEMIS (P3300). Therefore, I've a few questions and hope to get answers from this forum:
- I assume, it is possible to program visual-C++ based applications for the programme. SDK for Windows Mobile should be available at Microsoft. Is that correct?
All further questions are based on the assumption that visual-C++ (or embedded VC) is used for application development.
1. Is it possible to direclty receive incoming Short Messages (SMS) via the application? (Any keyword on how this works would also be welcome)
2. Is it possible to query the battery status from the device?
3. Can the GSM module easily be accessed and can Cell-IDs or carrier IDs be read from the device? (In particular, I want to identify the home country of the current mobile carrier) - If yes, how does it work?
4. Is it possible to restrict the appearance of the ARTEMIS. I.e., the user should only be able to access "my" application and mobile phone (voice) features. All other applications and system functions shall be hidden to the user.
Thanks in advance and kind regards,
ma_gu
yeah the stk can be downloaded and accessed from visual studio
1. i would asume so even if it had to be don with a dll hook
2. yeah many 3th party applications can display it asume there is an api call to get it
3. yeah there is an api forget the name searching in this forum should give some hits
4. yeah but if they hardreset or reflash the device it would be more troublesome
Hi Rudegar,
thanks for your fast reply. That sounds good and I think, I'll be able to find the regarding API calls (anyway, if somebody could provide some keywords, it would be very welcome).
But I have never restricted the appearance of any Windows-CE based device (question #4). How can this be done? At the beginning, I assumed that this needs rebuilding of the operating system via a system builder, but that's obviously not the case. Can you give me some hints on how to do this?
Kind regards,
ma_gu
http://forum.xda-developers.com/showthread.php?t=256646&highlight=programming
the api is called ril
depend on who you wanna develop really
1 option is making pure arm code (kinda skipping the ce) using gcc compiler for arm
2 option is the high lvl c# .net or c++ .net path but it's not that fast and dont have as much os access as pure win32 stk and even microMFC
3 option microMFC old ms class lib for c++ oop the granddad of .net you might say
4 pure win32 stk you handle the msg loop and everything more work but more power where many developrs who do today items and programs end up
if you can live with .net it's the easy path
if you want more then starting with microMFC and moving on to pure win32stk is prob the thing
java is not that well supported by wm imho
oooh yeah and you dont use platform builders and stuff like that
unless you are building roms from scratch and got access to all drivers for spc devices
you start a new project in embedded visual stuio or visual stuio 200X
and pick your path as in .net or the likes
and then you can debug using a simulator or directly on the device
it use activesync to get the exe there
otherwise you can normaly activesync the exe file to your device and run it directly
or copy it to a sd card and run it from there
Hello everybody. I am a programmer experienced in various languages. I want to create a very simple today-plugin, a launcher. It should be touch-responsive, to gestures to be more accurate. Target platform is Windows Mobile 6.1 Pro. I don't want to use wrappers and user-made frameworks and stuff for this, I want to write a professional app. .NET Framework is okay but I don't want to use technologies that are not made by Microsoft. Period. Okay now what I need to know is how do I do this? First I need to know which apps to get. I suppose I will need Visual Studio? Which Version? I'm downloading "Windows Mobile 6 SDK Refresh Kit" at this time. How do I proceed? Is there any sample code? I'm not looking for a huge file. I would like a quick success. Maybe I'll go into some more detail: Basically I want a fully transparent plugin, 480 x 480 px. Users should be able to move their finger from the center in 8 directions and the plugin will then launch the program associated with that direction. That's it. I hope you can help me with this. By the way, I have used the search function and I have found some threads and followed most links I encountered but it's not up to date or not what I want, so frogive me for posting another thread.
hi,
First of all, you can't use .NET Compact Framework for Today Plugin development. It has to be C++ native code AFAIK because it's a .dll - you can't have managed code DLLs.
You need Visual Studio with Smart Device Project support. I'm using VS 2008 Professional, because that's the only version that has it. Standard, Express etc doesn't have that.
You'll need that WM 6 SDK you're already downloading.
Visual Studio has a very nice Device Emulator if you don't have a device to use, but you need to download device emulator images with windows mobile 6. It's somewhere on MSDN in separate package.
I don't have any experience in today plugin development, but I'm sure you'll find a lot of resources and articles about it on:
- http://msdn.microsoft.com
- http://social.msdn.microsoft.com/Forums/en-US/category/smartdevicedevelopment
- http://codeproject.com
You could start off by reading the sticky!
http://forum.xda-developers.com/showthread.php?t=445396
ather90 said:
You could start off by reading the sticky!
http://forum.xda-developers.com/showthread.php?t=445396
Click to expand...
Click to collapse
I DID see this thread, but I don't want to search download install and configure 20 apps out of which I only need 2 for my purpose. Thanks to grzegorzaksamit for the information. I will organize VS 2008 then. Any other help regarding the actual development is highly appreciated!
Firefall! said:
I DID see this thread, but I don't want to search download install and configure 20 apps out of which I only need 2 for my purpose. Thanks to grzegorzaksamit for the information. I will organize VS 2008 then. Any other help regarding the actual development is highly appreciated!
Click to expand...
Click to collapse
There is an example in either the WM5 or WM6 SDK.