Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Articles & Resources

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 05-28-2007, 07:03 PM
Editor Emeritus
Janak Parekh's Avatar
Join Date: Aug 2006
Posts: 15,171

Quote:
Originally Posted by nutzareus
I suppose writing a code module for a control panel-like applet to customize your buttons would not qualify as bloated code? That's alot of lines of code and alot of extra paths for a program to take. Remember, this is just for customizing ONE button... DELETE!
Sorry, but as a professional software engineer, I disagree with this one. Sure, it'll add code, but it's nowhere near "complicated", considering the kinds of tasks the messaging applet does. I haven't done WM programming extensively, but in a typical graphical environment, you'd add a few lines of code to read an additional user preference (the code to read preferences from the registry is already there), make one single control-flow decision, and register a callback and update the softkey's label. Thereon, during the runtime of the application, there would be zero cost performancewise. As for an extra option in the user preferences, that's pretty minimal, too.

A much better question is if it is a development priority to add such a feature. That is the true cost, not the processing power of adding a little control-flow logic. For instance (and I think you mentioned this earlier): if the left key should be customizable, which features should be allowed? Surprisingly, such things end up being a lot more complex than they seem at first. That said, since they switched the functionality from one to the other, I'd personally have preferred they add at least one boolean registry setting to allow the old functionality to remain.

Incidentally: a much more difficult, and cooler problem, would be to enable the setting of softkeys at the operating system level. This is far harder since not all applications use the softkeys for the same tasks, and even in the middle of one application the softkeys' behavior change.

--janak
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:37 AM.



Search Engine Friendly URLs by vBSEO 3.6.0