A long list of why Windows Mobile… Simply Sucks #1

by no2chem 12. May 2009 08:37

So, this is probably going to be a series of posts on why Windows Mobile sucks, from both an user and developer perspective… and I’ll try to explore exactly what Windows Mobile needs to do to survive as a platform – and if what Microsoft is doing in Windows Mobile 6.5 is enough. Some of the topics I’ll be covering include developer tools and user interface. We’ll start today with #1. Note that this isn’t really in any order of how bad the problems are – but rather, when they come to my mind. So let’s start!

Problem 1: .NET Compact Framework

Okay, a good idea in theory – the .NET framework is proven in both client and server-side applications, and unless you’re a masochistic developer – you would probably prefer programming with the .NET framework if it didn’t have any performance issues. Managed code makes the programmer’s life much easier – among other things, you get garbage collection, somewhat automatic exception handling, lots of libraries for accessing both operating system functions, containers, and common algorithms… the list goes on.

800px-CLR_diag.svg

Managed code is run inside a virtual machine known as the common language runtime (CLR) – for those familiar with JAVA, the concept is very similar. Think of the CLR as a special machine which runs Common Intermediate Language (CIL) as its assembly code. When a .NET program is run on the CLR, the CLR does Just-In-Time compilation of CIL code to the native assembly language of the machine. The advantage of this idea if you write a program in CIL, you can run the program on any platform with the CLR on it – you don’t have to recompile your code each time. The programmer only needs to write their C#, VB.NET or other code and compile it to CIL that targets the CLR. This managed code seems like it would be great for a platform like Windows Mobile, that runs on a variety of architectures. In fact, I’m pretty sure Microsoft thought this would be the answer when PocketPC devices were running on a number of architectures, including MIPS, ARM and SH3/4… and programmers had to recompile their binaries for each architecture. Today, nearly all Windows Mobile devices run on ARM.

Of course, you might have guessed, running managed code, has its negatives. The biggest problem on embedded devices is the resource and performance hit that you take from starting this virtual machine. If you’ve ever run a .NET program on Windows Mobile, you probably noticed it took 5-10 seconds for the program to start… during which you are presented with the annoying Windows Mobile wait cursor. This is the CLR taking the time to load up – which needs to be started for any .NET program that runs. After the CLR loads, performance is typically acceptable for non-processor-intensive applications. The problem here is that a 5-10 second load time is unacceptable for a mobile device. Windows Mobile users are probably all too familiar with how long it takes for the built-in calculator to startup. The built-in calculator is written in .NET! The 5-10 second startup time pretty much makes the calculator unusable for what its meant for – making quick calculations. I can’t tell you how many times I needed to do something like calculate the tip I needed to pay – only to be frustrated and outpaced by someone else with a “dumbphone”. The thing is – most applications on a mobile phone are meant for doing something quickly. Taking a long time to load up really takes away from the mobile phone “experience”.

Another problem is operability with native code. Many core Windows Mobile features, such a Today plugins, extensibility, chome, etc. Must be written in native code. But what if you want to use managed code from native code? This is something you might be able to do from a desktop computer, but the .NET compact framework doesn’t allow calling managed code from native code. Other problems include random functions not included in the .NET compact framework, and strange window handling behavior when using the UI editor – but we’ll skip over those for now.

Is the .NET framework a big step up over JAVA? Although I prefer C# myself, I would have to say that it is not – at least on embedded devices. Most modern Windows Mobile devices contain an ARM core that features Jazelle technology, which does hardware optimization of JAVA bytecode. Its unfortunate that we don’t have the same hardware optimization of .NET code. The main attracting factor to .NET though, are the Windows Mobile libraries that let a programmer easily work with Windows Mobile features that are difficult, if not undocumented – to work with natively.

So why is this such a big problem with Windows Mobile devices? It seems that it is more of a problem with the Compact Framework. The problem is that Microsoft encourages development of .NET applications on Windows Mobile, even though – in my opinion it is really only appropriate for prototyping and maybe some applications where some of the built-in libraries would be immensely useful. It is not appropriate for production applications. I guess you could say that it is nice that we have something like the .NET compact framework – but it should only be used when appropriate.

The next post in this series will probably cover the Windows Mobile SDK and how it compares horribly to other mobile phone SDKs.

Tags:

General

Comments


February 22. 2009 02:23 | Reply
DaveShaw
I agree 100%. Of the mere 3 WM apps I have coded, I've had to swap to native as soon as start up speed became an issue, but for sheer speed and ease of development I use C# (I'm also a C#'er by trade).

Dave


United States JonNRb 
February 23. 2009 08:01 | Reply
JonNRb
Totally agreed.  Managed code sucks but Microsoft doesn't have many native libraries for us to use that are actually GOOD.  If they improved the CLR at all of its weakpoints we'd have a decent environment for us to code in.  Then again, if they gave us a good SDK for native programming we'd also have a much less banging-your-head-against-the-table time programming apps.  Totally agreed.


United States constantin 
February 23. 2009 22:26 | Reply
constantin
Looks like you are gonna switch to iPhone soon. Great SDK and frameworks, I'm drooling over them myself!


United States 1999TL 
February 24. 2009 21:32 | Reply
1999TL
Iphone apps are popping up left and right! who blames the developers though? Look at beejive, they stopped developing for windows mobile all together!

On another note, I just opened up my calculator on a Might Mike rom.  It loaded right up...?


United States Mask 
February 25. 2009 22:44 | Reply
Mask
So what else would you write the calculator in that would make it faster?
I ask because I would love to have a faster calculator.  Smile


United States amart 
March 7. 2009 21:59 | Reply
amart
Just load the HTC calculator and it loads instantly...and much better software.


March 15. 2009 22:23 | Reply
IP PBX
google is where its at. checkout there latest open source development called wave


May 8. 2009 01:48 | Reply
online poker
Windows Mobile is a compact operating system combined with a suite of basic applications for mobile devices based on the Microsoft Win32 API. Devices that run Windows Mobile include Pocket PCs, Smartphones, Portable Media Centers, and on-board computers for certain automobiles. It is designed to be somewhat similar to desktop versions of Windows, feature-wise and aesthetically.


May 30. 2009 13:39 | Reply
Emo Hair
Just load the HTC calculator and it loads instantly...and much better software.


June 11. 2009 23:51 | Reply
Spider vein Pennsylvania
I believe that windows is doing a great job with all of their platforms but I would have to look into windows mobile about this issue. Anyway, this is a very interesting article.


June 15. 2009 06:46 | Reply
cheap auto insurance quotes
Looks like you are gonna switch to iPhone soon. Great SDK and frameworks, I'm drooling over them myself!


United States a 
June 29. 2009 10:51 | Reply
a
Well, rather than IPhone, maybe he will look into Android - advantage is more similar hardware and free (as in free speech) linux os based tools for development.


July 1. 2009 04:47 | Reply
mobile diabetes management
Very true indeed! Actually, the biggest problem on embedded devices is the resource and performance hit that you take from starting this virtual machine. If you’ve ever run a .NET program on Windows Mobile, you probably noticed it took 5-10 seconds for the program to start… during which you are presented with the annoying Windows Mobile wait cursor.


July 2. 2009 22:50 | Reply
asus laptops
Can we share the entire hard disk of the windows mobile as we do in a normal windows PC?


July 5. 2009 02:59 | Reply
payday loans
Easy option to get useful information as well as share good stuff with good ideas and concepts


July 12. 2009 11:43 | Reply
format computer
You don't have to bother so much, just say
....because it's Microsoft product... Laughing


migliori casinò virtuali di Internet
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post


August 9. 2009 10:26 | Reply
Pay per Click
Hi,
  Excellent post.I want to thank you for this informative read, I really appreciate sharing this great post. Keep up your work.


August 10. 2009 18:19 | Reply
XRF
Hi,
  What's the best deal in latest bike right now in the market?


August 13. 2009 05:45 | Reply
SEO
How can i export contacts from my phone which runs on Windows Mobile?


August 17. 2009 15:07 | Reply
Kerja Keras Adalah Energi Kita
Hello dude, I am here again. Waiting for the next post.


August 19. 2009 09:00 | Reply
hampers
Windows is doing its job of giving fresh updates to their consumers. But somehow there are glitches that are understandable but should be corrected immediately.


October 14. 2009 13:07 | Reply
camera shop sydney
Where can you download an image of the track listing from Madonna Confessions On A Dance Floor CD?


November 14. 2009 00:47 | Reply
bottle capper
Thanks for the post. Keep the great work


November 24. 2009 10:48 | Reply
ppo insurance plans
I shall not delve deep into the previous version of the .NET Compact Framework, but it suffices to say that it was working well, and that version 2.0 improves on it a lot more. It's not hard to tell, looking at the new features the .NET Compact Framework 2.0 offers beyond it's older cousin


December 20. 2009 20:18 | Reply
phone number reverse look up
Do you have any additional info on this? Or maybe point me into the correct direction?


December 24. 2009 03:52 | Reply
automobile bmw long island
We honestly got a kick out of your point of view. It seems that you have placed a lot of effort into your web post and we need more of these on the web these days. I don't really have much to say in reply, I only this minute wanted to sign up to reply great work.


Israel Sagie 
February 9. 2010 21:53 | Reply
Sagie
For me, the problem with .net compact framework was the minuscule library, which forced me to code even the most trivial components (e.g. image buttons!)


March 29. 2010 05:15 | Reply
mobiele telefoon samsung
Windows mobile can be usefull sometimes, but I agree: Most phones suck!


Italy condur veaceslav 
March 31. 2010 15:09 | Reply
condur veaceslav
Switch to a simple phone,i - for example use nokia e52 symbian,and its still a little bit complicated ,but it can be simple in some ways.... so nothing more than symbian.... i hate touchscreens , you have to use 2 hands with them


May 7. 2010 13:10 | Reply
roofing in London
.NET Compact Framework is an excellent platform to create any big web portal.  Really I got pleasure to read it and think that from here people can easily get idea about .NET Compact Framework. Thank you very much.


June 23. 2010 17:47 | Reply
Atlanta Lofts for Rent
i also agree with them who supported your blog, and i must say that you pick the great discussion topic. i just can say that, you deserve thanks for the post.


July 30. 2010 04:24 | Reply
event planning software
Hi,Thanks for the post,keep it up.


August 4. 2010 23:54 | Reply
Atlanta Web Design
You have chosen a nice topic for discussion,you know i didn't know much about windows mobile problems but having gone through the post i have got to know a lot of things new. anyway thanks for sharing such an informative information.


September 22. 2010 04:28 | Reply
applecat
“You had to learn to deal with every character that came through <strong><A href="www.jeansonlinemart.com/"target=_blank>true" rel="nofollow">www.jeansonlinemart.com/"target=_blank>true" rel="nofollow">www.jeansonlinemart.com/"target=_blank>true religion jeans sale</A></strong>

the door,” he said in a recent interview in his House leadership office. “Growing my business, building my team, and serving in this institution for almost 20 years,

I think I understand the diversity we have around here and how to manage it.”

Boehner will certainly bring fresh style and substance to the job. Though a committed conservative, he is not an ideologue or firebrand, despite the rhetoric he

unleashed toward the White House on the campaign trail. Boehner is pragmatic, typically laid back, and habitually inclined to listen. He watched as House Republican

leaders in his day, notably former House Speaker Newt<strong><A href="www.jeansonlinemart.com/"target=_blank>true" rel="nofollow">www.jeansonlinemart.com/"target=_blank>true" rel="nofollow">www.jeansonlinemart.com/"target=_blank>true religion jeans sale</A></strong> Gingrich and

majority leader Tom “the Hammer” DeLay, centralized power in their offices and made themselves the story – and, as a result, some say, fell before their time.
Boehner is inclined to work quietly behind the scenes. His instinct is to compromise, but he is not a bipartisan crusader and won’t get out in front of what the

Republican caucus is prepared to accept. His public image is that of the consummate Capitol Hill pol – the sharply <strong><A href="www.jeansonlinemart.com/"target=_blank>discount true religion jeans</A></strong> dressed, smooth-talking lawmaker who once played as many as 100 rounds of

golf a year while hitting up lobbyists for big checks.

Former GOP majority leader Dick Armey sees him as Dean Martin without the piano – someone who makes everything look easy. “He is a man wholly without guile,” says

Mr. Armey. “I don’t think John Boehner has ever spent a moment of his life in intrigue with respect to anyone else. He is a serious workman and, unlike some previous

speakers, doesn’t require attention. He’ll get the <strong><A href="www.jeansonlinemart.com/"target=_blank>true" rel="nofollow">www.jeansonlinemart.com/"target=_blank>true" rel="nofollow">www.jeansonlinemart.com/"target=_blank>true religion jeans</A></strong> job done with

little fanfare. It’s not about him.”


October 3. 2010 05:16 | Reply
Thermage
Nice site and i visit the site first time it give the good and nice information related to my topic thanks


October 8. 2010 03:20 | Reply
watch Khan vs Maidana
Hello People! Your blog is awesome! I would like to visit it everyday. It's very informative and amazing


October 20. 2010 10:46 | Reply
Femme de menage
I guys, very intersting, totaly agree


craig ballantyne turbulence training
I have enjoyed reading your articles. It is well written. It looks like you spend a large amount of time and effort in writing the blog. I am appreciating your effort.


October 26. 2010 18:52 | Reply
pingback
Pingback from supermallamerica.com

Is free stuff really free | Supermallamerica.com Blog


October 31. 2010 12:15 | Reply
pingback
Pingback from cheaphomeideas.com

Amari Tours | Cheaphomeideas.com


November 7. 2010 19:34 | Reply
WiredTree
This is my first time i visit here. I found so many interesting stuff
in your blog especially its discussion. From the tons of comments
on your articles, I guess I am not the only one having all the enjoyment
here! keep up the good work.


December 6. 2010 01:02 | Reply
pingback
Pingback from montereybayjobexpo.com

The Organic Food Debate | Montereybayjobexpo.com Job Blog


December 12. 2010 07:16 | Reply
iphone spy phone
This is true a true fact about the windows mobile because its being non user friendly.Thanks for your support.


December 31. 2010 02:26 | Reply
ronald smith
windows mobile should stay on a pc android is better for the phone


January 1. 2011 14:53 | Reply
Mozoot
This was a really helpful article.


January 14. 2011 09:08 | Reply
pingback
Pingback from getweddingplanningtips.com

ClearFlite Air Purifiers:  Reviewed | Wedding News


February 5. 2011 06:22 | Reply
long island windows
Hello,

I need someone that has switched from Win Mobile to Android or Android to Win Mobile to tell me why they made the switch. You would be helping me make up my mind about if I should keep or chuck the phone.

Regards,
Jack


February 8. 2011 03:20 | Reply
food hampers
Totally agree here. Not the greatest area to code in. Revamping needed.


February 9. 2011 03:23 | Reply
stainless steel handrail systems
Hello,

I have been trying to watch youtube videos on my phone which hs windows mobile 5 but the problem is that when i go on youtube and click on a video it tells me that i can see the video.which software i have to install for that.

Regards,
Jones


February 20. 2011 08:51 | Reply
akon 2011
otally agree here. Not the greatest area to code in. Revamping needed.

August 4. 2011 00:59 | Reply
Pay Per Click
I dont think so!



March 5. 2011 15:30 | Reply
צימרים במרכז
So what else would you write the calculator in that would make it faster?


March 7. 2011 18:29 | Reply
commercial fitness equipment
It was good to see your post. It is such an important topic and ignored by so many, even professionals. I thank you to help making people more aware of possible issues. Great stuff as usual...


March 12. 2011 02:29 | Reply
pingback
Pingback from bmwphotosblog.com

Bmw Long Island | BMW Photos Blog


March 12. 2011 23:58 | Reply
long island roofers
Is there anyway to see and run my Windows Mobile phone on the computer? Like have a little window which shows exactly what's on the phone, and I can control it right from there?


April 3. 2011 08:57 | Reply
Plumber Welwyn
I really liked the information. Keep it up!


April 20. 2011 08:25 | Reply
home network design
This is a very nice post. Because it contains lots of important information.
It helps me a lot. I really have enjoyed reading your blog.
Keep up doing good work. Thank you.


May 11. 2011 17:19 | Reply
Cleans
Nice list. I agree with most of the points.


May 12. 2011 22:23 | Reply
ספא בתל אביב
It is well written. It looks like you spend a large amount of time and effort in writing the blog. I am appreciating your effort


May 18. 2011 12:15 | Reply
john williams
I think Bill has taken his eye off the ball and been left behind by Android and Apple. Microsoft suck in general in my opinion.


June 11. 2011 13:17 | Reply
Nick
One Word it is WINDOZE. Linux and open-source software all the way bud.


July 17. 2011 17:05 | Reply
how to become a pilot
Great blog article about the Great blog article about this topic, I have been lately in your blog once or twice now. I just wanted to say hi and show my thanks for the information provided.


sealy perfect rest crib mattress reviews
Congratulation for the great article.Those Who come to read your article Will find lots of helpful interesting and informative tips.


August 28. 2011 10:33 | Reply
Urological Cancer
I liked how the thoughts and the insights of this article is well put together
and well-written. Hope to see more of this soon.


September 9. 2011 17:16 | Reply
razor motorcycle
Hi thanks for this nice and good post. There are certainly a lot of details like that to take into consideration.


September 14. 2011 01:48 | Reply
gold price per ounce history
You are so talented in writing. God is really using you in tremendous methods. You are doing a great job! This was a wonderful article.Thank you


September 27. 2011 00:51 | Reply
צימר
Because it contains lots of important information.
It helps me a lot. I really have enjoyed reading your blog.
Keep up doing good work. Thank you


September 27. 2011 13:42 | Reply
pingback
Pingback from sghaida.com

Compiler and Virtual Machine comparison between Androd and .NET Mobile | My Blog


September 29. 2011 20:54 | Reply
barcode generator
Post is nicely written and it contains many good things for me. I am glad to find your impressive way of writing the post. Now it becomes easy for me to understand and implement the concept. Thanks for sharing the post.


November 6. 2011 04:36 | Reply
Computer Format
Man everything about microsoft sucks..... try linux for a change!


December 2. 2011 11:58 | Reply
newyeareve parties
Hi there, I came here by searching parties and events. But i like the post very much.


December 18. 2011 11:27 | Reply
retail industy market
India retailing is a path-breaking  interface portal. Addressed and directed towards the retailing community across the world, the portal provides a wide-angle view and analysis of the business of retail in India.

Add comment


(Will show your Gravatar icon)
Type If you can out:

  Country flag

biuquote
  • Comment
  • Preview
Loading



Disclaimer
Windows Mobile is a registered trademark of Microsoft Corporation in the United States and other countries.

Wei Enterprises is not affiliated in any way with Microsoft, HTC, Sprint, or any other wireless carrier/phone manufacturer otherwise mentioned on this site.

Copyright 2012 2009 Wei Enterprises