Skip to content

Didier116/Android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt tag

Developers' Implementation Guide

Android

Last update : 15/01/2018
Release version : 4

Introduction

TagCommander for mobile is a collection of small SDKs each designed to serve a dedicated purpose. The modules are the following :

Core : Used as a base by the other modules.

SDK : Tag management system collecting data through a server-side approach.

Segment : Get your user segmentation from our servers.

Beacon : Scan the beacon and find when a user is close to your shop

For each of those modules, please check their respective documentation for more information.

Adding a module to your project

If you want to add a module to your android project, you have several possibilities.

- Using jcenter to manage the dependency.
- Using directly the jar in your project.
- Using the aar file in yout project.

All of them will require you to modify a bit your build.gradle.

JCenter

The easiest way is to go with JCenter. It will help you get updates on the module on a regular basis without doing much work.

If it's not present in your project's build.gradle add jcenter() in the repository list for the dependency management. It will look something like that:

allprojects {
    repositories {
        jcenter()
        mavenCentral()
    }
}

Then in your application's build.gradle always add the core module:

compile 'com.tagcommander.lib:core:4.1.5'

And in addition to the core module you can add the other modules you need the same way. See each module's documentation for more specific information.

For exemple:

compile 'com.tagcommander.lib:SDK:4.1.5'
compile 'com.tagcommander.lib:segment:4.1.1'

Jar file

If you'd rather use the jar files directly in your project, you can get them from our github account: https://github.com/TagCommander/Android

You will always need to at least add the Core module to your project.

After you downloaded the modules you need, add them to your libs folder and either ask gradle to compile with all the jars in your lib directory or directly with the chosen files.

// All the jars.
compile fileTree(dir: 'libs', include: '*.jar')
// Specific files
compile files('libs/TCCore4.1.5.jar')
compile files('libs/TCSDK4.1.5.jar')
compile files('libs/TCSegment4.1.1.jar')

Aar file

If you'd rather use the aar files directly in your project, you can get them from our github account: https://github.com/TagCommander/Android

You will always need to at least add the Core module to your project.

To be able to compile with the aar files, you will first need to tell gradle how to use them properly. In your project's build.gradle complete your repository list with 'flatDir' list in the following exemple:

allprojects {
    repositories {
        mavenCentral()
        jcenter()
        flatDir {
            dirs 'libs'
        }
    }
}

After you downloaded the modules you need, add them to your libs folder and ask gradle to compile with them.

compile (name:'TCCore-release-4.1.5', ext:'aar')
compile (name:'TCSDK-release-4.1.5', ext:'aar')
compile (name:'TCSegment-release-4.1.1', ext:'aar')

Support and contacts

alt tag


Support support@commandersact.com

http://www.commandersact.com

Commanders Act | 3/5 rue Saint Georges - 75009 PARIS - France


This documentation was generated on 15/01/2018 16:17:07

About

Contains all the Android releases and debug versions of Tag Commander's frameworks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors