Home » Android » Android Core » Augmented Reality : Introduction of Metaio SD

About Ketan Parmar

Ketan Parmar (aka KPBird) is software engineer with 7 years experience, He is passionate about Java (SE,EE,ME),Android,BlackBerry, Grid Computing, Big Data, UI/UX and Open Source

Augmented Reality : Introduction of Metaio SD

Metaio SDK is advanced as compared to Vuforia SDK, Metaio SDK is developer friendly such that any beginner or novice developer can develop good quality of AR application.

High-level system overview

overview-02

1. Setup Metaio SDK 4.5

I assume that you already have Android SDK and NDK setup in computer.

Step 1: Download Metaio SDK 4.5 for Android

Step 2: Double click on metaio_4.5_mac.dmg, It will ask for terms & condition, click “Agree”

Step 3: Drag & Drop mataioSDK folder to your desire location

sdk-ls

Step 4: _Android Directory has Android SDK

2. Compile and execute example_sdk application

Step 1: Open eclipse

Step 2: Click File->Import->Android->Existing Android Code Into Eclipse

Step 3: Navigate to metaioSDK folder and go to _Android and click next

Step 4: Eclipse will list all Android projects under _Android directory

Step 5: Select metaioSDK and Example_SDK, unselect other projects

Step 6: Click finish, eclipse will import two projects

Step 7: Right click on “ImageTargats” project -> select run -> Android Application

Step 8: Print PictureMarker.pdf and put your phone in front of printout, App will display 3d object of metaioman

Note: do clean & build if you find error of R.java and make sure that you have android sdk version 2.3 and higher in metaiosdk and example project

3. Understand code of Example

Metaio Example app has code of Tutorial 1 to 8, I am going to explain only code of Tutorial 1, Most enjoyable feature of Metaio SDK is “You don’t require NDK code” (I like this feature)

Files & Description

  • Tutorial1.java: It extends ARViewActivity, not by Android Activity, We need to use getUILayout() function to provide xml layout and in loadContents() method we need to provide tracker configuration xml file and content file md2 or obj
  • tutorial1.xml: It has only one image button, nothing else
  • TrackingData_MarkerlessFast.xml: This xml is placed in in Assets/Tutorial1/Assets1, It has all require configuration for tracker, i.e. tracker image, sensor, algorithm use.
  • metaioman.md2: This is our metaioman 3D object which display when tracker found in camera.

That’s all, we don’t require NDK, C++ or OpenGL.

Metaio also provides cool feature “AREL” – Augmented Reality Experience Language, you might notice AREL button in Tutorial 1,  AREAL is more simpler then normal method. Click here to know more about AREL
 

Reference: Augmented Reality : Introduction of Metaio SD from our JCG partner Ketan Parmar at the KP Bird blog.

Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

6. Spring Interview Questions

7. Android UI Design

and many more ....

Leave a Reply

Your email address will not be published. Required fields are marked *

*


one × 1 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close