Augmented Reality Cache (AR Cache)

Posted under Entwicklung, GeoCaching, Interessantes von cjacob on Dienstag 21 April 2009 at 13:25

I have a new hobby. It’s called GeoCaching. In case you don’t know what GeoCaching is, you can get a good introduction here. Otherwise simply think of it as some sort of treasure hunt with the treasure map being GPS coordinates (that you find using a GPS enabled device) and the treasure usually being some sort of waterproof box with a logbook for you to leave your name and date when you found it. Believe me, it’s a lot of fun searching and more than that: finding GeoCaches.

As you can imagine, there are different types of GeoCaches. Traditionals like described above, Mystery Caches for which you need to solve puzzles, NightCaches that can only be found at night and several more. However, recently an absolutely awesome idea popped into my mind. An idea for a new type of GeoCache.

The Augmented Reality Cache

Augmented Reality CacheAugmented Reality basically means that the reality is “extended” by virtual information (most commonly 3D Objects). But how does this work? Easy: You place a marker that can be recognized by a special software that runs on a device which has an integrated camera (or the ability to have a camera attached). The software then extends the real world image with the virtual object and displays the result on the display. What makes AR so damn fancy is that this all happens in real time. So if you turn or tilt your device, the virtual objects does the same just as if it exists in the real world.

More easy: On the display  it simply looks like as if the giant monster dwarf was really standing in front of you swinging his enormous warhammer. Only… that he’s of course not really there. ;-)

Look here to get an impression of what the heck I am talking about.

What does that mean for GeoCaching

So back to GeoCaching. GeoCaching means that you go to given GPS coordinates and then search for some sort of hidden treasure (the Cache). Sometimes you follow hints or need to solve puzzles.My vision now works like this: The coordinates lead you to a traffic sign for instance. You point your Windows Mobile cellphone with an integrated GPS device and camera to the sign and what you see on the display is a virtual three-dimensional arrow pointing to the right with a text on it saying 50m. Everyone else only sees that traffic sign. But you have a device that extends your sense of reality. ;-) You see more. You took the red pill!

So the AR Cache could incredibly increase the GeoCaching experience by adding hints, coordinates and visual clues to real world objects. Also, many cacher already use devices like Windows Mobile cellphones (for instance running CacheWolf) or the iPhone (running Groundspeaks own proprietary software). So there will be lots of people who can experience this new type of GeoCache.

Ideas

For this type of GeoCache to work, a couple of things need to be accomplished. First of all, applications need to be developed that are able to recognize either simple marker or even basic geometric forms (to be able to work with real objects like traffic signs instead of stickers that need to be attached to real world objects). This application needs to be able to import markers as well as 3D Objects, images or whatever, so that a Cache Owner can create an own set of extension for his specific AR Cache. Of course it would be awesome if this application also has an Owner-Tool that makes it possible for the owner to create markers from real world objects instantly with the integrated camera of his device for instance.

Next, this type of software needs to be made widely available for different platforms. The easiest would most certainly be Windows Mobile. Also, Groundspeak should be pretty interested in extending their own GC software with this feature. A Java based application should be interesting, too, so that it will work on basically every device that is able to run own applications. Maybe this is something, the CacheWolf community is looking for?

Speaking of Groundspeak: I sent an email to them with a suggestion to create this new type of GeoCache. I am curious if I get feedback. ;-)

Please comment on this if you like the idea.


Nabaztag goes Second Life

Posted under Entwicklung, Second Life, Spiele, Unterhaltung von cjacob on Samstag 7 März 2009 at 23:52

Having your Nabaztag communicating with Second Life ist not that hard as I found out. Others already tried it and now, even I did. I am currently able to wake my rabbit up and send it to sleep.

Well… it’s a start.

nabaztag_001


Why I like being a developer, or: BunnyTray – Send your Nabaztag to sleep

Posted under Entwicklung von cjacob on Sonntag 1 März 2009 at 0:15

My girlfriend asked me lately, what she can do to put our Nabaztag to sleep, because she wanted to take a nap in the livingroom and that thing had a lot of fun talking to her all the time.

So I implemented a little tray-application for her that she can use to put it to sleep and wake it up again whenever she wants:

bunnytray


What’s the matter with InstallShields’ LogonInformation dialog. List is empty?!

Posted under Entwicklung, Interessantes von cjacob on Freitag 27 Februar 2009 at 9:39

The one or other might have already stumbled across the famous three words when using InstallShields’ LogonInformation dialogs: List is empty. This preferrably happens right after you finished creating your setup and befor you are about to deploy it to a customers’s server. You click on <Browse> to see a list of available Domains and get “The list is empty”. You enter a domain name for yourself and click on <Browse> for a list of users in that domain and Windows Installer tells you it can’t find the domain you entered. So what the hell is wrong with that thing?

The answer is easy but you will be less than thrilled.

One of the software developers of Acresso explained they were using the API function NetServerEnum. And if you look here you will find out that if it does not work, the reason might be that the ComputerBrowser service is not active.

In all test cases I tried, I was able to get the LogonInformation dialog to work with enabling the ComputerBrowser service. However, this solution has a major drawback: The ComputerBrowser service itself depends on File and Printersharing. All these services are disabled by default on a Windows Server 2008 for instance.

In most cases you won’t be able to tell your customers they need to enable and active several services only for your setup to work. So I guess the bad news is that you will need to find a work around.

What I did, by the way, is implementing a couple of own Custom Actions and replace the calls in InstallShields’ dialogs with my own ones. That works like a charm. ;-)


Where to get Microsoft.Win32.Security

Posted under Entwicklung, Interessantes von cjacob on Donnerstag 19 Februar 2009 at 14:08

If you are trying to deal with Security Descriptors, Access Control Lists, permissions and all that funny stuff, you might have already thought about why the hell nobody implemented an easy to use managed library for it yet.

Well. Somebody did.

There used to be a sample called Microsoft.Win32.Security that was released for free on gotdotnet. When you are reading this, I bet you already know that and found out that GDN does not exist anymore and Microsoft somehow forgot to put the code up on MSDN.

Also you will almost certainly already have stumbled across this site, that newsgroup and in case you are actually searching for a way of playing with DCOM also across myITforum and maybe Acresso

If you also found out that the Assembly was built for .NET 1.1 and Microsoft already implemented an own (official) wrapper for .NET 2.0 and called it System.Security.AccessControl and if you also found out that it does not contain the features you needed, than read further.

Although you won’t find the official source of Microsoft.Win32.Security, there is at least one project still active that makes use of it and – fortunate for us – contains the complete sources. The project’s name is FlexWiki and you can download its sources easily with any Subversion Browser. Here is how:

  1. Obtain and install the latest version of  TortoiseSVN from tigris
  2. Create a folder on your harddrive and name it flexwiki
  3. Right click that folder and use TortoiseSVN to check out the flexwiki source

For the last step you will have to enter the following URL: https://flexwiki.svn.sourceforge.net/svnroot/flexwiki and simply check out the main trunk.

You will find the sources for the Microsoft.Win32.Security assembly right under flexwikicore/trunk/lib/Win32Security. In the bin subfolder there already is a compiled dll you can use right away.

Hope that this information if useful for someone. If so, please comment. ;-)


How to run PowerShell scripts as native Custom Actions from within an MSI based setup

Posted under Entwicklung, Interessantes von cjacob on Freitag 6 Februar 2009 at 15:31

The common answer to this topic may be rather doing without any custom actions whatsoever However, I believe that there is a strong request for running PowerShell scripts for configuration purposes at installation time.

Although there currently is no real native way of doing so, it is still virtually possible and I will show you how.

(weiterlesen…)


Brian the Build Bunny – Part II

Posted under Interessantes, Visual Studio von cjacob on Donnerstag 29 Januar 2009 at 9:01

On December, 4th, I posted a small article containing a youtube video of Brian the Build Bunny and simply the comment that I wished I had one (update on this: maybe I’ll get myself one…). What was most fascinating on this was, that two weeks later, I suddenly got over 300 hits on my blog (which usually has around 10 to 20 hits per day). I had a quick look at the stats and noticed that all of them went directly to my Build Bunny post.

nabaztag

However, the article didnt actually contain anything of any interest. And the referers didn’t show how those people got to my blog. Today, I noticed that there are still visitors looking for Brian (did you notice, that I had a typo in the headline?). This time I got curious. Where did those people come from anyway. So I had a closer look into the stats.

And guess what: From Redmond. Microsoft Corp.

This is so typical. I post really interesting stuff about how to quit Microsoft Windows Live OneCare, why Microsoft Windows 7 will kick ass, the all new Microsoft Team Foundation Server 2008 Branching Guide 2.0, how to generate Release Notes with Microsoft Team Foundation Server 2008 Team Build and automate the incrementing of Assembly version numbers (thanks again, Chris!). And they come for looking at a youtube video about Brian the Build Bunny.

Time to get one and do something with it, they really find interesting.

Since I can safely assume, that you guys from Microsoft still visit my blog for Brian, could you please add comments about why and where you got the link from? ;-)


How to let Team Build automatically increment the Assemblys’ version information

Posted under Entwicklung, Visual Studio von cjacob on Mittwoch 28 Januar 2009 at 20:27

First of all let me say that credit goes to Christian Binder whose blog article was the reason why I got things working in the first place. Thank Chris! Since his howto is in german, I will translate most of it here. For reference, please visit his blog!

(weiterlesen…)


Automatically generate release notes textfile from Team Foundation Build

Posted under Entwicklung, Visual Studio von cjacob on Freitag 23 Januar 2009 at 14:22

I recently found out about a blog entry written by Grant Holliday, that describes how to extend an MS Build process within an automated Team Foundation Build so that a release notes textfile is generated and copied to the drop location.

This basically goes something like this:

  1. Download and install the MS Build Community Tasks from tigris
  2. Download and install the MSXSL.exe tool from Microsoft
  3. Extend the build.proj file

This process involves the WebDownload build tasks that retrieves the buildlog.xml file from the respective TFS webservice after the build is done. Nex step is transforming the xml file to generate a releasenotes.txt file.

Everything you need to know to get things done is very well documented on Hollidays blog.

However, there are two things to notice: First, you need to download the Community Tasks msi file directly from tigris. The link, Holliday provides, leads to an outdated version that does not include the UseDefaultCredentials property. The result ist, that the process will terminate with a 401 error due to missing authorization.

Second, Holliday does not provide an example xsl file for transformation of the xml file.

To achieve the same result as Holliday does (and shows on the blurry screenshot), you can try using the following xsl file: ReleaseNotes.xsl


Team Foundation Server Branching Guide 2.0

Posted under Entwicklung, Visual Studio von admin on Montag 5 Januar 2009 at 23:18

The TFS Rangers recently releases a revised version of their popular Branching Guide. The new version contains several pdf files with information about branching in Team Foundation Server 2008 and different scenarious as well as a Q&A, a poster, branching drawins and a couple of examples with hands on labs.

Learn everything about it here: TFS Branching Guide 2.0 – Home .


Nächste Seite »

Copyright © 2010 Trimagination. WP Theme created by Web Top.