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.
Related
Hi!
I'm a Programmer for Visial Basic and Delphi...
I'm not sure whitch system is the best 4 programming the XDA?
AppForge or what?
Thanx
Stevie
Each have their advantages. I would go with Embedded C++ every time, but then, I'm that kind of guy. I like lean code.
On the other hand... If you don't want to learn C++, give Embedded VB a try.
Programming
Hi!
Thanx, but U mean Visual C++ 6.0 ??? Is there anything other what I need with C++ like Appforge 4 VB? Or do I need nothing more?
Stevie
No.. I mean Embedded C++. It is available for free from microsoft
http://msdn.microsoft.com/downloads...=/msdn-files/027/001/963/msdncompositedoc.xml
>I'm not sure whitch system is the best 4 programming the XDA?
>AppForge or what?
I guess it depends on your definition of "best".
I do C++, but actually prefer Visual Basic for most
applications due to the development speed for GUI-based
stuff.
I've downloaded eMbedded Visual Basic and eMbedded C++ from
Microsoft. One problem: EVB apparently does *not* yet
support the XDA architecture (StrongARM).
The SmartPhone SDK from MS *does* support StrongARM (not
*specifically the XDA* that I can tell) but only provides the SDK
for eMbedded C++ (not EVB).
I EMAILed the MobileVB folk and they said:
1) They don't support SmartPhones.
2) They don't have any support for SMS handling.
At this point I guess I'll go to EVC++ unless I can find other
tool(sets) to use.
What *I* would like to see is script support ALA PERL or PYTHON.
Is there anyone out there that knows of a beastie like this?
Or, even better (for me) would be LINUX on the XDA (I've
been using Familiar distro on the iPAQ, and it is great .. can
do GPRS/GPS from a LINUX-based platform (C/C++/JAVA/PERL/PYTHON/whatever).
Charlie
You keep mentioning Smartphone here, and the Smartphone SDK. The XDA does not support the Smartphone SDK, as it is not a Smartphone - it runs Pocket PC 2002 Phone Edition - something completely different.
So please, don't spend several hours downloading the Smartphone SDK to find it's not the right one. Download the Pocket PC 2002 SDK. I have developed several apps for the XDA using this already.
What *I* would like to see is script support ALA PERL or PYTHON.
Is there anyone out there that knows of a beastie like this?
Click to expand...
Click to collapse
There is a PocketPC Python, you have to use the win32api to GUI work, and installation can be a little painful depending on what you need. It does run and is stable though. Check out http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage[/quote]
Hi guys
I downloaded eMbedded Visual Tools 3.0 from Microsoft, but during installation, I was asked for the Product ID #
Any help ? :?:
I'd like to throw in another suggestion: the .Net Compact Framework. If you're a Delphi programmer (as are we - I used to be on TeamB for Delphi), you'll take to it straight away. After all, .Net and C# was designed by the same Anders Hejlsberg that designed Delphi. C# is very like Object Pascal with a C/Java syntax, but with even more goodies.
We've been using the Compact Framework beta for several months and it is quite simply superb. It was just launched officially on April 26th as part of Visual Studio.Net 2003. However, you don't need to buy Visual Studio - just download the .Net 1.1 SDK from Microsoft - it's free.
It's just a subset of the full .Net Framework, but if you need to do something that's not supported directly in the Framework classes, you can easily call API functions - or even write some code in embedded VC++ and call that. The managed environment is just great.
MikeS.
When prompted for the CD Key, please enter TRT7H-KD36T-FRH8D-6QH8P-VFJHQ
Khang Le
[email protected]
Khang Le, thanks
Has anyone ever successfully installed a .NetCF on an XDA?
Am i so stupid and the XDA is one of the new .Net-build-in PPC's?
also i tryed for a whole day to connect to my XDA with my VS.Net2003 via activesync, as you may have guessed without any luck.
I dont want to use eVC, when the next generation of Languages(C#) and IDE's is already at hand
OK,
i spend the last 3 days looking for a solution and i think i finally found the reason. As far as i understand Microsoft, the Phone edition of PocketPC 2002 does not support the .NetCF. :x
But, n developer conference 2002 in London i know that i was in a "hands-on-lab", where i had a first look at the .NetCF - with a Phone-PPC (prototype by Compaq, if i remember correctly)
P.S.: Could please anybody say something about that, even if it is: "Yes, Ur right - no .Net for XDA" or (better) "You are just to stupid to install.."
thanks
Now i'm even more confused:
I took a look at my PPC-Version string and it say's:
3.0.11171 Build 11178
witch means, that it's no Phone-Edition (has Version number 3.0),
that means it should be compatible to install .NetCF.
Yet i was not able to install and im getting a little angry (but cannot decide if i should be angry over me or O2 or Microsoft).
I really was looking forward to an opportunity to use C# in a real application and not just that sample-code-then-garbage projects.
Frost_28 said:
Now i'm even more confused:
I took a look at my PPC-Version string and it say's:
3.0.11171 Build 11178
witch means, that it's no Phone-Edition (has Version number 3.0),
that means it should be compatible to install .NetCF.
Yet i was not able to install and im getting a little angry (but cannot decide if i should be angry over me or O2 or Microsoft).
I really was looking forward to an opportunity to use C# in a real application and not just that sample-code-then-garbage projects.
Click to expand...
Click to collapse
Shouldn't be a problem to use .Net CF on the XDA. A friend of mine has been doing it for months. Seems like you have a really old ROM though, ever thought about upgrading?
thanks for the reply.
My rom version is 3.14.16 GER, this should be the latest (German) Version.
I did it! Huhu, yeah!
For everyone else having problems:
with Visual Studio.Net 2003(BETA) installed,
take these files:
C:\Programm Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE\arm\*.CAB
and copy them to the Temp directory on your device, then simply execute them.
It's as easy as this and i can't imagine, why i had problems in the first place
That's odd - the VS.Net 2003 beta just downloaded the .NetCF CAB direct my XDA the first time I hit deploy with the Pocket PC selected instead of the emulator - no problem, no fuss.
However, note this: I just tried downloading the official .NetCF deployable runtime from the MS site and when I run it, it says that my device (the XDA) isn't supported.
However, I see you've already found the solution - just copy the ARM CAB to the XDA and execute it - it installs in seconds with not so much as a single question.
Good luck with the CF - we've been using it for months and it's brilliant!
MikeS.
Thank you - and you're right: it is great!
I work with it for about 2 weeks now and have already achieved more with it, than i would have with eVC in 1 month. Also is C# a really cool language. It's fun to use it.
However, that VS2003Beta didn't deploy the CF to my XDA automatically is because i (still) can't get the connection over ActiveSync work. That also means, that i can debug only with the emulator - without a radio.
Until now it was no real problem, i just started with the non-phone-part of my App. Right now i started the development of the Phone-part and i have to guess some functionality or just use so many try catch-blocks that it slows my development a bit down.
Any suggestions what i could do to get the connection running?
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
Hi,
Unfortunanately there isn't yet a lot of information available out on the net regarding development using Microsoft.WindowsMobile.DirectX namespace.
I am hoping we can start a new forum section dedicated to just this? What do you guys think?
I've only been working with it for about a week now, and I am struggling to find helpful information, and am figuring out a lot of things through trial and error (note the SDK documentation is quite thin too!).
Is there anyone else on this site that is keen to collaborate and share DirectX experiences?
i'm very interested in but i failed in basics (look here) and nobody here seems something to know about that.
one year before i gained few expieriences in direct3d. its similar but not the same to develop for mobile...
did you get running the examples of d3d from the ms mobile sdk?
heggenhugo said:
did you get running the examples of d3d from the ms mobile sdk?
Click to expand...
Click to collapse
Yea, all the examples (not) in the SDK worked. I put "not" in parentheses because it took me a long time to locate them as the are no longer included as part of the .Net compact framework SDKs or the DirectX compact framework.
I am working on a simple app now that will determine the hardwares capabilities, allowing developers to quickly discover which devices their apps/games will run on. But I am still only just getting used to the environment also.
could you send me please (or link) a working example? it would be enough to see how to create a d3d window. i want to develop an application that uses the g-sensor to navigate in a little 3d environment (for instance turn around a cube or sth like this).
ty
VB.Net D3DM Samples - DirectX Capabilities App
Here are all the MS provided examples. I have not tried them all, but most of them work (on my device). The emulators run them, but very very slowly.
I have also attached the ActiveX Capabilites Test.exe application I created which will show you exactly what DirectX features are available on a particular device.
It requires .Net 3.5 to be installed.
View attachment VB.zip - Vb.Net samples
View attachment 250790 - DirectX Capability Test (install to device)
A good start
Anyone looking to get started on Mobile DirectX Development, should start with the fundimentals of the Managed DirectX Runtimes.
I recommend "Managed DirectX 9 Kick Start - Graphics and Game Programming" by Tom Miller. It's a good start into the world of Managed DirectX.
I want to develop simple apps for Windows Mobile. I read that I can use:
---Compact Framemork. (I downloaded Sharp Develop, it is free. It also exist a program from Resco that speedup the development with C.F.)
--- C or C++ or C# (I don't know if WinMo understand these...)
---Visual Basic (is difficult and Visual Studio isn't free, but I found another program that allows to develop more simple)
---Mortscript (I think is the most simple)
---Which is the best and the most simple language?
---Where can I read or download tutorials?
---I can not develop simple apps with images and sounds yet.
Please Help!
I want to develop
-a lock screen
-an app that turn on and turn off the leds of my device
-an app that change registry values (without softreset the device)
-an app that can copy, cut and delete files
-a Soft Imput Panel (a virtual keyboard)
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Cyclonezephyrxz7 said:
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Click to expand...
Click to collapse
Thanks CycloneZephyrxz7.
I want to develop for Windows Mobile 6.X for devices with WVGA resolution.
But with Mortscript I can do less things? Because I can only write scripts.
Do you know how is written a simple app like "ClearTemp"?
I wait other replies from Devolpers and people that used these languages...