Android library which provides a signature view.

Related tags

App android java
Overview

Easy-Signature-Android

Easy signature is an ui library that provides android developer with a plugable signature view. This view can be added as an activity in the project.

Features

  • A signature view provided as a activty.
  • Signature is returned in either bitmap or array of bytes.
  • Callbacks for okay and cancel button.
  • Cross button to clear view.
  • Editable sub-text
  • Signature date.

Download

First, add this in your root build.gradle:

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

Then, go to the module level build.gradle file and add,

dependencies {
  compile 'com.github.smalam119:Easy-Signature-Android:0.3.0'
}

Example

The example is quite straightforward and documented in comments. Just create a class and extend 'SignatureViewActivity' then implement accordingly. Remember to register the class as an activity in manifast file.

public class DemoSignatureViewController extends SignatureViewActivity {
    private Date mDate;
    private Bitmap mSignatureBitmap;
    private byte[] mSignatureInBytes;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //set sub text
        this.setSubText("I accept the nothingness and meaninglessness of life");
    }

    //call back for done button click. returns bitmap
    @Override
    public void onClickDone(Bitmap bitmap) {
        mDate = this.getDate(); //get the date of the signature
        mSignatureBitmap = bitmap; // signature in bitmap
    }

    //call back for done button click. returns array of byte
    @Override
    public void onClickDone(byte[] bytes) {
        mSignatureInBytes = bytes; //signature in bytes
    }

    //callback for cancel button click
    @Override
    public void onClickCancel() {
    }

}

Author

  • Sayed Mahmudul Alam

License

Copyright 2017 Sayed Mahmudul Alam

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.
You might also like...
An educational android app that provides services like notes, online videos and visualization calculator to learn and understand deep concepts of DSA.
An educational android app that provides services like notes, online videos and visualization calculator to learn and understand deep concepts of DSA.

Aldo ALDO is a free education app for the young programmers who are desiring to master the concepts of Data Structure and Algorithms. ALDO offers prac

An android application that provides simple communication between bluetooth enabled devices using LoRa for intermidiate data transfer
An android application that provides simple communication between bluetooth enabled devices using LoRa for intermidiate data transfer

LoRa and bluetooth communication An android application that provides simple communication between bluetooth enabled devices using LoRa for intermidia

Calculator provides an easy to use API to evaluate mathematical expressions

Calculator Calculator provides an easy to use API to evaluate mathematical expressions created with following operators: + - * / ( ) For example: This

NetGuard provides simple and advanced ways to block access to the internet
NetGuard provides simple and advanced ways to block access to the internet

NetGuard NetGuard provides simple and advanced ways to block access to the internet - no root required. Applications and addresses can individually be

Photon Framework provides cool way to Discord Slash Commands 👩‍💻 🚧

Photon Framework provides cool way to Discord Slash Commands 👩‍💻 🚧

ImmutablePendingIntent provides mutability safe methods and quick fix
ImmutablePendingIntent provides mutability safe methods and quick fix

ImmutablePendingIntent Overview ImmutablePendingIntent provides methods that create immutability-safe PendingIntent lint to make an error when using m

A Mindustry v7 mod provides lots of cybernetic things
A Mindustry v7 mod provides lots of cybernetic things

Cyber IO A Mindustry v7 mod provides lots of cybernetic things!!! How To Play The official website of Cyber IO is liplum.github.io/CyberIO

ADX provides extension functions and lint.

ADX: Android development extensions Overview ADX provides extension functions and lint. Installation ADX implementation "com.github.wada811.adx:adx:$v

This repo provides a sample application that demonstrates how you can speed up the authentication experience for frontline workers on shared devices using QR codes.

Project This repo has been populated by an initial template to help get you started. Please make sure to update the content to build a great experienc

Releases(0.3.0)
Owner
Sayed Mahmudul Alam
Dark Chocolate | Tuna Sandwich
Sayed Mahmudul Alam
Olalekan Fagbemi 0 Nov 7, 2021
An Android Application which provides meanings for words searched.

An Android Application which provides meanings for words searched. It also displays some examples, synonyms and antonyms of the searched word.

Siddharth Singh 2 Aug 8, 2022
This service provides first-class custom ROM integration for my Repainter app, which offers customizable dynamic theming for Android 12.

Repainter ROM integration This service provides first-class custom ROM integration for my Repainter app, which offers customizable dynamic theming for

Danny Lin 42 Jan 7, 2023
Andorid app which provides a bunch of useful Linux commands.

Linux Command Library for Android The app currently has 3203 manual pages, 1351 one-line scripts and a bunch of general terminal tips. It works 100% o

Simon Schubert 285 Jan 3, 2023
A music picker library for React Native. Provides access to the system's UI for selecting songs from the phone's music library.

Expo Music Picker A music picker library for React Native. Provides access to the system's UI for selecting songs from the phone's music library. Supp

Bartłomiej Klocek 60 Dec 29, 2022
Spantastic - an Android library that provides a simple and Kotlin fluent API for creating Android Spannable

Spantastic is an Android library that provides a simple and Kotlin fluent API for creating Android Spannable. This library wrappers SpannableStringBuilder and add methods to easily decorate the text with multiple spans.

Wellington Cabral da Silva 12 Nov 27, 2022
Detect-My-Mask: An android app which runs along with a TensorLite ML Model which detect whether a person is wearing mask or not.

Detect-My-Mask About : Detect My Mask is an Android Application which is powered by a TensorLite ML Model which is programmed and trained to detect wh

Siddharth Singh 5 Aug 8, 2022
This little project provides Kotlin bindings for the popular tree-sitter library

kotlintree This little project provides Kotlin bindings for the popular tree-sitter library. Currently it only supports the Kotlin JVM target, but Kot

Christian Banse 23 Nov 28, 2022
Brazilian Holidays: a Kotlin/Java library that provides resources to consult Brazilian holidays and business days

Leia esta documentação em Português. Brazilian Holidays Brazilian Holidays is a

Quantis 2 Oct 3, 2022
BlueNote-Android - an android app that provides simple notes and answer

BlueNote AnswerSheet Blue Note is an android app that provides simple notes and

HyukJin Kwon 0 Jan 4, 2022