Thank you for Starting your SciChart Trial! You can now develop code using your SciChart trial for free for the next 30 days!
Just before you continue, please make sure you have included your Key Code in the application. It can be found here:
Don’t Forget to Include your Key Code!
The KeyCode must be set in your app once, and once only before any SciChartSurface instance is shown. Do this by calling the static SciChartSurface.SetRuntimeLicenseKey() method in MainActivity or Application.onCreate.
See code samples below:
Note: more examples including Kotlin and Xamarin.Android are available on the page licensing scichart android
Java
public class YourApp extends Application {
@Override
public void onCreate() {
super.onCreate();
sInstance = this;
// Set your license code here to license the SciChart Android Examples app
// You can get a trial license key from https://www.scichart.com/licensing-scichart-android/
// Purchased license keys can be viewed at https://www.scichart.com/profile
//
try {
com.scichart.charting.visuals.SciChartSurface.setRuntimeLicenseKey("YOUR_KEYCODE");
} catch (Exception e) {
Log.e("SciChart", "Error when setting the license", e);
}
}
}
Kotlin
// The main activity for the application
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
// Set your license code here to license the SciChart Android Examples app
// You can get a trial license key from https://www.scichart.com/licensing-scichart-android/
// Purchased license keys can be viewed at https://www.scichart.com/profile
//
try {
com.scichart.charting.visuals.SciChartSurface.setRuntimeLicenseKey("YOUR_KEYCODE")
} catch (e: Exception) {
Log.e("SciChart", "Error when setting the license", e)
}
}
}
Xamarin.Android
public class MainActivity : ListActivity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SciChart.Charting.Visuals.SciChartSurface.SetRuntimeLicenseKey(@"YOUR_KEYCODE");
// ..
}
}
We have sent you an email with the links to download the Demo application and other useful information.
If you have any questions, need a trial extension or willing to purchase the full licenses, please just contact us. We will be happy to help!