For ease of use, we also recommend you use the UIReferenceImplementation ; you shall then ensure you add it into your project. You shall also add it into the dependencies of your gradle file: dependencies { implementation "androidx.appcompat:appcompat:${project.ext.appcompatVersion}" implementation project(':UIReferenceImplementation') implementation project(':myscript-certificate') }
This way, you shall be able start developping your own projecT.
Can we use the gradle files in the github samples directly within our project ? I just need to know how to link everything to a project from scratch. Thanks!
P.S I have generated a new certificate and have it in hand.
R
Rkodippily
said
about 2 years ago
For anyone wondering, you have to add the API dependency to your module level build.gradle file , inside the "dependencies" tag.
api "com.myscript:iink:1.4.1"
You can also use the UIRefereceImplementation inside your project by specifying it in the project level settings.gradle file
For ease of use, we also recommend you use the UIReferenceImplementation ; you shall then ensure you add it into your project. You shall also add it into the dependencies of your gradle file: dependencies { implementation "androidx.appcompat:appcompat:${project.ext.appcompatVersion}" implementation project(':UIReferenceImplementation') implementation project(':myscript-certificate') }
This way, you shall be able start developping your own projecT.
Rkodippily
I have played around with the android samples and would like to follow the Calculator project here: https://developer.myscript.com/docs/interactive-ink/1.4/android/fundamentals/get-started/#building-your-first-interactive-ink-application
I'm fairly new to android so can someone please let me know how to set up the gradle dependencies for the project ?
Dear Rkodippily,
Thank you for contacting us.
In order to start using the iink SDK, the easier is that you refer to our "GetStarted" sample: https://github.com/MyScript/interactive-ink-examples-android/tree/master/GetStarted
For ease of use, we also recommend you use the UIReferenceImplementation ; you shall then ensure you add it into your project.
You shall also add it into the dependencies of your gradle file:
dependencies {
implementation "androidx.appcompat:appcompat:${project.ext.appcompatVersion}"
implementation project(':UIReferenceImplementation')
implementation project(':myscript-certificate')
}
This way, you shall be able start developping your own projecT.
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstRkodippily
Can we use the gradle files in the github samples directly within our project ? I just need to know how to link everything to a project from scratch. Thanks!
P.S I have generated a new certificate and have it in hand.
Rkodippily
For anyone wondering, you have to add the API dependency to your module level build.gradle file , inside the "dependencies" tag.
api "com.myscript:iink:1.4.1"
You can also use the UIRefereceImplementation inside your project by specifying it in the project level settings.gradle file
Olivier @MyScript
Dear Rkodippily,
Thank you for contacting us.
In order to start using the iink SDK, the easier is that you refer to our "GetStarted" sample: https://github.com/MyScript/interactive-ink-examples-android/tree/master/GetStarted
For ease of use, we also recommend you use the UIReferenceImplementation ; you shall then ensure you add it into your project.
You shall also add it into the dependencies of your gradle file:
dependencies {
implementation "androidx.appcompat:appcompat:${project.ext.appcompatVersion}"
implementation project(':UIReferenceImplementation')
implementation project(':myscript-certificate')
}
This way, you shall be able start developping your own projecT.
Best regards,
Olivier
1 person likes this