This starts an Activity that manages the complete Zappar scanning/AR function. The component is launched using an Intent: Intent i = new Intent(this, ZapparEmbed.getZapcodeClassForIntent()) boolean isCompatible = ZapparEmbed.isCompatible(>) Functionally, this works like the new-project. The embed component provides a function that can be used to ensure that the current device is compatible. r Try this:r Select module where contains red error code and press Debugg or Run button on Android Studio.r If module code contains errors, Android Studio. From the Android Studio main menu, you can choose File > New > New Module to start a new-module wizard. While Zappar is supported on most devices running Android 2.3 and later, a small number of problematic devices are blacklisted. If you change your package name you will have to request a new API key from us at At runtime, check that the device works with Zappar Note that the API key is tied to the package name of your app (e.g. Replace your_api_key with the key we supplied you for this application. EXECUTE AN ANDROID STUDIO APPLICATION 2 1) Downloaded android studio from the link provided. Select "Module Dependency" then choose ZapparEmbed.Īdd the following tag inside the block of your AndroidManifest.xml file: Be sure to edit the file for your apps module.
On the "Dependencies" tab click the "+" button at the bottom of the screen. Note: Android Studio projects contain a top-level adle file and a adle file for each module. Right-click on your module's entry in the project navigator and select "Open Module Settings". Add ZapparEmbed as a Module Dependency for your app's module Select the ZapparEmbed directory from the downloaded embed component, then click Finish.Īfter a few moments the ZapparEmbed module should appear in your project.ģ. Import the ZapparEmbed module into your Android Studio project The first step is to unzip the contents into a folder of your choosing.Ģ. An example Android Studio project that demonstrates the integration. The embed component itself - this is what will be integrated into your app.
What is android studio module zip file#
The App Embed Component download is a zip file that contains: First and the simplest way its import your additional module via IDE. If you have an AAR file then check out our article on integrating the AAR file into your project. If you have one of our legacy Android Studio modules then use this article to integrate it into your Android Studio project.
What is android studio module for android#
The App Embed Component for Android is typrically distributed as an AAR library file. Integrating the legacy Android Studio module Approaches to resolving Module not specified Error in Android Studio When attempting to run or debug the application on Android Studio you can come across.