登录
首页 » Android » android 232串口通讯

android 232串口通讯

于 2022-01-24 发布 文件大小:148.69 kB
0 118
下载积分: 2 下载次数: 1

代码说明:

mApplication = (Application) getApplication(); try { mSerialPort = mApplication.getSerialPort(); mOutputStream = mSerialPort.getOutputStream(); mInputStream = mSerialPort.getInputStream(); /* Create a receiving thread */ mReadThread = new ReadThread(); mReadThread.start(); } catch (SecurityException e) { DisplayError(R.string.error_security); } catch (IOException e) { DisplayError(R.string.error_unknown); } catch (InvalidParameterException e) { DisplayError(R.string.error_configuration); }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Android UI
    说明:  I will share with you some tips for UI design in Android
    2020-04-26 09:55:34下载
    积分:1
  • 四次元第三方微博客户端 qii 0.49
    很好的一个第三方微博客户端!!有很多新浪没有的功能!不过有些权限比如私信也没有 @四次元 qii
    2022-03-07 21:49:52下载
    积分:1
  • Android 开源框架ViewPageIndicato
    本地视频录制,自动对焦,焦距,分辨率设置
    2015-04-15下载
    积分:1
  • yinyuebofangqi
    Android上面的音乐播放器应用,适合4.0的环境(Android above the music player application, suitable for the 4.0 environment)
    2012-08-16 11:34:10下载
    积分:1
  • android系统控制onvif协议摄像头app源码
    android-onvif是一个基于android系统控制onvif协议摄像头的软件项目,例如海康摄像头等。本项目已将接口封装,使用简单。后续将扩展更多功能。。。功能介绍探索与发现摄像头摄像头参数获取和获取摄像头账号密码修改摄像头的固件升级摄像头截图修改摄像头时间重启摄像头修改摄像头ip
    2021-05-06下载
    积分:1
  • Manning.Unlocking-Android.2008
    android开发经典书籍,在京东上的书籍要卖232元(Manning.Unlocking Android.2008)
    2012-03-27 10:13:52下载
    积分:1
  • 扫二维码登陆系统
    这是一个扫码登陆的系统!用户下载您上传的代码所支付的积分,将奖励给您。代码质量越高,下载次数越多,您获得的积分奖励也越多
    2022-09-16 07:30:03下载
    积分:1
  • ANDROID LISTVIEW 开发例程
    ANDROID listview的教程,也是从网上DOWN的,可以为新手增加点经验,不是很复杂。 新手可以认真学习,老手就不用看了。
    2023-02-17 15:50:03下载
    积分:1
  • andbook
    This document was written for developers who have worked with Java™ before and want to start developing for the Android Platform. I tried to make this as much “hands on” as possible, placing example codes everywhere it fit. Also I tried to insert as many picture as possible, because they liven up the learning process and relax the reader’s eyes.
    2011-12-01 15:09:27下载
    积分:1
  • 用于解析json的jar包
    当要用json解析android的数据时,需要用到这个jar包
    2022-03-23 15:08:33下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载