TamsPPC – the PocketPC Blog

The PocketPC news and opinion source

June 30th, 2009

Declaring delegates in a single line

Microsoft’s C# programming language sometimes reminds me of a pinata – it is full of surprises. The latest one comes in the form of the two delegate definitons below:

//DELEGATES
public delegate void doneSearchingDlg();
public delegate void newResultDumbDlg();

doneSearchingDlg doneSearching;
newResultDumbDlg newResultDumb;

In case anybody is new to C#: a delegate is a function pointer which can accumulate multiple functions, which are then all called at once with a single call. But this is not the reason for this little rant – instead, I am pissed about why the declarations cannot look like this:

//DELEGATES - CAN NOT COMPILE AS OF VS2005
public delegate void doneSearchingDlg() doneSearching;
public delegate void newResultDumbDlg() newResultDumb;

In plain-old vanilla C, almost every language primitive can be animated while it is being declared – why this feature was omitted from Delegates is a mystery to me.

Ideas, anyone?

June 28th, 2009

Microsoft Marketplace for Mobile: 600 apps at launch

 Microsoft Marketplace for Mobile: 600 apps at launchMicrosoft France’s product manager for all things mobile has made a very interesting quote in a recent MobiFrance interview:

Audrey Zolghadr: 20,000 applications are now available for Windows Mobile. For the launch of MarketPlace, 600 applications will be available. It will be possible to retrieve the software from the search engine. Only software compatible with the screen resolution, touch or not touch will be visible to the user.

600 applications is might not be too much – but is nevertheless impressive especially of compared to what other manufacturers have unleashed upon their customers (Palm: less than 50 apps, Nokia Ovi: full of crap)…

June 15th, 2009

.NET CF 3.7 – CAB leaked

Microsoft’s .NET Compact Framework is slowly but surely picking up speed all over the world. The current version 3.5 generally seems to be pretty ok…but, in time, a successor will come (anyone recognize this quote?).

A PPCGeeks user has posted a CAB file containing version 3.7 of the .NET CF. As of now, nothing is known about improvements or changes – as the new language features will likely require a new version of Visual Studio, there is little to gain here for developers.

Either way, hit the link below for the download:
http://forum.ppcgeeks.com/showthread.php?t=71466

June 5th, 2009

Windows Mobile 6.5 SDK released

Microsoft has just unleashed the Windows Mobile 6.5 SDK upon the masses:
 Windows Mobile 6.5 SDK released

Surprisingly, the SDK is based on the Windows Mobile 6 SDK and even goes as far as to require it installed. This gives us system requirements of at least Windows XP SP3 (no Windows 2000) and Visual Studio 2005…

Hit the link below for further info (and be pprepared for a 300MB download if you wish to develop for Standard and Professional)!

Windows Mobile 6.5 SDK

May 28th, 2009

NS Basic/CE updated

ScreenShot 1 NS Basic/CE updatedNS Basic/CE has just been updated to version 8.0 – the latest version of George Henne’s ultra-easy (and very affordable) Visual Basic lookalike adds the following new features:

1. Gradient Buttons (picture on the left)
2. Creation of installers
3. Vastly simplified installation and distribution of apps
4. No separate runtime required
5. Embedded resources
6. Lots of other stuff as well. Read on below for more…

Upgrade prices begin at 50$:

Upgrades are available to existing users starting at $49.95. Customers who purchased NS Basic/CE after April 1, 2009 will receive the upgrade for no charge.

All those of you seeking further information should hit the URL below:
http://www.nsbasic.com/ce/info/Readme.htm

May 21st, 2009

Marketplace could allow five devices/purchase

Microsoft has recently opened its Marketplace to developers interested in registering. As of now, customers and the press are not allowed in – the quote below hits us via ComputerWorld:

In a potentially market-changing move, Microsoft Corp. plans to let customers of its upcoming Windows Marketplace for Mobile run purchased applications on as many as five Windows Mobile phones at the same time.
This would primarily benefit individuals who own multiple smartphones running the Windows Mobile 6.5 operating system, which is needed to access Microsoft’s online store.

Marketplace customers will also be able to get a no-questions-asked refund on an application, provided they request it within 24 hours of their purchase

Even though this sounds extremely developer-unfriendly, my personal experience tells me that these issues are very rare. I have been selling applications for the Palm OS for about five years now, and have to say that less than 5% of customers ever demand a second unlock code or a refund (even though ESDs have offered this for quite some time).

I see the problem somewhere else: Microsoft lets customers know about these possibilities. Austrians say that opportunity creates theft…which is what we are likely to see here…

Ideas, anyone?

April 16th, 2009

Opera: powerless, but stubborn

Don’t get me wrong – Opera Mobile is a very good browser once you get the way it works. In fact, I do most of the updating of the Tamoggemon Content Network with my X1 currently as my laptop is down.

However, I frequently run into errors like the one shown below:
Screen013 Opera: powerless, but stubborn

In fact, Opera Mobile pops it up every time it comes across a web site which doesn’t conform to its rather strict syntax validation rules. OK, a single click can dismiss it most of the time…but it nevertheless is extremely annoying.

The reason why I post about this is different, though: Opera’s syntax naziness is utterly futile. With a total market share of less than 10 percent, web masters can afford to simply ignore Opera users rather than invest large amounts of money into redesigning their web sites.

Users who see the message above thus have but two options: suck it up or change browsers. The wrath of affected individuals will be directed at Opera rather than at the web site (hey, it works in PocketIE)…thereby harming Opera further.

What do you think?

April 12th, 2009

Seth Godin on Design

banner Seth Godin on DesignSeth Godin is the man behind a very interesting marketing blog, a bunch of top-selling business books and – last but not least – the concept of permission marketing. I thus was somewhat surprised to see him talk about graphics design…but felt that his list could be useful nevertheless.

Seth listed a variety of books and web sites which could be helpful for people wanting to become decent graphic designers – further information can be had here:
http://www.squidoo.com/become-a-really-good-graphic-designer

March 31st, 2009

MobiHand lowers minimum prices

MobiHand has just informed me of an important change in company policy which will allow their developers to compete more effectively in ultra-low-price markets. Their move comes at a crucial time as credit crunch and iPhone push application prices down – enjoy:

We are happy to announce a change of price limits intended to allow you greater pricing flexibility.

The current $3.95 minimum product price in the MobiHand Catalog is changed to a minimum selling price of $0.99 in MobiHand network stores and $2.95 in developer shopping carts.

Please do not set any product price less than $0.99 for sale in any MobiHand store.

If you use a MobiHand shopping cart in your website or application, please do not offer any price or discount that results in a net selling price in the shopping cart that is less than $2.95. If you need to sell any product for less than this amount, please contact us to arrange a modified shopping cart fee that allows us to meet your needs without incurring losses on individual transactions.

Even though I am not too motivated to lower my products prices as of this writing, the added flexibility definitely is nice to have. Congratulations to MobiHand…

March 30th, 2009

New signing program for XPERIA panels

Screen012 New signing program for XPERIA panelsSo far, Windows Mobile developers didn’t have to bother too much about getting their applications through a certification process…this particular and very annoying bit of work was – so far – limited to Symbian applications targeting S60.

As Sony Ericsson used to be an UIQ licensee, their latest move leaves me extremely perplexed and surprised…they have just unveiled a signing program specifically for XPERIA X1 panels.

The process involves a set of criteria and two test houses, and will cost a three to four-figure dollar amount per year (depending on the number of panels involved). Fortunately, unsigned panels will be penalized with exclusion from Sony Ericsson’s marketing venues.

From my personal point of view, this borders on total idiocy: SE has struggled to get developers interested in panels in the past. Introducing signage is very unlikely to affect this situation in a positive matter…which means that XPERIA X1 users should look forward to even less plug-ins in the future.

Further information can be had here:
http://developer.sonyericsson.com/site/global/techsupport/mobile2market/p_mobile2market.jsp

March 21st, 2009

Fatal error LNK1112: module machine type ‘THUMB’ conflicts with target machine type ‘ARM’

Mr. Kaar (of mSports fame) and yours truly spent quite a few minutes of our lives scratching our heads recently – the Setup.dll contained in one of our projects kept failing with the error message found in the title of this post.

Fortunately, the solution is easy. Open the linker preferences via right clicking on the affected project, then click command line and change the displayed values to /subsystem:windowsce,** (the ** are the numbers which are already there, just remove the appendix).

The image below shows a Windows Mobile 5.0 project (sorry for German IDE):
 Fatal error LNK1112: module machine type THUMB conflicts with target machine type ARM

Then, do a clean recompile, and the “Fatal error LNK1112: module machine type ‘THUMB’ conflicts with target machine type ‘ARM’” eekers should be over.

P.S. For all those of you interested: ARM processors support two different instruction sets going by the names ARM and THUMB. ARM is 32 bit wide, while THUMB provides optimal performance on machines with a 16bit data bus.

March 20th, 2009

Developing for Windows Mobile without Visual Studio

Microsoft’s Visual Studio unfortunately is quite expensive…which has caused small developers to look for alternatives. As Microsoft has so far steadfastly refused to unlock Express Editions for Windows Mobile development, an alternative had to be found.

CodeProject’s Joel Ivory Johnson has taken a detailed look at a way to develop Windows Mobile applications via a free third-party IDE – if you want to save some cash, hit the link below:
http://www.codeproject.com/KB/mobile/WiMoSansVS.aspx

March 14th, 2009

Red Five Labs updates Net60

redfive Red Five Labs updates Net60The .NET CF was originally intended to be highly portable: unfortunately no implementations were made available except for the various breeds of Windows Mobile.

Developers who want to extend the reach of their .NET CF apps to the millions of Nokia devices in the market have thus looked to a South African company called Red Five Labs – their Net60 runtime allows .NET developers to target S60-based devices.

Net60 has just received a major update, adding touchscreen support under S60v5 among other changes. The full press release is below:

We’re proud to bring you another improved release of our acclaimed Net60 .NET framework for Symbian.

Our 4th release in as many quarters contains many significant improvements.

Version 2.1 now has a great looking WinForms UI which is much more stable than previously. The look and feel of the controls is more polished, much faster and all known issues related to the UI have been fixed.

The Net60 Version 2.1 UI also supports touch, meaning S60 5th edition devices are now supported!

Cross-platform Mobility Framework
Net60 is compatible with Microsoft’s .NET Compact Framework 2.0 and our 30 day trial now ships with an evaluation version of the Red Five Labs Mobility Framework. The Mobility Framework incorporates a host of managed APIs in a collection of DLLs which make it possible to develop cross platform solutions for both Windows Mobile and S60 using one framework. We’re shipping a great sample application which demonstrates the concept using the messaging layer provided in RedFiveLabs.Mobile.Messaging.DLL.

We’ve also made major advances on our runtime: performance has improved overall with significant improvements in many sub-components of the class libraries. Its a much more stable build.

The development tool chain also contains many improvements. Our debug build of Net60 containing the Net60 Launcher now supports folder navigation and loads wait cursors and icon resource files too.

The Genesis wizard now generates your application’s .pkg file and also allows developers to edit and therefore customise their .SIS file.

March 13th, 2009

Silica: free book with Windows CE platform builder

The folks at Silica’s have just let me know about a promotion which could be very interesting to all these of you wanting to get deeper into the ROM hacking / device building game:

With every purchase of Platform Builder for Windows® Embedded CE 6.0 in March and April, you will receive a copy of the new Windows® Embedded CE 6.0 Fundamentals book – absolutely FREE*!

To claim your FREE book, simply place an order for Platform Builder with SILICA before 30th April and the book will be sent directly to you.

Further information on the promotion can be had here:
http://www.msembedded.biz/

March 12th, 2009

Microsoft hearts (Widget) developers

Microsoft has always had excellent developer support – it now looks like they want to fight out the mobile computing platform brawl via third-party applications. The list below contains an overview of important and/or interesting events:

Mobile Incubation Week
Microsoft’s app store is upcoming – which has led to them planning a series of public events for developers. The first one will be held in the USA, and could be very interesting for all those of you heavily into Windows Mobile:

Microsoft is sponsoring the first-ever “Mobile Incubation Week” to help startups incubate outstanding ideas. The first event will be held at Microsoft’s Silicon Valley Campus in Mountain View, CA April 13-17. Other events are being scheduled to follow in Europe and Asia.

The event will feature technical gurus from Microsoft, technology veterans who have built their own Windows Mobile applications, and influential venture capitalists and industry experts. Our developers will lead interactive discussions, provide helpful advice, and facilitate actual application development on the Windows Mobile platform. At the end of the week, we’ll select a winner who will be eligible for prizes and special PR opportunities.

The event is a no-fee event (plan your own travel expenses), and each team can bring up to three participants (one business and 1-2 technical). All startups are eligible, whether or not you have a mobile application built today. The only requirement is that you’re planning to develop a new application on Windows Mobile 6.1 or 6.5.

More Marketplace details
Microsoft has just published a document with further details on all things Marketplace:

What is the revenue and distribution opportunity for developers?
* Developers will earn 70% of the revenue generated from sales of their applications.
* Applications can be priced and sold in 29 markets using targeted pricing strategies to maximize revenues. This is a great opportunity to tap into a broad international customer base.
* Applications can also be distributed through the Marketplace for free.

Tell me more about how to participate…
* In the spring, we will release the registration process for you to sign up. Application submissions will be accepted beginning this summer.
* Developers will be able to submit up to 5 applications to the Marketplace for the annual registration price of $99. Each additional application within the annual period will have a cost of $99.
* For students enrolled in the DreamSpark program, the registration fee will be waived.

How do I get my applications into the Marketplace?
* We want developers to focus on their core competency of developing innovative applications. At the same time we will work with developers to ensure that their applications run optimally on Windows phones. We will accomplish this by running a rigorous certification and testing process before applications go to market.
* Developers will be able to see detailed feedback during and after the certification process of their applications on the Windows Marketplace for Mobile developer portal.

What do I need to get started?
* You can utilize familiar tools and technologies like Visual Studio and the .NET Compact Framework 3.5 to build great applications.
* Get the Windows Mobile 6 SDK and everything you need to get started at http://developer.windowsmobile.com

Widget engine ships with WM 6.5
Finally, Microsoft wants to join the Widget gang. WMPowerUsers reports that Windows Mobile 6.5 will drop with a Widget Engine.