diff --git a/README.md b/README.md index 1479beb..6f9f7cc 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,19 @@ The SciChart Android Examples suite contain developer example code in Java to he ![SciChart Android Examples Suite](https://www.scichart.com/wp-content/uploads/2020/02/android-main-page-examples-min-1.png) +### SciChart Licensing +To use SciChart in your own applications, you need to set a runtime license key. You can obtain a license key by following the instructions in our [SciChart Android Licensing ](https://www.scichart.com/licensing-scichart-android/) documentation. + +Once you have your license key, you should set it in your `Application` class before any SciChart surfaces are created. For example, in `SciChartApp.java`: + +```java +try { + com.scichart.charting.visuals.SciChartSurface.setRuntimeLicenseKey("YOUR_RUNTIME_LICENSE_KEY"); +} catch (Exception e) { + Log.e("SciChart", "Error when setting the license", e); +} +``` + Chart types include: * [Android Line Chart](https://www.scichart.com/android-line-chart-example/) * [Android Band Chart](https://www.scichart.com/android-chart-example-band-series-chart/)