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 two of our best selling eBooks for FREE!

JPA Mini Book

Learn how to leverage the power of JPA in order to create robust and flexible Java applications. With this Mini Book, you will get introduced to JPA and smoothly transition to more advanced concepts.

JVM Troubleshooting Guide

The Java virtual machine is really the foundation of any Java EE platform. Learn how to master it with this advanced guide!

Given email address is already subscribed, thank you!
Oops. Something went wrong. Please try again later.
Please provide a valid email address.
Thank you, your sign-up request was successful! Please check your e-mail inbox.
Please complete the CAPTCHA.
Please fill in the required fields.

Leave a Reply


1 × six =



Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy | Contact
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
Do you want to know how to develop your skillset and become a ...
Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

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

Get ready to Rock!
You can download the complementary eBooks using the links below:
Close