
We will later create a launch method that to launch Layar AR. Now go back to file activity_layar.xml and replace the references to button to Launch_Layar. Browse through the folder navigation SDKDemo->res->values and open strings.xml and add the following line: Launch Layarġ1. Drag and drop a button to the Graphical Layout from Form Widgets tab.ġ0. Once the file opens, select tab Graphical Layout.ĩ. Browse through the folder navigation SDKDemo->res->layout and open file activity_layar.xml. The project structure will look like this:Ĩ.
Simple android app in eclipse android#
When done click "Finish"ħ. Now, you have created a new Android app called "Demoapp". in the new window check the box Create Activity and select New Blank activity. Once you finish with configuration click on " Next".ĥ. Configure the attributes of the icon set. Minimum Required SDK should be set to API 9 and Target SDK should be API 18.ģ.Configure project as shown below and click on " Next"Ĥ. Please make sure that the package name is the same as the one you set when you requested the SDK Key and Secret.

Implement the code which launches a geo-location layer.Implement the code which launches the Augmented Reality View.Configure the project according to the SDK documentation (included in the SDK package).Create a very simple Android application with one button called "Launch Layar".The scope of the tutorial is summarized below:
Simple android app in eclipse how to#
In this step by step tutorial, we demonstrate how to integrate the Android Layar SDK into an Android app.

Please note that we no longer support Eclipse since google is officially supports Android studio Tutorial - Integrate Android SDK with Eclipse (deprecated) Tutorial- Example use of iOS SDK Callbacks.Tutorial- Example use of Android SDK Callbacks.Integrate Android SDK with Android Studio.Tutorial - Integrate Android SDK with Eclipse (deprecated).
