This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void onScreenMonitoringStart() { | |
//This callback will receive when eye tracking algorithm is intilized. | |
} | |
@Override | |
public void onScreenMonitoringStop() { | |
//This callback will receive when eye tracking algorithm is stopped. | |
} | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: android | |
jdk: oraclejdk8 | |
sudo: false | |
notifications: #Optional | |
email: | |
- [email protected] #Add your email address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env: | |
matrix: | |
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a | |
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a | |
global: #Optional | |
- ADB_INSTALL_TIMEOUT=10 #Time out to 10 mins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android: | |
update_sdk: true #Check for the updates each time you run the build. | |
components: | |
- platform-tools | |
- tools | |
- build-tools-25.0.0 #Build tool version | |
- android-25 #targate api version | |
# Additional components | |
- extra-google-google_play_services |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_cache: | |
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | |
cache: | |
directories: #Cache all dirs under .gradle folder | |
- $HOME/.gradle/daemon #Cache daemon logs | |
- $HOME/.gradle/native #Cache library downloaded from the gradle dependency | |
- $HOME/.gradle/wrapper #Cache the gradle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_script: | |
- chmod +x gradlew #Grant permissions | |
- android list targets | |
- echo no | android create avd --force --name test --target $ANDROID_TARGET --abi $ANDROID_ABI #Create AVD for given api | |
- emulator -avd test -no-skin -no-audio -no-window & #Start emulator | |
script: | |
- echo "Travis branch is $TRAVIS_BRANCH" #Print out which branch it is. | |
- echo "Travis branch is in pull request $TRAVIS_PULL+REQUEST" #Print out pull request number. | |
- android-wait-for-emulator #Run wait for the emulator script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_install: | |
- pip install --user codecov #Install codecov | |
after_success: | |
- codecov #Run codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: android | |
jdk: oraclejdk8 | |
sudo: false | |
notifications: | |
email: | |
- [email protected] | |
env: | |
matrix: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// UNIVERSAL IMAGE LOADER SETUP | |
DisplayImageOptions defaultOptions = new DisplayImageOptions.Builder() | |
.cacheOnDisc(true).cacheInMemory(true) | |
.imageScaleType(ImageScaleType.EXACTLY) | |
.build(); | |
ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder( | |
getApplicationContext()) | |
.defaultDisplayImageOptions(defaultOptions) | |
.memoryCache(new WeakMemoryCache()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This class is singleton class for the volley initialization. | |
* It will initialize volley request queue. | |
*/ | |
public class VolleySingleton { | |
private static VolleySingleton instance; | |
private RequestQueue mRequestQueue; | |
/** | |
* Custom request queue. |