登录
首页 » Android » 安卓串口程序API

安卓串口程序API

于 2023-05-11 发布 文件大小:39.23 kB
0 130
下载积分: 2 下载次数: 1

代码说明:

实现了串口通讯的数据封装,接受,传输等操作。

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

发表评论

0 个回复

  • Android 自动启动服务的示例
    Android 自动启动服务,也可以手动启动或停止指定的服务,这只是一个例子,演示在android环境下,如何在后台自动运行Service。   public void onDestroy() {//重写的onDestroy方法    myThread.flag = false;//停止线程运行    super.onDestroy();   }   @Override   public void onStart(Intent intent, int startId) {//重写onStart方法    myThread = new MyThread() ;//初始化线程    myThread.start();//启动线程    super.onStart(intent, startId);   }   class MyThread extends Thread{//线程类    boolean flag = true;//循环标志位    int c = 0;//发送的消息    @Override    public void run() {    while(flag){    Intent i = new Intent("wyf.ytl.myThread");//创建Intent    i.putExtra("myThread", c);//放入数据    sendBroadcast(i);//发送广播    c++;    try{    Thread.sleep(1000);//睡眠指定毫秒数    }catch(Exception e){//捕获异常    e.printStackTrace();//打印异常    }    }    }   };
    2023-04-08 03:05:04下载
    积分:1
  • 仿美图秀秀
    含有美图秀秀的基本功能可以运行,使用Android Studio开发,可以更好地帮助学习这方面知识,能够geng好的掌握图形图像处理算法,可以帮助理解美图软件运行的意义以及前景
    2022-02-21 20:36:20下载
    积分:1
  • mediaplayer-Android
    在Android平台下编写的一个多媒体播放器软件(In writing of the Android platform of a media player software)
    2015-04-27 13:05:17下载
    积分:1
  • 实现进度条效果
    实现进度条效果
    2014-05-16下载
    积分:1
  • VLC播放器Demo,完美运行,支持rtmp,rtsp,rtp等协议
    简单的VLC播放器的例子,完美运行,简单易懂
    2022-10-09 06:20:08下载
    积分:1
  • android-mqtt-sample
    很好的android mqtt协议源代码及demo。(Good mqtt protocol android source code, including the demo.)
    2014-11-17 09:54:57下载
    积分:1
  • android多媒体播放器
    实现多功能播放,支持多种文件格式,功能包括调节音量大小,视频选择,随机,顺序播放模式等。
    2022-03-26 03:00:04下载
    积分:1
  • android xmmp 聊天demO
    android xmmp 聊天demO, 可以做为研究xmmp 的参考代码,
    2022-03-15 11:19:41下载
    积分:1
  • CalendarView-master2
    it is for android calendar
    2013-09-02 20:12:57下载
    积分:1
  • ISSAuthorize
    Android与IIS身份验证案例源码,在Android移动项目开发中,访问服务器时,为了简洁方便,我们经常使用http协议来传递JSON格式的数据。然而有些项目需要有一定的安全性,如使用Android客户端登陆到MIS系统。虽然我们是通过Android手机客户端的登陆Activity中登陆到系统的,但是略懂电脑的黑客是能够跳过登陆Activity,从而直接进入系统的。这样,会造成一些由于系统的不安全所带来的麻烦。建立一种防止黑客强行登录的身份验证模式尤为重要。此时,系统的身份验证成为阻挡黑客登陆的一道屏障。那么,怎样实现一个身份验证呢?让我们以IIS为宿主,一步一步的实现身份验证吧(Android and IIS authentication case source code, in the Android mobile project development, access to the server, in order to be simple and convenient, we often use the HTTP protocol to transfer JSON format data. However, some of the project needs to have a certain security, such as the use of Android client login to the MIS system. Although we are through the Android mobile client landing Activity landing to the system, but slightly understand the computer hacker is able to skip the landing Activity, thus directly into the system. In this way, it will cause some of the problems caused by the system is not safe. It is particularly important to establish an identity authentication mode to prevent hackers logging in. At this point, the identity of the system has become a barrier to prevent hackers landing. So, how to achieve an identity verification? Let us take IIS as the host, step by step to achieve authentication bar)
    2016-06-20 11:04:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载