Skip to content

Install

javier7ar edited this page Aug 27, 2017 · 6 revisions

Install (v0.4)

  1. Create a new empty Android Studio project (without any activity)

    • The Minimun SDK Version must be API17: Android 4.2 (Jelly Bean)
  2. Import the framework library into your Android Studio project

    • Download the latest samplersFramework.aar from here
    • Import the library into the project: File -> New -> New Module -> Import .JAR/.AAR Package
  3. Add the necessary dependencies

    • On your application build.gradle
      dependencies {
        // here the standards dependencies created by Android Studio
        // ...
      
        // if not added automatically, add this dependency 
        // you should use the latest version e.j. 25.+
        compile 'com.android.support:design:24.2.1' 
      
        // if you will use maps and location services, add this dependencies 
        // you should use the latest version 
        compile 'com.google.android.gms:play-services-location:10.2.1'
        compile 'com.google.android.gms:play-services-maps:10.2.1'
      
        // the framework dependency
        compile project(":samplersFramework")
      }
  4. Instantiate
    Instantiation can be done manually or using gradle class generator.