Friday, July 5, 2013

Photo Location Planner reaches 10k download mark

A few days ago the Windows Phone version reached 10 000 download mark on the Windows Phone Store!

Thanks for all the users for this unbelievable achievement! There are some open bugs that I will fix at some point. Also, I have a lot of development ideas as well, finding the time to implement them is the harder problem to solve :)

image

Monday, June 3, 2013

Unprecedented popularity of Photo Location Planner in WP Store

I submitted Photo Location Planner to Windows Phone Store just about a month ago. This weekend the statistics tell me that it has been downloaded from the store over 5000 times! That is way more than I anticipated, although the app is free but it has a fairly limited audience. The download stats look currently like this:

image

Past few weeks it has been fairly steady at 150-200 downloads per day, which is amazing! I have done very minimal marketing, just a few tweets and blog posts + word of mouth to friends + one post to a local photography forum.

To be honest there is currently at least one case when it seems to crash, stay tuned for an updated version. Many thanks for the individuals who have submitted a crash report via email!

Photo Location Planner in Windows Phone Store.

Friday, May 24, 2013

Photo Location Planner for Windows Phone 1.2

New features:

  • Finnish localization
  • Sunrise & sunset compass direction added to start screen
  • Error reporting added
  • Version history added
  • Link to rate & review added

Version 1.2 has been available in the store for a few days now.

Wednesday, May 8, 2013

Weird behaviour of DateTime.AddMilliseconds() on Windows Phone

I have recently released a Windows Phone App to the store, and it has received fair amount of attention. There has been, however, an annoying bug in the code that I did not have time to investigate closer until now.
The problem is that this piece of code
private static DateTime julianDateToDate(double julianDate)
{
    DateTime dt = new DateTime(1970, 1, 1);
    dt = dt.AddMilliseconds((julianDate + 0.5 - J1970) * msInDay);
    return dt;
}
results in an ArgumentOutOfRangeException if the argument julianDate is NaN (which happens when the app logic fails to calculate various twilight times – they cannot be calculated at all at certain times of year and place).
The weird thing is that the exception gets raised only when run on the emulator. If it is run on a real device, no exception is raised! Luckily it is possible to debug the code when it is running on a device, which revealed the problem.
The simple correction is to modify the method to manually check the argument and raise the exception:
private static DateTime julianDateToDate(double julianDate)
{
    if (double.IsNaN(julianDate))
        throw new ArgumentOutOfRangeException("julianDate");
    DateTime dt = new DateTime(1970, 1, 1);
    dt = dt.AddMilliseconds((julianDate + 0.5 - J1970) * msInDay);
    return dt;
}
The lesson here obviously is: the emulator is not the same thing as the real device. Remember to test your apps on the device as well!

Edit 10.5.2013: corrected the first piece of code to reflect reality!

Friday, April 26, 2013

Photo Location Planner

Are you a landscape photographer? Do you need to plan when and where you need to go to capture the perfect sunrise or sunset photograph?

Aalisoft has developed an app that lets you see when the sun rises and sets as well as the direction on an interactive map. The times and directions depend on two things: the date and place. Before the exact times can be calculated, the position needs to be pointed on the map and the desired date needs to be selected (by default it is today but you can plan ahead and select whatever date you desire).

There are three different types of twilights:

  • astronomical (dark enough for astronomical observations)
  • nautical (dark enough for nautical navigation based on stars)
  • civil (starting to get dark for the human eye)

All these three twilights will also be calculated and shown on the screen. See a good explanation on the different twilights here as it relates to photography.

Available in Windows Store…

Photo Location Planner has been available free for Windows 8 and Windows RT since December 2012.

screenshot_01302013_210442

Photo Location Planner in Windows Store

And now also in Windows Phone Store!

A version of Photo Location Planner is now available also for Windows Phone 7.5 and later (including Windows Phone 8).

WP4

Photo Location Planner in Windows Phone Store

Have fun and take great sunset/sunrise photographs! Or just enjoy the sun without a camera, now you know when it rises and sets!

Sunday, April 21, 2013

Photo Location Planner arvostelu

Aalisoftin tekemä Windows 8 –sovellus Photo Location Planner on arvosteltu mBnetin viikon ohjelmat-artikkelina. Jos olet Windows 8-käyttäjä, käy kokeilemassa!

Sovelluksen Windows Phone-versio on lähiaikoina myös saatavilla.

Monday, April 15, 2013

TF31003 error using Team Foundation Service + VS 2012

I have been a happy user of Team Foundation Service (aka TFS Azure) ever since it was released to general public. Today I ran into an issue that I could not get identified from within Visual Studio (running version 2012.1). I always got

TF31003: Either you have not entered the necessary credentials or your user account does not have permission to connect to the Team Foundation Server at https://***.visualstudio.com/. Ask your server administrator to add the appropriate permissions to your account

No login prompt was displayed at all.

TFS worked like a charm for me if I opened the browser portal, however. I could see all the projects etc. After a bit of searching around the internet it cleared to me: I had logged on earlier using a Microsoft account (Live id) that was not among the ids that have access to the service. Not sure how it really works, but it seemed to make a difference if I opened the browser with “run as admin”. I am also running Visual Studio with “run as admin”, so it sort of makes sense. Anyway, the problem was cleared by opening a “run as admin” browser, go to ***.visualstudio.com, let it tell me that I do not have access and then sign out the account.

And voila, after that Visual Studio asks me for login when I retry connect to team foundation server!

In some internet resources it says that it can be resolved by clearing all cookies, which probably also effectively forgets the auto-signin to TFS.