Programmatically changing UI language in Windows Phone

Posted by Brandon H on September 13, 2014 Tags: , ,

If you’ve done globally-focused development on Windows Phone, you already know that to change the display language, you have to do so in the Settings area of the phone, then reboot the emulator (or physical device) for the change to take effect.

What a pain. Wouldn’t it be better to change the UI language on-demand? Not to mention provide end users the ability to do so within your app as an added convenience. In this blog post, I’ll show you just how to make that happen.

(more…)

1 Comment

Testing disk space exceptions with CopyToAsync

Posted by Brandon H on September 1, 2014 Tags: , ,

I got an error report from the field in Upload to YouTube where the user was getting an unhandled exception when I copied their Camera Roll video to temporary storage to hand off to Movie Maker for editing. Great catch, now to shore up the UX when this happens. Only problem is, I need to test filling up the disk during a copy. How could I possibly do this?

(more…)

No Comments

Windows Phone 8, Family Safety, and your kids

Posted by Brandon H on August 22, 2014 Tags: ,

Amazon recently had a sale on the Lumia 520 “GoPhone” from AT&T. It was down to only $40 out the door, and I also had $10 in Amazon gift card credit in my account. So why not. Free shipping, to my door, and I have a new test device for my Windows Phone app development.

One thing I also wanted to see with this phone, though, was just what Microsoft’s Family Safety brings to the table on the WP platform. I have been using FS on my kids’ desktop and tablet accounts for years, but hadn’t yet checked out what MS offers on WP. Let’s dive in.

(more…)

1 Comment

WP dev user review responses: good, bad, or ugly?

Posted by Brandon H on August 18, 2014 Tags: ,

All over the news lately is the new release of the ability for Windows Phone developers to respond to user reviews via the dev center, something of which any developer can immediately see the value.

(more…)

No Comments

Multilingual App Toolkit–Give your app some global appeal

Posted by Brandon H on July 15, 2014 Tags: , ,

Sure, you’re a good dev and you know that you should be putting all your strings in a RESX file if for no other reason than to centralize them so you can only only have to update them in one place. And maybe you do get some translations to other languages (good for you!). But what if you could harness the power of Microsoft and Bing to bring the Translation Portal and Bing Translator right in to your app? Now you can. And it couldn’t be easier.

(more…)

2 Comments

Localizing your app name and tile on Windows Phone 8

Posted by Brandon H on July 14, 2014 Tags: , ,

This past week we’ve been presented with quite a few reasons to make sure that when we develop, we’re thinking globally, not just locally in terms of who’s going to be using and downloading our app:

(more…)

1 Comment

SSH Tunnel setup–for Windows users

Posted by Brandon H on June 25, 2014 Tags: , , ,

“What’s an SSH tunnel?” you ask? In layman’s terms, it’s a way for you to take one PC, and pipe all its network traffic through another PC before it gets out to the internet. So what this means is that if, oh, somewhere were to say, monitor the traffic from your PC all they’d see is one pipe open to one endpoint transferring data. Nothing more, nothing less.

Sound like something you might like to utilize? Thought so ;)

(more…)

No Comments

OCD Windows Phone photogs, beware

Posted by Brandon H on June 24, 2014 Tags: ,

I’m writing this blog post not only to educate, as I try to do with most of my posts, but also to alert the community and hopefully affect some change. If you have a Windows Phone that supports high-resolution photography (Lumia 1020, Icon), please keep reading.

(more…)

No Comments

TPL in a Unit Test? GENIUS!

Posted by Brandon H on May 14, 2014 Tags: , ,

How often have you created a unit test that you knew was long running (test all ___ overnight), only to find that eventually you hit a time when it never stopped, and horked up the rest of the test run?

It’s happened to the best of us, I’m sure.

However, thanks to .Net’s beautiful TPL, this becomes insanely easy. Let’s check it out.

(more…)

No Comments

Got sweet code? Save it!

image.png Posted by Brandon H on May 9, 2014 Tags: , ,
zv7qrnb

If you’re a Visual Studio user you’re more than familiar with snippets (I would hope). ctor, propa, testm, all very useful. But have you created your own snippets?

You can do this with tools like the Snippet Designer extension, or roll your own by creating & editing a snippet XML file by hand based on the snippet schema.

Ain’t nobody got time for that.

(more…)

No Comments