best source for learning to develope applications for windows? - Windows Mobile Software Development

First off I would like to say thank you for the developers on this website that make my phone better than ever. I would love to contribute in the same way but I lack the skills I need.
Long story short, what is the best way to learn development for wm from scratch? Are there online courses I could take? I would love some in depth training on this! Any help is greatly appreciated

Don't expect that you learn all this stuff with the waving of a magic wand, or a site that hands it all out on a plate. It is going to be a long hard slog to get any good at this......
Having said that, download the Microsoft Windows Mobile SDK for the version you want to target. Then have a look in the SAMPLES directory that gets installed with it. It will be in the \Program Files\ directory for the SDK version above. It contains several examples for C++, C#, and VB, and the C++ sampes are also WIN32 , ATL and MFC. They are also superb examples of "how to do it" code. Looking at them, and trying to understand them is a good start. The hard work is still up to you, but it is worth it.
Also try this:-
http://msdn.microsoft.com/en-us/library/ms184401.aspx

Good advice, I found looking at the videos a great help; http://msdn.microsoft.com/en-us/windowsmobile/bb495180.aspx
The only problem is, there is too much info available. For 1 solution there 6 ways to create it..For some applications on this site I asked the developer for some help. Some of them are, when online, really helpfull. Look for open source projects, not to old, and download and debug them.

Related

Wanting to learn the basics of programming

Hi guys, now I know this is a BIG request, but I was hoping someone might be interested in helping me begin to learn the different aspects of programming.
Now I know I cant just "hop on the band waggon" I need lots of training before hand in different programing languages, but the one I really want to understand is c# (thats what most windows mobile apps are built on right?)
So are there any really good recomended beginners guide you guys could suggest to me to get me started.
Sorry I must sound like I dont have a clue xD
(well I dont)
Thanks in advance
Hop on the band waggon? I guess you'd rather have to jump in cold water!
I suggest buy a book. If you actually spend the money on it then it's bigger motivation to make something out of it. There's even a book about Windows Mobile .NET programming. What else could you ask for? I don't have the link at hand but you should easily find it on Amazon.
RAMMANN said:
Hop on the band waggon? I guess you'd rather have to jump in cold water!
I suggest buy a book. If you actually spend the money on it then it's bigger motivation to make something out of it. There's even a book about Windows Mobile .NET programming. What else could you ask for? I don't have the link at hand but you should easily find it on Amazon.
Click to expand...
Click to collapse
Hey thanks for the speedy response,
are you refering to this?
http://www.amazon.co.uk/Programming...=sr_1_1?ie=UTF8&s=books&qid=1264201954&sr=8-1
It looks pretty nice, and will it teach me the basics?
yes, for example. or this one:
http://www.amazon.co.uk/Microsoft®-NET-Compact-Framework-Reference/dp/0735617252/ref=pd_sim_b_5
If you are really looking to learn programming, I would suggest against starting with Windows Mobile development. .NET framework for Windows Mobile is very lacking, and in order to do even simplest things you end up using Interops (way of calling native libraries written in C++) or searching/writing libraries on your own.
.NET (and C# by extension) is a multi-platform framework. Start with simple Windows or Web development. Read up on OOP development, find some simple examples online and start a very small, easy to write project.
Once you can write some simple applications for Windows or Web, then you might want to start looking into Windows Mobile development.
Before you start spending money on books try Microsoft's Beginner Developer Learning Centre a go. There are lots of video tutorials which will help you get the basics down http://msdn.microsoft.com/en-us/beginner/dd435692.aspx.
It's not specifically for windows mobile development, but most of what you will learn is transferable.
Once on the website, click "Windows Track" and then "Tier 1", tutorials are available for both C# and VB.NET.
The guy that made the BDLC tutorials for Microsoft also runs http://www.learnvisualstudio.net/, there are a few more free tutorials there too on more advanced topics, a subscription to the site will let you get all the videos.
And look for open source applications like "ReRemind", "Freda" or "RemoteTracker". If you debug these you can learn alot.
ajhvdb said:
And look for open source applications like ... "Freda" ... If you debug these you can learn alot.
Click to expand...
Click to collapse
No No No please don't use Freda as an educational example It's the first .NetCF app I wrote and I really am not very proud of some parts of it. In particular, I only figured out the right pattern to use for 'settings' forms after I had written several already. Some day I will go back and tidy up the code and document it properly. But right now I am still adding features ...
Jim
dont worry, if i look at my old code it's bad too but still works

Beginner Programming: Custom UI Question

I'm preparing to start a little side project, I have only very basic programming experience so I think I'm going to go with Visual Basic for the application.
What I'm having trouble with learning, is where to go to implement a custom UI if I'm not satisifed with the standard .net controls.
For example, how would I create a custom button control with my own images?
I'm struggling to find any windows mobile development tutorials around UI. Any ideas where to start looking and learning from?
I found a few links that should be useful after all:
http://msdn.microsoft.com/en-us/library/dd630622.aspx
http://msdn.microsoft.com/en-us/library/aa446518.aspx#imagebutton_topic3
http://expression.microsoft.com/en-us/dd279543.aspx
Still open suggestions or tips for a beginner though if you have any, thanks!
Don't use VB, use C#
Most examples snippets in open source I use are in c#. VB is just as good but ..
Search for UI in the WiMo forum. I opened some topics about UI also and with some answers I submitted there are some links in this forum for you to use.
Search for Sense SDK, fluid for a free UI or use controls from beemobile, resco, or myrabyte.
ajhvdb said:
Don't use VB, use C#
Most examples snippets in open source I use are in c#. VB is just as good but ..
Search for UI in the WiMo forum. I opened some topics about UI also and with some answers I submitted there are some links in this forum for you to use.
Search for Sense SDK, fluid for a free UI or use controls from beemobile, resco, or myrabyte.
Click to expand...
Click to collapse
Thank you for those tips. I've seen fluid and the Sense SDK in my searches, I'll be sure to give those a go. As it's just a small hobby, I probably won't go with the beemobile, resco route, but thank you for the suggestion.
I keep debating about diving into C# rather than VB, I'm just not sure I can devote the time to get anywhere with it. It seems a bit more complex to understand. VB is already fairly familiar with me and easy enough to learn more about. I also heard that we'll be able to use VB at some point for WP7S development, so that I wouldn't lose any knowledge learned here if I wanted to give WP7S a shot. At the moment WP7S development is C# only however....maybe another reason for me to change my mind...

[TUTORIAL]A 13 year old's guide to programming - Tutorial 4 Added!

Hydros's Programming tutorial for a 13 year old​
Well, this is my first time posting a tutorial which I have actually tried in making. I kinda felt bad for the people who are missing out on programming because they htink it is hard. Well, I finally devised the ultimate tutorial which a 13 year old should easily be able to understand if he puts his/her mind into it. I posted pics for EVERY STEP along he way so you can walk through it. Simply open the zip and there are three directories
IMAGES - has all the images to the tutorial (not all tutes have images...don't be babies)
TUTE - a tute in .doc format
SOURCE - whatever program we made that day, I posted a source code area to post up source for it.
-Enjoy and I hope people learn a few things from it (even though it is quite basic)
NUMBER OF TUTES MADE SO FAR: 4​
C# TUTORIALS:
Tutorial 1: We install visual studio 2010 express edition c# and we make a sooped up version of the boring helloworld app. Maybe even a "pull my finger" app can be developed with the limited knoledge learned from this tute.
Tutorial 2: We make a continuation of helloworld with variables so the user types in a name and the program will say "hello..." + name
Tutorial 3: We make a simple calculator using functions for adding, subtracting, multiplying, and dividing (kinda complicated but still very easy). - With pictures in the PDF
Tutorial 4: We make a simple program which uses a loop to display "hello" the number of times the user tells it to.
-If you find problems with ANYTHING, please feel free to post in the comments section below and I will do my best to reply within a day to all questions.
If you like my work: please feel free to spread it with my credit + donation link is on my sig (cough...cough)​
I am really looking forward to reading the tutorial! Sounds good!
EC
Read through the whole tutorial now.
I got amazed.
It looks much more easier now thanks to you
But i do have a question.
When you click the button you called Click me!
How to make the text appear on another place than the button?
rkrishnan2012: I commend your efforts so much! When I came to this website, originally, I had such a hard time getting into developing. I think it is truly a great thing you are doing by taking your time to create these tutorials and upload them to the public! I applaud you
I wish I was 13 so I could understand this...but I am 30 and...
I am looking forward to reading through this tonight...many thanks to the OP.
i agree with you there krook,
i forsee a lot of sitting around the laptop for the next few weeks,
god my fiancee's gonna be angry lol
great job man
and thanks
hey...no problem guys. I really like to have people understand the deep meaning in c# programming. Anyway, this was simple code and in the next tutorial, I will be going over a little more tougher thing (still very very easily put for a 13 year old....)
Tutorial 2:
some of the other common controls (like radio buttons and checkboxes) & some "if" statements
robbi13 said:
Read through the whole tutorial now.
I got amazed.
It looks much more easier now thanks to you
But i do have a question.
When you click the button you called Click me!
How to make the text appear on another place than the button?
Click to expand...
Click to collapse
good question...for changing the property of something, you write the name of the item...followed by a dot...and intellisense will bring up a list of properties you can change. In the next tute, we will go over labels...so that will include changing properties (you are in the right track, we will do more of this in the next tute).
Also, you may post code here if you want to...just zip it up as a visual studio solution
Hmm, I have read some books to learn coding, specifically C#, and the basics are really easy - the difficult things are the APIs you need to learn to actually make your app do something useful. I just never got beyond that, but maybe I'll give it another try sometime. If you have some tips they'd be appreciated .
i love this post as hell -v-
I would definitely start with console applications and after a while dive into winforms/wpf.
But to each his own. This doesn't have much to do with windows mobile programming does it?
Thank you for sharing your programming skills with us, I am looking forward to read through your tutorial...
Thanks a lot!!!!
Its late so I'll read through tomorrow. This seems like the perfect gateway into programming! I'm 16 so I should be fine
Many thanks.
currently studying programming at college so this should go nicely with what i already know, thanks dude
ok I uploaded the tutorial #2...with variables and if statements.
here's the media fire link:
http://www.mediafire.com/?bsok6aj9966q4vi
it's got docx and pdf files with source.
As always, feel free to donate
so lemme get this straight, this is for devin' in JUST c#? we cant run these apps on our phones? cause on the express site i was tempted to download the express version for windows phone too... lol
Thanks mate looking forward to giving it a little shot...
Sound ironic to me xD
lol a 13 year old? i saw that and had to comment. I'm actually 16 years old and have been programming in C and C++ (even C++ is a little more than C#) since i was 11. yes, its simple logic, kudos to the tutorial. good to look at.
bryanwayb said:
lol a 13 year old? i saw that and had to comment. I'm actually 16 years old and have been programming in C and C++ (even C++ is a little more than C#) since i was 11. yes, its simple logic, kudos to the tutorial. good to look at.
Click to expand...
Click to collapse
ok lemme get this straight....
I made it as 13 because then i was about 12ish, i started to write jibberish programs which barely compiled and they were at best something like this, so i ignored that age and I said '13' because at that time, i had a solid understanding of C# and vb.net. Both of which were very easy for me. Now, 15, I know waaay more programming (C#,Vb.net, C++,C,JAVA,and the wpf version of c# and vb.net).
I mainly use the c# and vb.net most today but I have programming competitions and I need to know c++ and JAVA so i gradually developed that as well.....
And for all you 3rd grade babies out there who program...good for you and I hope you spread the knoledge learned some day to someone else
-Turns out, you will get money for this.....

<Dev help plz> looking to get into developing stuff...tips?

Hi, I have experience programming in Java and c/c++ and was looking at getting into programming some apps or even helping on on some roms and finally start helping out around the EVO community. I just need a little help getting started. I have eclipse and such set up, but does anyone have any tips or tutorials that might help. (Yes, I have searched Google). Maybe alittle insight in to somethings that I may run into. I want to create apps and games that will be helpful to the community. Thanks
I don't know if it would help but there is an android 'chef' section here on xda:
http://forum.xda-developers.com/forumdisplay.php?f=613
and this thread seems to have a few resources for getting started:
http://forum.xda-developers.com/showthread.php?t=697938
Have you run through the tutorials and read all the documentation on developer.android.com? The "Dev Guide" and the "Resources" tabs are a good place to start, as is just reading through the javadocs for the API. If you're already a Java programmer, you know the code semantics already. It's just a question of understanding the Android concepts. Not to say that's trivial, but the foundation of the language is Java, which means knowing it gives you a head start.
Do a search On xda site for "everything android" its a huge file I put together that includes lots of needed tools and setup files for cooking roms and building apps. It also has a guide with links to the sites where I got the tools from. That should help. Just remember it's for windows and I recommend downloading to ur computer not ur phone cause its over a gig in size
Papa Smurf151 said:
Do a search On xda site for "everything android" its a huge file I put together that includes lots of needed tools and setup files for cooking roms and building apps. It also has a guide with links to the sites where I got the tools from. That should help. Just remember it's for windows and I recommend downloading to ur computer not ur phone cause its over a gig in size
Click to expand...
Click to collapse
Thanks, for that. I looked around the forum but prob would of had a real hard time finding that.
If you are more comfortable with the .net framework, get MonoDroid. C# programming for android. You just need a copy of visual studio 2010, thank god for the free ultimate version I got from school. I haven't messed around with it a lot yet but there is no visual representation of the screen or adding strings like in Eclipse but I like C# more than Java so I'll use this more often than not
Sent from my Evo powered by MIUI
Comrade P said:
If you are more comfortable with the .net framework, get MonoDroid. C# programming for android. You just need a copy of visual studio 2010, thank god for the free ultimate version I got from school. I haven't messed around with it a lot yet but there is no visual representation of the screen or adding strings like in Eclipse but I like C# more than Java so I'll use this more often than not
Sent from my Evo powered by MIUI
Click to expand...
Click to collapse
I have visual studio 2010 ultimate as well from my school. I haven't ever worked with c# but i cant imagine that its much more different from C/C++. Just some different ways of calling/naming things
Exactly. I like it a lot more than Java. Can't really explain it. Just test both of them out and see which you prefer.

Help/Guidance on Expanding Knowledge of C#

I've been taking some classes in C# programming at my University. I'm trying to attain a Computer Science degree and I feel like I've not learned much but a mild foundation for what I can do with C# programming and would like to expand my knowledge, little by little. I feel as though I have a pretty firm grasp on the basics and would love an experienced hand guiding me in the right direction towards getting me better ready for the job market after college. I'm currently applying for internships and would like to be well prepared.
Detayl said:
I've been taking some classes in C# programming at my University. I'm trying to attain a Computer Science degree and I feel like I've not learned much but a mild foundation for what I can do with C# programming and would like to expand my knowledge, little by little. I feel as though I have a pretty firm grasp on the basics and would love an experienced hand guiding me in the right direction towards getting me better ready for the job market after college. I'm currently applying for internships and would like to be well prepared.
Click to expand...
Click to collapse
The best way is to simply use it as much as possible and challenge yourself. I've been working as a developer for nearly 20 years and I'm always finding new things that I don't know how to do. Learning to search effectively is probably the best skill any new developer should hone.
If I were you I'd start out with something not too difficult, like a simple text editor application (make your own version of notepad!) That will give you some basic skills like simple UI design (menus, controls anchored to the form etc.), file reading/writing (good exposure to streams unless you use the quick and easy methods). It's just a general basic all-rounder. Then expand on it - make it so the pages open in tabs. That will teach you about collections (the tab pages, in this instance) or MDI child windows.
There are some great resources available online, but I'll always suggest Stack Overflow. If you don't know it then google it. It's part of the "Stack Exchange" collection of Q&A sites and is probably the most reliable place on the web for programming answers.
Basically, don't try and learn it so you can do it. Do it so you can learn it.
I hope this helps - good luck, and most of all, have fun!
Archer said:
The best way is to simply use it as much as possible and challenge yourself. I've been working as a developer for nearly 20 years and I'm always finding new things that I don't know how to do. Learning to search effectively is probably the best skill any new developer should hone.
If I were you I'd start out with something not too difficult, like a simple text editor application (make your own version of notepad!) That will give you some basic skills like simple UI design (menus, controls anchored to the form etc.), file reading/writing (good exposure to streams unless you use the quick and easy methods). It's just a general basic all-rounder. Then expand on it - make it so the pages open in tabs. That will teach you about collections (the tab pages, in this instance) or MDI child windows.
There are some great resources available online, but I'll always suggest Stack Overflow. If you don't know it then google it. It's part of the "Stack Exchange" collection of Q&A sites and is probably the most reliable place on the web for programming answers.
Basically, don't try and learn it so you can do it. Do it so you can learn it.
I hope this helps - good luck, and most of all, have fun!
Click to expand...
Click to collapse
Thanks! I was just thinking of making this my first project as well. I've done some random things such as a Base10 to Hexadecimal generator, in both the console and WPF. I was thinking this might be a good project as well. I just don't like the fact my school hasn't asked too much of us, but from what I've read that's common. I just want to be prepared to enter the job market so that I may hone my skills. I guess I'll get working on researching what the basic requirements of a text editor is, and how to start saving/opening/creating .txt files.

Categories

Resources