1. Download Leegality Library from http://gitlab.leegality.com/leegality-public/android-sdk/blob/v4.3/leegality.aar
1. Download Leegality Library from http://gitlab.leegality.com/leegality-public/android-sdk/blob/v4.4/leegality.aar
2. Import Leegality Library to your project by following the steps laid down in https://developer.android.com/studio/projects/android-library.html#AddDependency.
3. To initialize signing, start activity Leegality provided by the Leegality Library.
Pass signing URL in url key.
@@ -12,7 +12,20 @@ Pass signing URL in url key.
startActivityForResult(intent, REQUEST_CODE);
//REQUEST_CODE is your constant, which is used to identify particular activity.
```
4. To disable zoom feature you need to pass the zoom parameter as false in intent. By default its enabled.
```
intent.putExtra("zoom", false);
```
5. Leegality SDK broadcast events related to user activity. If you want to receive these broadcasts you can use following code.
```
IntentFilter filter = new IntentFilter("com.gspl.leegality.events");
registerReceiver(new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {