Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

WP7 Application’s Mango-upgrade: Remember to check TextBox InputScopes

DZone's Guide to

WP7 Application’s Mango-upgrade: Remember to check TextBox InputScopes

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

We recently upgraded one of our Windows Phone 7 apps to Mango and things went quite smoothly using the Visual Studio’s built-in “Upgrade to Windows Phone 7.1” –functionality.

image

But when we started testing the app, we noticed that some of our textboxes had a wrong input scope. In one case this made our app impossible to use with virtual keyboard because the textbox was missing the Enter-key.

We had previously defined the textbox using the InputScope “Number”:

 
<TextBox InputScope="Number"/>

And with out pre-Mango version this was the output:

image

But, after upgrading the app to Mango, the keyboard was completely different:

image

The Enter-key was gone, rendering the app useless. We had to change the InputScope to “PostalCode” to get the required functionality back:

image

So, even if the Mango-upgrade goes smoothly, it’s a good idea to test all the textboxes before submitting your app.

 

Source: http://mikaelkoskinen.net/post/wp7-mango-inputscope-app-upgrade.aspx

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}