GiggleViewRecorder

Additional

Language
Java
Version
N/A
Created
Jun 30, 2016
Updated
May 27, 2017 (Retired)
Owner
Emil Valiyev (iamvaliyev)
Contributor
Emil Valiyev (iamvaliyev)
1
Activity
Badge
Generate
Download
Source code

Advertisement

GiggleViewRecorder

View Recorder support for Android 21+

##Gradle

repositories{
    mavenCentral()
}

dependencies{
    compile 'az.giggle:giggleviewrecorder:1.0.0'
}

Add Application Class to Manifest

<application
    android:name="az.giggle.giggleviewrecorder.manager.BaseApplication"
    ......... />

Record view

CaptureHelper captureHelper = new CaptureHelper(this);
RecorderSettings recorderSettings = new RecorderSettings(view);
recorderSettings.setWithDuration(true);
recorderSettings.setDuration(10);

captureHelper.startRecordView(getApplication(), recorderSettings, new RecordingSession.Listener() {

                    @Override
                    public void onStart() {}

                    @Override
                    public void onStop() {}

                    @Override
                    public void onError(String error) {}

                    @Override
                    public void onEnd(String path) {}
                    
                });

##Thanks

License

Copyright 2016 Emil Valiyev

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.