Installation Guide
This is the Android component from Eagle Eye CameraManager to view events and recordings in a timeline.
It provides functionalities such as zoom, speed play, video export, playback and sharing.
Required versions
minSdkVersion | 19+ |
targetSdkVersion | 29+ |
Gradle | 5.6+ |
Android Studio | 4.1+ (Recommended) |
JDK | 1.8 |
Importing required frameworks into your project
android {
…
defaultConfig {
...
multiDexEnabled true
}
dataBinding {
enabled = true
}
}
dependencies {
implementation(name: 'CMMobileSDK', ext: 'aar')
implementation(name: 'CMMobileTimelineSDK', ext: 'aar')
implementation 'com.android.support:multidex:1.0.3'
}
<string name="file_provider">"com.cameramanager.timeline_sdk.cmfileprovider"</string>
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path name="cameramanager" path="." />
<cache-path name="cache" path="/" />
</paths>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:largeHeap="true"
...>
<activity android:name="com.cameramanager.timeline_sdk.feature.TimelineActivity" android:configChanges="orientation|screenSize|keyboardHidden|locale|layoutDirection" android:launchMode="singleTop" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="@string/file_provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider_paths" />
</provider>
Updated over 1 year ago