{"id":3496,"url":"https://github.com/smalam119/Easy-Signature-Android","last_synced_at":"2025-08-03T20:32:24.898Z","repository":{"id":99655021,"uuid":"115360256","full_name":"smalam119/Easy-Signature-Android","owner":"smalam119","description":"Android library which provides a signature view.","archived":false,"fork":false,"pushed_at":"2018-01-01T18:24:37.000Z","size":350,"stargazers_count":24,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-16T14:34:33.400Z","etag":null,"topics":["android","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smalam119.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-12-25T19:56:42.000Z","updated_at":"2022-09-10T00:44:31.000Z","dependencies_parsed_at":"2023-03-11T15:30:45.303Z","dependency_job_id":null,"html_url":"https://github.com/smalam119/Easy-Signature-Android","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smalam119%2FEasy-Signature-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smalam119%2FEasy-Signature-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smalam119%2FEasy-Signature-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smalam119%2FEasy-Signature-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smalam119","download_url":"https://codeload.github.com/smalam119/Easy-Signature-Android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228567009,"owners_count":17937983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","java"],"created_at":"2024-01-05T20:16:43.172Z","updated_at":"2024-12-07T05:30:29.616Z","avatar_url":"https://github.com/smalam119.png","language":"Java","funding_links":[],"categories":["Libraries"],"sub_categories":["GUI"],"readme":"# Easy-Signature-Android\n\nEasy 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.\n\n\u003cimg src=\"https://github.com/smalam119/Easy-Signature-Android/blob/master/Screenshot_2017-12-31-23-29-09.png\" align=\"center\" width=\"300\"/\u003e\n\n\nFeatures\n=======\n\n* A signature view provided as a activty.\n* Signature is returned in either bitmap or array of bytes.\n* Callbacks for okay and cancel button.\n* Cross button to clear view.\n* Editable sub-text\n* Signature date.\n\nDownload\n=======\n\nFirst, add this in your root build.gradle:\n\n```groovy\nallprojects {\n  repositories {\n    ...\n      maven { url 'https://jitpack.io' }\n   }\n}\n```\nThen, go to the module level build.gradle file and add,\n\n```groovy\ndependencies {\n  compile 'com.github.smalam119:Easy-Signature-Android:0.3.0'\n}\n```\nExample\n=======\n\nThe 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.\n\n```java\npublic class DemoSignatureViewController extends SignatureViewActivity {\n    private Date mDate;\n    private Bitmap mSignatureBitmap;\n    private byte[] mSignatureInBytes;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        //set sub text\n        this.setSubText(\"I accept the nothingness and meaninglessness of life\");\n    }\n\n    //call back for done button click. returns bitmap\n    @Override\n    public void onClickDone(Bitmap bitmap) {\n        mDate = this.getDate(); //get the date of the signature\n        mSignatureBitmap = bitmap; // signature in bitmap\n    }\n\n    //call back for done button click. returns array of byte\n    @Override\n    public void onClickDone(byte[] bytes) {\n        mSignatureInBytes = bytes; //signature in bytes\n    }\n\n    //callback for cancel button click\n    @Override\n    public void onClickCancel() {\n    }\n\n}\n```\nAuthor\n=======\n* **Sayed Mahmudul Alam**\n\nLicense\n=======\n\n    Copyright 2017 Sayed Mahmudul Alam\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmalam119%2FEasy-Signature-Android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmalam119%2FEasy-Signature-Android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmalam119%2FEasy-Signature-Android/lists"}