Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

android--developer/Android-SerialPort-API

Open more actions menu
 
 

Repository files navigation

Android-SerialPort-API

Google官方的Android串口通信Demo,修改成Android Studio项目

Gradle 引用

  1. 在根build.gradle中添加
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  1. 添加依赖
dependencies {
        compile 'com.github.licheedev.Android-SerialPort-API:serialport:1.0.1'
}

修改su路径

// su默认路径为 "/system/bin/su"
// 可通过此方法修改
SerialPort.setSuPath("/system/xbin/su");

About

Google官方的Android串口通信Demo,修改成Android Studio项目

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 72.1%
  • C 20.9%
  • CMake 6.6%
  • Shell 0.4%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.