My Astrolight red flashlight application has been updated to keep the screen from locking. I had heard from users that sometimes they wanted to set the phone down while playing with cameras and eyepieces – but when they went back to the phone they’d have to unlock again. Which could be pretty bright depending on your wallpaper! Get it from the Windows Phone Marketplace.
My Astrolight red flashlight application for astronomers has been updated with new support for Windows Phone Mango. Astrolight stays true to the simple design that works so well, but now supports better multi-tasking as well as a very slight fade in animation on launch. Get it from the Windows Phone Marketplace now!
Astrolight is a simple red flashlight application which you can get in the Windows Phone Marketplace, it’s so simple that I’m going to tell you how you can create one too. With two lines of code.
Assuming you’re all up and running with the free Visual Studio Express for Windows Phone, we just need to start a new Windows Phone Game project…
Then we double click the Game1.cs file and find the Draw method. Here we need to change replace one line with two:
/// This is called when the game should draw itself.
/// <param name="gameTime">Provides a snapshot of timing values.</param>
protected override void Draw(GameTime gameTime)
graphics.IsFullScreen = true;
Press play and watch your brand new app on the Windows Phone Emulator!