Professional Documents
Culture Documents
Included here are all the resources for integrating Signature Capture library into your Android application. In this package: sample/Sample.java signature-capture-4.0.jar README.txt LICENSE.txt CHANGELOG.txt You can refer to our documentation at: http://www.binarysolutions.biz/2010/12/signature-capture-for-android.html or get support by contacting us at: support+sc@binarysolutions.biz =============================================================================== * Setting up your application 1) Add signature-capture-4.0.jar to your application s build path. Highlight your project in the package explorer. Press ALT+ENTER to select Click Java Build Path Select the Libraries Tab Click Add External Jar Browse to the location of the Signature Capture JAR file Highlight signature-capture-4.0.jar and select the Open button Select OK 2) Modify AndroidManifest.xml I) Inside <application></application> tag add the following: <activity android:name="biz.binarysolutions.signature.Capture" android:label="@string/app_name" android:screenOrientation="landscape" android:configChanges="keyboardHidden orientation" > <intent-filter> <action android:name="biz.binarysolutions.signature.CAPTURE" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> </intent-filter> </activity> II) After closing </application> tag add the following: <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE " />
INTERNET permission is not necessary if you have no plans starting signature capture activity by clicking on web url. III) Before closing </manifest> tag add the following: <supports-screens android:anyDensity="true" /> * Running your application Check out sample/Sample.java for instructions on how to call Signature Capture activity and receive it's result.