Skip to content

Commit 0b3b5f7

Browse files
V5.15.0
1 parent 23a400e commit 0b3b5f7

21 files changed

+265
-1242
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# V5.15.0
2+
3+
## StarIO
4+
- Added features
5+
* Added TSP100IV.
6+
- Support Android 12
7+
* Support for Android OS specification change when using USB communication.
8+
9+
## smcloudservices
10+
- End of support
11+
12+
## SDK
13+
- Added Sample Codes
14+
* Added TSP100IV.
15+
* Support for new Bluetooth permission request when targeting Android 12.
16+
17+
stario (Ver. 2.10.0)
18+
starioextension (Ver. 1.15.0)
19+
20+
121
# V5.14.0
222

323
## stario

LICENSE

Lines changed: 92 additions & 87 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
# StarPRNT SDK Android Java
22

3-
StarIO/starioextension/smcloudservices is a library for supporting application development for Star printers.
3+
This package contains StarPRNT SDK for supporting to develop applications for Star printers.
44

55
## Scope
66

77
Please refer to the [StarPRNT SDK](https://www.star-m.jp/products/s_print/sdk/starprnt_sdk/manual/android_java/en/index.html) document about the supported printers.
88

9-
Works with these Emulation:
10-
- StarPRNT Mode
11-
- Star Line Mode
12-
- Star Graphic Mode
13-
- ESC/POS
14-
- ESC/POS Mobile
15-
- Star Dot Impact
16-
17-
189
## Limitation
1910
1. Only the last connected USB printer can communicate with Android V5.0.
2011

@@ -38,4 +29,4 @@ Beginning from StarIOPort3.1.jar V2.6.0 (StarPRNT SDK V5.11.0), the releasePort
3829

3930
## Copyright
4031

41-
Copyright 2016-2020 Star Micronics Co., Ltd. All rights reserved.
32+
Copyright 2016-2021 Star Micronics Co., Ltd. All rights reserved.

SDK/app/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 29
4+
compileSdkVersion 31
55

66
defaultConfig {
77
applicationId "com.StarMicronics.StarIOSDK"
88

99
minSdkVersion 21
10-
targetSdkVersion 29
10+
targetSdkVersion 31
1111

12-
versionCode 56
13-
versionName "5.14.0"
12+
versionCode 63
13+
versionName "5.15.0"
1414
}
1515
buildTypes {
1616
release {
@@ -21,9 +21,8 @@ android {
2121
}
2222

2323
dependencies {
24-
implementation 'com.starmicronics:stario:2.9.0'
24+
implementation 'com.starmicronics:stario:2.10.0'
2525
implementation 'com.starmicronics:starioextension:1.15.0'
26-
implementation 'com.starmicronics:smcloudservices:1.4.1'
2726
implementation 'androidx.appcompat:appcompat:1.1.0'
2827
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2928
}

SDK/app/src/main/AndroidManifest.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
34
package="com.starmicronics.starprntsdk">
45

56
<uses-permission android:name="android.permission.INTERNET" />
6-
<uses-permission android:name="android.permission.BLUETOOTH" />
7-
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
7+
<uses-permission android:name="android.permission.BLUETOOTH"
8+
android:maxSdkVersion="30" />
9+
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"
10+
android:maxSdkVersion="30" />
11+
12+
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"
13+
android:usesPermissionFlags="neverForLocation"
14+
tools:targetApi="31" />
15+
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
816

917
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
1018

@@ -21,6 +29,7 @@
2129
android:theme="@style/TitleTheme"
2230
android:hardwareAccelerated="false"
2331
android:configChanges="orientation|screenSize"
32+
android:exported="true"
2433
android:screenOrientation="portrait">
2534

2635
<intent-filter>
@@ -39,12 +48,15 @@
3948
android:screenOrientation="portrait" />
4049

4150
<activity
42-
android:name=".UsbAttachedActivity">
51+
android:name=".UsbAttachedActivity"
52+
android:exported="true">
4353
<intent-filter>
4454
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
55+
<action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
4556
</intent-filter>
4657

4758
<meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" android:resource="@xml/device_filter" />
59+
<meta-data android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" android:resource="@xml/accessory_filter" />
4860
</activity>
4961

5062
</application>

SDK/app/src/main/java/com/starmicronics/starprntsdk/AllReceiptLanguageSelectDialogFragment.java

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)