Runar Ovesen Hjerpbakk

Science-based software development

Windows Phone 7

Wake up Rested

large mobile app tileWake up Rested calculates either when you should wake up if you go to bed at a specific time, or when you should go to bed in order to wake up rested the next day. Waking up in the middle of a sleep cycle leaves you feeling tired and groggy, but waking up in between cycles lets you wake up rested.

Usages:

  • Wake up rested everyday by following your own body’s rhythm
  • Maintain your sleep cycle even when traveling abroad with different time zones
  • Take naps that makes you wake up refreshed using the app’s suggestions

SS1 - wake up by screenSS2 - go to bed atSS3 - settings

Wake up Rested’s default settings follows from the averages found in the scientific literature, but you can change these to fit your body. Individual sleep cycle variations of up to 20 minutes are common. The time needed to fall asleep, the length of your average sleep cycle and the number of needed cycles are all customizable.

Wake up Rested is available on the Windows Phone 7 Marketplace for just 0.99$.

For always up-to-date information, see the newly created app page.

Read More

Windows Phone 7–Change Live Id

The main Windows Live account cannot be change or removed like other accounts on the phone. In the Settings – email & accounts, Google and other accounts can be deleted from the context menu. The main Windows Live account is the first account listed with a Windows icon and only sync is available from the context menu.

microsoft-windows-7-phone

In order to change the main Windows Live Id, the one used to access Marketplace and Xbox Live, you need to reset the phone to the factory defaults. This, off course, has its disadvantages as all content on the phone will be deleted.

To reset your phone, tap Settings – about. Tap reset your phone and follow the instructions. After reboot, another Windows Live Id can be used in the setup.

Read More

Windows Phone 7: The Tip, The Bug, The Suggestion

 

The Tip

Windows Phone 7 does not have functionality for viewing a device’s MAC address from within the OS. For us using MAC filtering in our wireless home networks, this is annoying. However, the solution is rather simple: temporarily disable filtering on the router, connect the device to the network and not the MAC address in the router’s connected devices or DHCP. Now the device can be added to the allowed devices list and MAC filtering can be re-enabled.

The Bug

Phone numbers are recognize differently by my HTC 7 Trophy depending if they are from a phone call or a text message. Numbers from calls are shown without country codes, e.g. 12345678, and numbers from text messages always have the country code added (for Norway this is +47), +4712345678.

Adding the country code (+47) to a contact's number makes the messaging app recognize the contact, while an incoming phone call only displays the number without the country code. Leave out the country code, and only the phone calls are recognized as from the contact.

This bug is highly irritating and I have as of yet not found a solution.

The Suggestion

SuggestionVarious settings, as toggling WIFI or Bluetooth on or off, are only available from the settings page. It would be a time saver if such toggle settings were possible to pin as tiles on the start screen. The alarm tile already shows whether the alarm is toggled on or off when it's pinned to start screen, and the same method could be used for other toggle settings. Touching the tile could trigger the radios, for other settings (e.g. selecting a wireless network for the first time) a trip to settings page seems ok.

Read More

Windows Phone 7: 3 small issues

Having just received my HTC 7 Trophy I was eager to see my own programs in action on actual hardware. It was almost plug and play, however a few issues deserves special mention.

Win Phone Dashboard

The Dashboard Error

I have previously created a developer account and installed the tools from Microsoft. Separately, I have created an Xbox Live account. Before debugging my program on the phone, I tried to access the dashboard at the APP HUB. Every time the result was this:

we’re sorry. an error has occurred.

We encountered an issue connecting your App Hub account with your Xbox Live Profile.

Please visit Xbox.com and update your contact information.

After you have updated your contact information, please return to the App Hub (https://users.create.msdn.com/Register) to continue.

The Xbox link was dead, and manually adding contact information to my Xbox Live account did not solve anything. After a couple of creative searches the Internet suggested that contact information at https://billing.microsoft.com/ needed to be updated. I have not previously heard of this site, but I logged in anyway.

The billing site revealed two Xbox Live accounts: one personal and one for business. The personal account did not have a registered contact address while the business account did. Filling out the missing information solved the problem and I could access the dashboard as normal.

 

The Missing Phone Registration

Debug

Now I tried to debug my program on the phone. I plugged the phone into the computer, fired up Zune and Visual Studio and started debugging. No such luck. Visual Studio complained about missing phone registration. I checked with the almighty Internet, which told me that the phone needed to be registered from within Visual Studio.

RegIn vain I searched the menus and buttons looking for this phone registration. As a last resort I took a look at the start menu and found this: Windows Phone Developer Registration. Inputting my Live Id enabled debugging on the device. A much nicer experience than the emulator. Multi touch is just not the same using a mouse.

The Unrelated Zune Issue

I have used my previous phone to listen to podcasts on my way to work. Since you cannot drag and drop files directly to a Windows Phone 7 device, you need to get Zune to recognize the files as podcasts. I have downloaded a few podcasts which would only be imported by Zune if they were put in the music library. Unsatisfactory, as mixing music and podcasts are a not a good solution.

The Internet, again, came up with a solution: tag the mp3s with the genre Podcast. I closed Zune, downloaded MP3TAG, tagged the files and started Zune again. The mp3s in question were immediately recognized as podcasts and my trip to work could finally be combined with the wisdom of The Skeptics' Guide To The Universe

Read More