<body onLoad="window.defaultStatus='Welcome!. You are in my weblog.';return true"><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar/9550158?origin\x3dhttps://www.txemaromero.com', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Saturday, December 10, 2011

Guidance system in outside by means of augmented reality

Android is a mobile operating system. Android is based upon a modified version of the Linux kernel. It has a large community of developers writing application programs that extend the functionality of the devices. Google is the commercial sponsor of Android and its strongest developer. Developers write managed code in the Java language, controlling the device via Google-developed Java libraries. The .apk file is the packaged application program.

I participated in a project called "Horizonte" which consists of developing an Android application (app) in which a destination address is entered and the camera, Internet connection, GPS, compass and accelerometer are all used to guide the user to that destination with a line on the camera image. This is called augmented reality since it superimposes virtual information on an image. This app can be set to guide users travelling on foot. An option for travel by car is also available, and the route planner can be set to avoid toll roads and motorways.

I enclose a video. It is a video example of the app configured in "by car" mode. Place: Amara at San Sebastian (Basque Country).





The following screenshot shows the "Horizonte" application. It is running under Android emulator from Eclipse IDE and Ubuntu GNU/Linux operating system.


horizonte


[A tutorial showing the app in use in a real-life situation: Download tutorial pdf]
[See UML diagram with the classes: Download UML diagram]

Finally, the following tutorial describes how to create Android applications: https://www.vogella.com/tutorials/Android/article.html