All posts by Bary Nusz

Winds of Change for Nokia Developers

By | .NET, Blogs, C#, Mobile, Multi-Device, News, Xamarin | No Comments

For the last 16 months I’ve had the privilege of serving as a Nokia Developer Champion. I’ve spoken at numerous events, conferences, and handed out a ton of swag. In return, I’ve gotten early access to the latest Nokia SDK’s and hardware. I’ve also gotten to work with some great Nokia and Microsoft people. We regretfully received word this week that Microsoft is ending the Nokia Champion and Nokia Ambassador programs on September 1. I would like to thank Randall Arnold , Greg Stoll , and Rich Dunbar  for helping me with my Nokia Champion duties. Although the swag and…

Read More

Cyan Developer Preview Update for Windows Phone 8.1 Enables SensorCore

By | .NET, C#, Microsoft, Mobile, News | 3 Comments

­I was happy to receive the latest Windows Phone 8.1 update on my 1520. This update brings it up to OS version: 8.10.14157.200 The SensorCore SDK gives you access to a step counter, activity information, and capabilities to record your location data in a very low power mode. I’ve know for some time that the SensorCore hardware was present in my 1520 but that it was not enabled. I had to make due with a preview version of a Nokia 635 to play with the SensorCore API. With the latest cyan update, I’ve finally got access to the SensorCore hardware on my…

Read More

Picking your Challenges – Luminance for Points

By | .NET, Blogs, C#, Fun, Windows | No Comments

One of the things I’m learning as I’m settling into my #2520orBust challenge, is picking which challenges I’m going to tackle on DVLUP.com. You have to consider the requirements of the challenge and the due dates. You also have to consider the amount of free time you have to devote to the challenge. For me, that’s not much time. So, I’m looking at the low hanging fruit right now. The next challenge on my list is the “New App Special“. It’s 250 pts, and I’ve got until the end of August. The app I have in mind is a lux…

Read More
ref-app-shake

Getting Rid of Buttons to Prevent Inadvertent Input

By | .NET, Blogs, C#, Fun, Microsoft, Mobile, Windows | No Comments

In my other life, I fence with swords. My wife and I also run fencing tournaments. We are known for running a tight ship and keeping things moving along. I hate starting events late, and I hate events running long. Even when you prearrange everything up front, your best plans can be blown apart with simple equipment failure. It’s good practice to have a simple timer for timing the fencing bouts. Several smart phone apps allow you to track all aspects of a fencing bout, like time, score, penalty cards, match count, and injury timer. All of this is represented…

Read More
dvlup-quiz

Showing the Camera Preview in a Universal App – #2520orBust

By | Uncategorized | One Comment

This is the second post on my “2520 or Bust” quest. In order to achieve my quest I must get points on DVLUP.com, and to do that, I must submit apps. However, not all of the points that are available require you to submit apps. There are some that just require you to take an easy quiz. So my first step toward my Nokia 2520 was 50 points for completing the “Rev up your startup with BizSpark”. You better hurry though, this challenge ends on July 1st. If you miss it, it’s OK, new challenges are posted all the time.

Read More
2520-or-bustd737ad22c21b6c1ba323ff00009c4343

2520 or Bust

By | Uncategorized | 4 Comments

I’m excited to begin a new developer series called “2520 or Bust.” The purpose of this series is to show you how much of an effort it is to acquire enough challenge points on DVLUP.com to get a Nokia 2520. This series of posts will also be syndicated over on developer.nokia.com.

Read More
sensors

Sharing Sensor Code in Universal Apps

By | Uncategorized | One Comment

Universal Apps have the ability to unify code between platforms, but what about using sensors between platforms? I wrote a simple Universal App to see how much sensor code could be shared. In the past, Windows Store and Windows Phone had similar code to access and handle sensors, but sharing code meant lots of conditional compilation symbols to handle the differences.

Read More
share1

Sharing Resource Dictionaries in your Universal XAML Apps

By | Uncategorized | One Comment

My colleague Josh Morales has already touched on the new Universal XAML Apps, but I wanted to touch on one of my favorite new features. One of the big selling points to developing native Windows applications is that you can share a significant amount of code between Windows 8/8.1 and Windows Phone applications. Now with the new Hub App project type in VS2013 Update 2 RC, the ability to share code between Windows and Windows Phone has taken a huge leap.   Portable libraries are extremely useful for sharing base classes but have had limited namespaces in the past. Hub…

Read More

Early access to Windows Phone 8.1 for Windows Phone Developers – NOW!

By | Uncategorized | No Comments

Updated 04/14/2014: If you’re a Windows Phone developer, then you are now able to update your Windows Phone to a developer preview of Windows 8.1, including Cortana. All you need to do is install the Preview for Developers app and then check for updates on your phone. As soon as I get the new bits installed, first on my list of new API’s to try out is the Nokia SensorCore bits. Very exciting times for us Windows Phone developers.

Read More
tariq_dvlupday_710.tmb-thumbnail

Falafel to help out at DVLUP Days 2014 North American Tour

By | Uncategorized | No Comments

Nokia’s DVLUP Days 2014 North American Tour is underway. As one of Nokia’s Developer Champions, I’ll be helping out by giving a talk or two and answering questions at the event in Dallas, Texas, on May 17th. Come on by and say “howdy”. There’ll be plenty of swag and hardware given out by Nokia and I’ll have some special swag to give out myself. New York City – March 22, 2014  Chicago (Downers Grove, IL) – April 12, 2014 San Diego – April 26, 2014 Dallas, Texas – May 17, 2014 Toronto – To Be Announced Date! Stay tuned!   …

Read More

Image Correlation Math Utilities in C#

By | Uncategorized | No Comments

In this video I describe the basics of image correlation. I actually wrote these utilities over 15 years ago in Delphi. That’s the cool thing about math, it’s timeless. It doesn’t matter what you write it in.     Links  Statistical Functions Image Correlation Proof of Concept (Windows 8.1)       Image Correlation Function Details in C#

Read More

Spicing up boring Windows 8 pages with the Telerik HubTile

By | Uncategorized | No Comments

This is a video blog post on how to spice up your boring Windows 8 pages using Telerik’s HubTile.   Attached Properties review : http://blog.falafel.com/Blogs/BaryNusz/bary-nusz/2013/01/16/using-generic-attached-properties-to-simplify-windows-8-settings-charm-pages Telerik HubTile: http://www.telerik.com/products/windows-8/controls-xaml/hubtile.aspx Falafel Bugs for Windows 8: http://www.falafel.com/store/falafel-bugs-for-windows-8 Boring example: https://github.com/physicspackage/Boring.git

Read More

Processing real-time video with a Windows Phone application using C#

By | Uncategorized | No Comments

This is a follow up to my previous video blog post Processing real-time video with a Windows Store application using C#. In this video we are doing the same thing, but with a Windows Phone. Links You can download the updated example with both the Windows Store and Windows Phone projects here. Here is an old blog post about displaying the Windows Phone camera preview with XAML. The Nokia Imaging SDK. The Nokia Real-time Filter Demo.

Read More
nokiachargermounting11

Meet one of the newest Nokia Developer Champions at the Cowtown Code Camp

By | Uncategorized | No Comments

The Cowtown Code Camp in Fort Worth Texas is this Saturday, Mar 16th. I’ll be speaking about “Windows 8 & Windows Phone XNA graphics and sensor integration” at 4 PM. Nokia has seen fit to name me a “Nokia Developer Champion”. I, along with Falafel Software, look forward to working with Nokia and working to improve the Windows Phone ecosystem. My talk at the Cowtown Code Camp will be filled with lots of examples and hands-on demos. For those who are attending, I’ll be giving away one of my custom designed and 3D printed phone stands for the Nokia 920 and wireless…

Read More
spawn

Surface Pro for Developers

By | Uncategorized | No Comments

For years I’ve always liked the idea of having the ability to develop on the road. Few who know me would ever deny that I’m a true road warrior, although I’m beginning to slow down. Whether it was taking my kids all over the world to fence, chasing storms, hiking off the trail, or even jet skiing at the lake, I often had my laptop with me. I’ve come up with some of my best ideas while on the road. However, the size and bulk of my various laptops always had me wishing for something else.   The Surface RT…

Read More
adcontrolflyout

Handling the AdControl with Flyout Settings Pages

By | .NET, C#, Fun, Microsoft | No Comments

In my last blog post, Using Generic Attached Properties to Simplify Windows 8 Settings Charm Pages , I talked about how to easily add Settings Charm pages to any Windows 8 app. If your app happens to have an AdControl, you might have an issue that you need to handle. The issue is that AdControl is hosted in a WebView Control, which causes the control to always be on top. When flyout Settings Charm pages overlap AdControl elements you get unexpected behaviors. It’s a known issue but is easy to handle. I’ve updated the GitHub example to include a couple of AdControls on the…

Read More
customap

Using Generic Attached Properties to Simplify Windows 8 Settings Charm Pages

By | .NET, C#, Fun, Microsoft, Tools | No Comments

I’ve always liked attached properties… so much so that a couple of years ago I created a series of generic classes to simplify the process of creating custom attached properties. Attached Properties – a review: External control interactions — like the Grid.Row attached property. Basic info storage — just like the Tag property. Behaviors — changing properties and behaviors of the parent control. Bindings — to achieve custom bindings between UI controls. If you use XAML, you use attached properties whether you realize it or not. Creating a custom attached property only takes a few lines of code. Many declarative…

Read More
video2907da3c23fd-11-

Anchoring Augmented Reality Objects In The Real World On Your Windows Phone

By | Uncategorized | No Comments

Augmented Reality (AR) applications have been making headway into our lives. Probability the most recognized AR use is the yellow first down marker used on TV for most football games. AR apps have also been creeping into our phones. My current favorites are SkyMap and Wikitude. Being an engineer and scientist, I’ve always been interested in how things work. The inner workings of AR could not escape my interest, especially with access to such tools as our new smart phones. What makes AR possible in today’s new phones are the MEMS and GPS sensors. The MEMS sensor is used to…

Read More
screenshot_2012-07-06_12-09-17_thumb

Magnetometer Application on the WP7

By | Uncategorized | No Comments

Falafel just released a new mobile application that displays the magnetometer sensor of your Windows Phone 7. In addition to displaying the magnetometer, it also displays true north, and the up vector all in a “floating compass” 3D view. I’ve been playing around with the concept of using the accelerometer and magnetometer sensors and displaying them in a nice 3D format for some time now, as evidenced by my posts: Silverlight/XNA and Correcting WP7 Attitude Alignment, Showing the WP7 Magnetometer in 3D with XNA/Silverlight, WP7 Attitude and Magnetometer UPDATE with HTC Titan, Basic XNA Graphics for the WP7, and Loading…

Read More
moonsu_thumb-5-

Loading Textured SketchUp Models Into AR Windows Phone Applications

By | Uncategorized | No Comments

In my previous blog I talked about loading a simple non-textured SketchUp model into your Windows Phone application. This blog will deal with loading textured SketchUp models. I did some searching about and found a textured SketchUp model online of the Moon and Earth.     Using the same DirectX/XNA Exporter Plugin from the last blog, I exported them. What you end up with is an DirectX file and a jpg file for each texture used in your model. You need to put these files in your Content project directory and make sure you include the DirectX files in the…

Read More
sketchup1_thumb-2-

Loading Google SketchUp 3D Models into Windows Phone Applications

By | .NET, Mobile | No Comments

In some of my previous WP7 blogs, such as Basic XNA Graphics for the WP7, I go over how to build basic 3D models for your applications. What happens when you want something more complex? You need a good 3D tool to generate those models for you. I started exploring Google SketchUp as a possibility for generating 3D models for the WP7. I found Jim’s Blog on how to load a Google SketchUp model into a XNA game. Jim used the DirectX/XNA Exporter Plugin. So I installed the plugin and started playing around. I thought it would be cool to…

Read More

Silverlight ICommand Behaviors

By | Uncategorized | One Comment

I’ve always been a fan of Commands way back when they were called Actions in the old Delphi days. With .NET, WPF, and Silverlight we have so many new tools available to us. One I’ve been having fun with is behaviors. If you’re unfamiliar with these little jewels then check them out here and here. I almost immediately recognized a way to combine my old love of commands with my new love of behaviors. Let’s say we want to attach a generic command to refresh our server to any UI element using a behavior. To start with I came up…

Read More