1. Select a platform

Choose whether you want to create an application on iOS, Android, Windows UWP or a web appplication.

2. Get your keyscertificate

Create a MyScript account to receive your keyscertificate for {{ nativePlatformLabel }}.

Please enter an email address

Please enter a valid email address

Please accept the above

Thank you! An email has been sent to {{ email }} with the keyscertificate needed to run the samplesexamples.

Click below to receive your keyscertificate for {{ nativePlatformLabel }}.

Thank you! An email has been sent to {{ email }} with the keyscertificate needed to run the samplesexamples.

3. Run samplesexamples

To develop with iink SDK for iOS, you will need:

  • Xcode
  • iOS SDK
  • CocoaPods (to retrieve iink SDK and its dependencies)
  • Git (to clone the Github examples repository)

Clone the MyScript Git repository containing the examples for the iOS platform and navigate to the root of the folder containing the applications:

git clone https://github.com/myscript/interactive-ink-examples-ios
cd interactive-ink-examples-ios/Examples

Navigate to the root folder of the example application you want to run:

  • cd GetStarted for a simple example written in Objective-C,
  • cd GetStartedSwift for a simple example written in Swift,

Then run:

pod install

This command will use CocoaPods to fetch the iink SDK libraries.

Place your certificate *.c file at the right location:

  • GetStarted/MyScriptCertificate/ for the Objective-C example
  • GetStartedSwift/MyScriptCertificate/ for the Swift example

Open the Xcode workspace, compile and run the default target.

To develop with iink SDK for Android, you will need:

  • Android Studio 2.3.3 and higher
  • Android SDK API 26 and higher (even if the libraries runs with Android SDK API 21 and higher)
  • Git (to clone the Github examples repository)

Clone the MyScript Git repository containing the examples for the Android platform and navigate to the root of the folder containing the applications:

git clone https://github.com/myscript/interactive-ink-examples-android
cd interactive-ink-examples-android

Place your certificate MyCertificate.java file into GetStarted/src/main/java/com/myscript/certificate/ directory.

Open the interactive-ink-examples-android directory as an existing Android Studio project. The gradle dependencies should be grabbed and the project should compile with success.

Run the GetStarted target.

To develop with iink SDK for Windows, you will need:

Clone the MyScript Git repository containing the examples for the Universal Windows Platform platform and navigate to the root of the folder containing the applications:

git clone https://github.com/myscript/interactive-ink-examples-uwp
cd interactive-ink-examples-uwp

Replace MyCertificate.cs file in GetStarted directory with your certificate.

Depending of the version of Visual Studio installed on your laptop, open the solution file MyScript.InteractiveInk.Examples.Uwp-VS2015.sln or MyScript.InteractiveInk.Examples.Uwp-VS2017.sln with Visual Studio.

Set GetStarted project as your startup project by right-clicking the project in the solution browser and selecting "Set as startup project".

Build and run.

This will automatically fetch the latest iink SDK libraries, via the NuGet Package Manager.

If you encounter compile errors of the form ...\UserControls\EditorUserControl.xaml.cs(85,27,85,40): error CS0103: The name 'captureCanvas' does not exist in the current context, edit the UserControls\EditorUserControl.xaml file so that Visual Studio considers it updated (ex: add a space at the beginning, remove it and save the file). Then build again and there should be no error anymore.

First, make sure you've installed the following tools:

Then clone this repository:

git clone https://github.com/myscript/web-integration-samples.git

Move to the web-samples folder:

cd web-integration-samples/web-samples

Install dependencies:

npm install
bower install

Edit the index.html file and replace the applicationkey and hmackey attributes with the values you received by email.

Launch the server:

npm run-script run

Finally, open http://localhost:8000 in your browser.

We use cookies to ensure we give you the best experience on our website More info