├── .gitignore ├── LICENSE ├── MySerialPort ├── .gitignore ├── app │ ├── .gitignore │ ├── build.gradle │ ├── libs │ │ ├── armeabi-v7a │ │ │ └── libserial_port.so │ │ ├── armeabi │ │ │ └── libserial_port.so │ │ └── x86 │ │ │ └── libserial_port.so │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── cn │ │ │ └── humiao │ │ │ └── myserialport │ │ │ └── ExampleInstrumentedTest.java │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ ├── android_serialport_api │ │ │ │ ├── SerialPort.java │ │ │ │ └── SerialPortFinder.java │ │ │ └── cn │ │ │ │ └── humiao │ │ │ │ └── myserialport │ │ │ │ ├── Cmd.java │ │ │ │ ├── DataUtils.java │ │ │ │ ├── MainActivity.java │ │ │ │ └── SerialPortUtil.java │ │ └── res │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── test │ │ └── java │ │ └── cn │ │ └── humiao │ │ └── myserialport │ │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/LICENSE -------------------------------------------------------------------------------- /MySerialPort/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/.gitignore -------------------------------------------------------------------------------- /MySerialPort/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /MySerialPort/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/build.gradle -------------------------------------------------------------------------------- /MySerialPort/app/libs/armeabi-v7a/libserial_port.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/libs/armeabi-v7a/libserial_port.so -------------------------------------------------------------------------------- /MySerialPort/app/libs/armeabi/libserial_port.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/libs/armeabi/libserial_port.so -------------------------------------------------------------------------------- /MySerialPort/app/libs/x86/libserial_port.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/libs/x86/libserial_port.so -------------------------------------------------------------------------------- /MySerialPort/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/proguard-rules.pro -------------------------------------------------------------------------------- /MySerialPort/app/src/androidTest/java/cn/humiao/myserialport/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/androidTest/java/cn/humiao/myserialport/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /MySerialPort/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /MySerialPort/app/src/main/java/android_serialport_api/SerialPort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/java/android_serialport_api/SerialPort.java -------------------------------------------------------------------------------- /MySerialPort/app/src/main/java/android_serialport_api/SerialPortFinder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/java/android_serialport_api/SerialPortFinder.java -------------------------------------------------------------------------------- /MySerialPort/app/src/main/java/cn/humiao/myserialport/Cmd.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/java/cn/humiao/myserialport/Cmd.java -------------------------------------------------------------------------------- /MySerialPort/app/src/main/java/cn/humiao/myserialport/DataUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/java/cn/humiao/myserialport/DataUtils.java -------------------------------------------------------------------------------- /MySerialPort/app/src/main/java/cn/humiao/myserialport/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/java/cn/humiao/myserialport/MainActivity.java -------------------------------------------------------------------------------- /MySerialPort/app/src/main/java/cn/humiao/myserialport/SerialPortUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/java/cn/humiao/myserialport/SerialPortUtil.java -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /MySerialPort/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /MySerialPort/app/src/test/java/cn/humiao/myserialport/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/app/src/test/java/cn/humiao/myserialport/ExampleUnitTest.java -------------------------------------------------------------------------------- /MySerialPort/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/build.gradle -------------------------------------------------------------------------------- /MySerialPort/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/gradle.properties -------------------------------------------------------------------------------- /MySerialPort/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /MySerialPort/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /MySerialPort/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/gradlew -------------------------------------------------------------------------------- /MySerialPort/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jzt-Tesla/GoogleSerialPort/HEAD/MySerialPort/gradlew.bat -------------------------------------------------------------------------------- /MySerialPort/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | 1. 学会如何使用JNI的调用 4 | 2. 知道如何利用串口接收和发送数据 5 | 3. 了解Google的设计思维 6 | 7 | --------------------------------------------------------------------------------