Skip to content

Commit 5414d22

Browse files
author
Jing KE
committed
[app][starter] initialisation.
1 parent 1b9f799 commit 5414d22

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1313
-5
lines changed

.gitignore

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
################################################################################
2+
# Android
3+
################################################################################
4+
15
# Built application files
26
*.apk
37
*.ap_
@@ -63,3 +67,21 @@ fastlane/Preview.html
6367
fastlane/screenshots
6468
fastlane/test_output
6569
fastlane/readme.md
70+
71+
# auto generated (MyScript)
72+
.idea/.name
73+
.idea/misc.xml
74+
.idea/modules.xml
75+
76+
################################################################################
77+
# MyScript
78+
################################################################################
79+
80+
# configuration files
81+
*.conf
82+
83+
# resource files
84+
*.res
85+
86+
# temporary folder
87+
temp/

.idea/codeStyles/Project.xml

+214
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/MyScript.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/saveactions_settings.xml

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+26-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,31 @@ Welcome to Code Labs for MyScript Interactive Ink
33

44
[MyScript Developer](https://developer.myscript.com/) provides a complete developer guide of programming with [Interacrive Ink SDK](https://developer.myscript.com/docs/interactive-ink/1.3/overview/about/), however, the Code Labs in this project are aimed at hands-on coding experience by stepping you throught the process of buiding a small application or integrating Interactive Ink into an existing application.
55

6-
> [!Disclamer]
6+
- [Welcome to Code Labs for MyScript Interactive Ink](#welcome-to-code-labs-for-myscript-interactive-ink)
7+
- [MyScript Certificate](#myscript-certificate)
8+
9+
MyScript Certificate
10+
--------------------
11+
12+
Open the project in Android Studio, and run starter app or samples on an emulator or on a physical device, you'll see your application crashes and an error showing up in the `logcat` window:
13+
14+
> [!ERROR]
15+
> Please replace the content of MyCertificate.java with the certificate you received from the [developer portal](https://developer.myscript.com/getting-started).
16+
17+
![invalid-certificate.png](docs/images/myscript/certificate-error.png)
18+
19+
To make it work, you have to go to the [MyScript Developer](https://developer.myscript.com/getting-started) website, select the plarform `Android`, then click `send email` under `Get your certificate` to receive a valid certificate:
20+
21+
![get-certificate.png](docs/images/myscript/certificate-get.png)
22+
23+
Then replace the certificate `MyCertificate.java` by the one you receive from [MyScript Developer](https://developer.myscript.com/getting-started) in the `myscript-certificate` module:
24+
25+
![replace-certificate.png](docs/images/myscript/certificate-replace.png)
26+
27+
Then rebuild and run your app, the error should no longer show up.
28+
29+
> [!ATTENTION]
30+
> This project starts from a personal [scaffold (Kotlin)](https://github.com/jingkecn/myscript-iink-scaffold-android-kotlin) for MyScript interactive ink SDK. For your better comprehensions, make sure that you practice as well with the [scaffold (Kotlin)](https://github.com/jingkecn/myscript-iink-scaffold-android-kotlin) to start from the same scratch line.
731
>
32+
> [!DISCLAIMER]
833
> This is not an official project of MyScript Interactive Ink, and is **ONLY** for learning exchange purposes, and is **NOT** supposed to have quality guarantee and supports.
9-
>
10-
> [!Attention]
11-
>
12-
> This project starts from a personal [scaffold (Kotlin)](https://github.com/jingkecn/myscript-iink-scaffold-android-kotlin) for MyScript interactive ink SDK. For your better comprehensions, make sure that you practice as well with the [scaffold (Kotlin)](https://github.com/jingkecn/myscript-iink-scaffold-android-kotlin) to start from the same scratch line.

app/common/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

0 commit comments

Comments
 (0)