Hi all,
I'm sure this has been covered before, but I did some searching and must not be using the right terms.
I know some VB.Net code written to work for full blown desktop Windows will work in VB.Net for smart devices. Is there any good guides to porting VB.Net apps to the Windows Mobile platform?
Related
Hey Guys
i'm going to get into C++ so I can program WinMob and having ordered Programing Windows by Petzold, I quickly realised this is not a "learn c++" book.
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!
Monty Burns said:
Hey Guys
i'm going to get into C++ so I can program WinMob and having ordered Programing Windows by Petzold, I quickly realised this is not a "learn c++" book.
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!
Click to expand...
Click to collapse
are you a C/C++ expert? I presume you are since you have assembly knowledge.
I can't say I'm a WM programmer expert, but I like to share with you my experience with Windows and Windows Mobile.
I started off in Windows programming, rather than Windows Mobile, and that helps me alot in adopting Windows Mobile programming. And when I first started Windows programming, there isn't a luxury like .NET or MFC (actually it was already there, but very preliminary) so Win32 programming was all I can cling on, but I am glad I'm 'force' to learn Win32 programming as it forces me to understand the foundation of Windows operation (messaging queue, windows message intercept, windows manipulation, etc). So when C# and .NET comes in, it took me very quickly to adopt (although I resist on such managed framework for awhile ). Because of my background with Windows programming, it's easy for me to develop Windows Mobile application, although I can't say it's anywhere comparable to some of the wonderful codes you find in XDA developers.
So my personal advise is if you are into building good Windows code, knowing Win32 programming is important.
Monty Burns said:
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!
Click to expand...
Click to collapse
I would like to suggest Douglas Boling's "Programming Microsoft Windows CE .NET, Third Edition (Core Reference)" or its latest version. It was one of Windows Mobile C++ book that I bought that's still useful after many years.
HI GUys
thanks for the replies.
I've quickly found out that before I learn C++ for WinMob I need to learn it on the windows platform in general. As you say Zenkinz, it seems easy to migrate from Windows to WinMob. Sadly, I am far from advanced at c++, I used to know assembler (680x0) but that was over 15 years ago! Infact, i'm a complete newbie to C++
I got that Douglas Boling book ... its mammoth! And also beyond my level at the moment as I'm a complete learner.
I've also booked myself on a local college course to start me on learning C++.
So again, thank you for the replies, very usefull!
I'm looking for answers to this question because I'm at a cross-road with my career path. I'm attending college to get a computer science degree with the intent on writing software programs for mobile devices. I thought I would go with Windows Mobile platform, but now I'm wondering if I should go with the iphone. I know there are a lot of developers, etc on this forum that do this kind of work and would like anyone with any opinions, comments or hard earned experience to let me know what they would do if they were me.
with iphone or ipod touch you have to own a back to make offical apps
you have to pay app store some money to be able to summit apps for review
if they are suited for app store
the apps have to be written in objectC which is an alternativ to c++ as in
a ext to old ansi c to add object support so it's more pleasing then structs with function pointers
with wm you got 2 realistic paths
using .net compact framework this is the fast way to get something to show for
but is generaly much slower then
native win32 sdk apps where you have to write everything and have less gui IDE do make it
more user friendly for you
but native win32 which is in c++ is much faster
you could get a mac and use bootcamp to install windows then windows would run as native not emulated so it would not be slow
then you could do both asuming you had the time to get into both platforms
allso the sdk of objectC and cocoa for iphones i believe is free and got an IDE too
and with winmobile you have dl the sdk for wm and if you want an IDE you have to pay for visual studio as i dont believe that the free express version of visual studio works with mobile
but i could be wrong
but i believe that the compiler itself is free so if you got the sdk for wm you can compile using an console compiler which is free
I'm not a developer but I started computer science back when I was in school (C/O 07) and I would say that if your lookin for the money iphone apps and blackberry apps are the way to go. If you check out a thread in development and hacking it's about why there isn't a facebook app for windows mobile like there is for blackberry and iphone and a user made a good point iphone apps and blackberry apps are the bread an butter right now. But there is still some possiblities with Andriod recently coming out and also Windows releasing an App store when Windows Mobile 7 is released.
The good thing though is that with developing apps like for Apple you can pretty much do that as a side project and help you generate extra money and be like this guy http://www.cnn.com/2008/TECH/11/18/iphone.game.developer/index.html?iref=mpstoryview
So it's still a possiblity you could still branch out. I would say to develop for both. Look at the company Beejive. They developed a great messanger app for the blackberry and then for the iphone and now for windows mobile is still in the beta and probably soon one for andriod. But final words I would say don't limit yourself. If you really like and want to program and you think you have a good app that would be useful on all platforms then go for it.
Sorry to talk your head off.
Rudegar said:
with iphone or ipod touch you have to own a back to make offical apps
you have to pay app store some money to be able to summit apps for review
if they are suited for app store
the apps have to be written in objectC which is an alternativ to c++ as in
a ext to old ansi c to add object support so it's more pleasing then structs with function pointers
with wm you got 2 realistic paths
using .net compact framework this is the fast way to get something to show for
but is generaly much slower then
native win32 sdk apps where you have to write everything and have less gui IDE do make it
more user friendly for you
but native win32 which is in c++ is much faster
you could get a mac and use bootcamp to install windows then windows would run as native not emulated so it would not be slow
then you could do both asuming you had the time to get into both platforms
allso the sdk of objectC and cocoa for iphones i believe is free and got an IDE too
and with winmobile you have dl the sdk for wm and if you want an IDE you have to pay for visual studio as i dont believe that the free express version of visual studio works with mobile
but i could be wrong
but i believe that the compiler itself is free so if you got the sdk for wm you can compile using an console compiler which is free
Click to expand...
Click to collapse
Good point
MS Embedded Visual Studios use to be free...
Now it seems to be costing a lot (more than $900)...
I was wondering, which tools are you using to develop on the D2?
(I m interested in C# or C/C++ compilers)
Visual Studio Explorer edition is free. And you can produce c# code. Not sure if you can compile for Windows Mobile with it.
I dont believe the free editions of visual studio allows for the installation of the windows mobile sdk which I believe is required.
If you are a student, you can download Visual Studio for free (look up the Microsoft DreamSpark program). I develop in C#, with the .NET Compact Framework 3.5 and using the WM6.5 DTK.
pauloke said:
I dont believe the free editions of visual studio allows for the installation of the windows mobile sdk which I believe is required.
Click to expand...
Click to collapse
That's correct, infact even the bottom tier pay version (standard) doesn't do it, you need at least the professional edition.
Hi all,
I have just got my new HD2 and I'm keen to write a couple of apps for it. I have some limited experience with programming Processing, Java and wrote a little bit of C++ a few years ago. I have no experience at all with writing mobile apps so am after a few tips to get me up and going.
I understand its easiest to program through the .Net framework and I can bring up a template through visual basic 2008 for that. The apps I am keen to write will require access to the phones sensors, in particularly the g-sensor and accelerometer. Forums on the net tell me I need to download the SDK for the phone and use that to access all of the phones features. I have the following questions:
Where do I download the SDK for the HTC HD2? Some forums say you just use the standard HTC SDK, is this correct, are they talking about an android SDK and where can I get it from?
In using the SDK, do I simply import it as a package into my code and call up its functions? In which case is there documentation for it?
In case I get stuck, is there any good tutorials online anywhere for programming apps for windows phones?
Probably some very basic questions but they still tripped me up!
Thanks in advance, I look forward to sharing my apps with you.
Cheers all, Ollie1234
SDK Software Developer Kit & DRK Developer Resource Kit
Learning XML - Overview
The xml International Standard Organization (ISO) -=[ find xml apps here too ]=- :
http://www.w3.org/standards/xml/
XML is an almost universally supported way of exchanging documents and data across applications and platforms. Microsoft has a family of XML technologies that allows users with differing requirements to do what they need, as simply and efficiently as possible.
Which XML application programming interface (API) should you use? Here are our top-level guidelines:
If you are writing managed code targeting the .NET Framework in C#, Visual Basic, J#, managed C++, or any other managed language, you should use System.Xml and/or LINQ to XML in the .NET Framework.
If you are writing native code using Visual Basic 6, C, C++, or a scripting languages you will probably want to use the MSXML library:
MSXML6 is the latest version that's included with Windows XP SP3 and all versions of Windows Vista and Windows 7. New applications should be using MSXML6.
MSXML5 is an older library optimized for Microsoft Office 2003 and 2007 and can only be used on machines that have an Office license.
MSXML4 is nearing deprecation. MSXML6 should be used for new applications
MSXML3 is included in Windows XP and higher.
Comprehensive list of all MSXML versions and variants
If you are writing native code and your application has tight performance or memory constraints, consider the XmlLite API.
What XML Tools Are Available? Visual Studio offers a core collection:
XML Editor
XML Schema Explorer
XSLT Debugger
XML Tools in Visual Studio overvi
Read more HERE; http://msdn.microsoft.com/en-gb/data/bb291061.aspx
Core Downloads for Windows Mobile
Windows Mobile 6 SDKs: documentation, sample code, header and library files, emulator images, and tools for building Windows Mobile 6 applications in Visual Studio
Windows Mobile Device Center 6.1 for Windows Vista (32-bit or 64-bit)
Microsoft ActiveSync for Windows XP or earlier versions
New Downloads
Windows Embedded CE 6.0 Monthly Update June 2010
Office 2010: Product Guides
Windows Embedded CE 6.0 Monthly Update May 2010
SQL Server Compact 3.5 SP2 for Windows Desktop
Windows Embedded CE 6.0 Monthly Update April 2010
Windows Embedded CE 6.0 Monthly Update March 2010
Related Resources
Windows Embedded CE Development Tools
Windows XP Embedded SP2 Update
What is the .NET Micro Framework?
Windows Mobile Starter Kits
Windows Mobile 6 Developer Resource Kit Trial Software
Popular Downloads
Windows Mobile 6 SDK Refresh
Windows Mobile 6 Localized Emulator Images
SQL Server Compact 3.5 SP2 for Windows Desktop
Windows Mobile 5.0 SDK for Pocket PC
Office 2010: Product Guides
Windows Mobile Developer Power Toys
SQL Server Compact 3.5 SP1 and Synchronization Services for ADO.NET v1.0 SP1 for Windows Desktop
Library Topics
Installing Developer Tools for Windows Mobile
Welcome to Windows Mobile 6 Documentation
Windows Mobile 6 SDK Documentation
Windows Mobile 5.0 SDK Documentation
____Only if you want to code your applications to run on all WM6 devices without any problems you need the WM6 Standard SDK too!!!!
Development Resources for WM- here on xda-developers.com UPDATED
http://forum.xda-developers.com/showthread.php?t=445396
Before you get stuck try to find online books about programming applications/games for windows phones. May be some other kind soul has a link for us?
Anyway have fun informing yourselves folks,
EDiT: Though this thread is created recently a few moments later;
I answered a question like this one in Windows Mobile Software Development which contains way more links than I collected here!!! Plus I plan to keep that thread up2date ie adding more links soon..!
ollie1234 said:
The apps I am keen to write will require access to the phones sensors, in particularly the g-sensor and accelerometer. Forums on the net tell me I need to download the SDK for the phone and use that to access all of the phones features.
Click to expand...
Click to collapse
I believe that the common WM SDK does not give access to the G-Sensor and other HTC specific stuff. Some probably hacked G-Sensor information is available. It is not entirely correct but it does work on the HD2.
http://www.scottandmichelle.net/scott/comments.html?entry=784
ollie1234 said:
In using the SDK, do I simply import it as a package into my code and call up its functions?
Click to expand...
Click to collapse
WM SDK's are mostly a collection of header files, import libs and samples. You include the header files you need in you own code, then you can use the functions they declare, and link with the appropriate libs.
Nice work guys.. Thanks a lot for your assistance. I will post on how I get on!
Ollie.
What programming skills are needed to develop apps for windows phone 7?
I don't know anything about programming but I have a lot of free time.
I've read a few threads but I've just ended up with a headache. I know that an understanding of C# and the .NET platform are required and this book was suggested:
Pro C# 2010 and the .NET 4 Platform by Andrew Troelsen,
but it's not for beginners. What other programming knowledge/experience is required before getting into a book like this?
Lots of a detail would be appreciated and any recommendations of books would be welcome.
I would like some info on this as well. i am a student of computer programming and would like to learn to develop for Windows Phone as one of my specialties. Im merely a beginner so a full out start-from-scratch advise would be appreciated
Sent from my LG-P509 using xda premium
So... My research still has turned out to be inconclusive. Maybe learning C before C# and .NET would help? Any idea? Anyone?
I like Bob Tabor tutorials:
http://www.youtube.com/user/bobtabor#p/a/131EC19FD9223A11/0/fI6t-Psn370
or:
http://www.learnvisualstudio.net/co...one_7_Development_for_Absolute_Beginners.aspx
Maybe is too easy for you.