All Projects → iammert → Cameravideobutton

iammert / Cameravideobutton

Instagram like animated button for taking photo or recording video.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Cameravideobutton

Fillingbutton
🔥Replace typical onLongClickListener with this library!
Stars: ✭ 31 (-86.1%)
Mutual labels:  customview, button
Recordbutton
Android record button view
Stars: ✭ 65 (-70.85%)
Mutual labels:  customview, button
Recordbutton
A record button in Swift
Stars: ✭ 101 (-54.71%)
Mutual labels:  camera, button
Quagga2
An advanced barcode-scanner written in Javascript and TypeScript - Continuation from https://github.com/serratus/quaggajs
Stars: ✭ 198 (-11.21%)
Mutual labels:  camera
Webcamjs
HTML5 Webcam Image Capture Library with Flash Fallback
Stars: ✭ 2,363 (+959.64%)
Mutual labels:  camera
Pynet
Generating RGB photos from RAW image files with PyNET
Stars: ✭ 211 (-5.38%)
Mutual labels:  camera
Customfloatingactionbutton
This view is for replacement of standard Floating Action Button from Google Support Library. It is easy to use, customizable and you can also add text to button
Stars: ✭ 222 (-0.45%)
Mutual labels:  button
Tristatetogglebutton
Customizable tri-state toggle button (with three states, three state toggle) for Android
Stars: ✭ 198 (-11.21%)
Mutual labels:  button
Howdy
🛡️ Windows Hello™ style facial authentication for Linux
Stars: ✭ 3,237 (+1351.57%)
Mutual labels:  camera
Tiscamera
The Linux SDK for The Imaging Source cameras.
Stars: ✭ 209 (-6.28%)
Mutual labels:  camera
Unity Portal Rendering
Super small example of using offscreen render targets to achieve a portal effect in Unity
Stars: ✭ 206 (-7.62%)
Mutual labels:  camera
Heyui
🎉UI Toolkit for Web, Vue2.0 http://www.heyui.top
Stars: ✭ 2,373 (+964.13%)
Mutual labels:  button
Stalker X
Camera module for LÖVE
Stars: ✭ 212 (-4.93%)
Mutual labels:  camera
Heart Rate Measurement Using Camera
real time application to measure heart rate
Stars: ✭ 202 (-9.42%)
Mutual labels:  camera
Agimagecontrols
cool tools for image edition
Stars: ✭ 217 (-2.69%)
Mutual labels:  camera
Obs Ios Camera Source
Use your iPhone camera as a video source in OBS Studio and stream high quality video from your iPhone's camera over USB
Stars: ✭ 199 (-10.76%)
Mutual labels:  camera
Jackknife
⚔️ 金轮法王,哦不,是轮子大师带你玩转Android,是时候尝试下MVVM了。这是一个Android应用开发全家桶库,支持Kotlin+MVVM+Dagger2+Retrofit架构。
Stars: ✭ 215 (-3.59%)
Mutual labels:  customview
Esp32 Cam Webserver
Expanded version of the Espressif ESP webcam
Stars: ✭ 200 (-10.31%)
Mutual labels:  camera
Loading Buttons Ios
A collection of loading buttons and their stylings written in Swift.
Stars: ✭ 204 (-8.52%)
Mutual labels:  button
Kanvas Ios
Kanvas: a creation tool for iOS
Stars: ✭ 212 (-4.93%)
Mutual labels:  camera

CameraVideoButton

Instagram like animated button for taking photo or recording video.

Watch!

Usage

PS. This is just a dummy view. All recording or taking picture operation is up to you.

<com.iammert.library.cameravideobuttonlib.CameraVideoButton
    android:id="@+id/button"
    android:layout_width="120dp"
    android:layout_height="120dp"
    app:cvb_recording_color="#D438A2"/>

Customize it!

videoRecordButton.setVideoDuration(10000)
videoRecordButton.enableVideoRecording(true)
videoRecordButton.enablePhotoTaking(true)

Observe!

videoRecordButton.actionListener = object : CameraVideoButton.ActionListener{
    override fun onStartRecord() {
        Log.v("TEST", "Start recording video")
    }

    override fun onEndRecord() {
        Log.v("TEST", "Stop recording video")
    }

    override fun onDurationTooShortError() {
        Log.v("TEST", "Toast or notify user")
    }

    override fun onSingleTap() {
        Log.v("TEST", "Take photo here")
    }
}

Setup

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    implementation 'com.github.iammert:CameraVideoButton:0.2'
}

Used Apps

License

Copyright 2019 Mert Şimşek

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].