登录
首页 » Android » android手持打印机示例源码

android手持打印机示例源码

于 2022-04-12 发布 文件大小:4.33 MB
0 208
下载积分: 2 下载次数: 1

代码说明:

应用背景由于pos大多采用Android系统,越来越多的开发者通过获取对应开发商的api,从而进行自主需求设定,本示例支持 文字,图片和条码打印,本源码提供了打印机示例代码(不一定适用于所有市场pos终端),但对爱好者的学习,必定有所帮助。关键技术 系统环境:eclipse + adt +sdk; 主要是技术:Android 界面设计,Handler机制,线程控制,api调用,广播机制和权限设定。

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

发表评论

0 个回复

  • 微信抢红包源码
    关于AccessibilityService 先看看官网的介绍Accessibility Many Android users have different abilities that require them to interact with their Android devices in different ways. These include users who have visual, physical or age-related limitations that prevent them from fully seeing or using a touchscreen, and users with hearing loss who may not be able to perceive audible information and alerts... Android官网详解accessibility 上面大概的意思就是Accessibility是一个辅助服务,主要是面向一些使用Android手机的用户有相关障碍(年龄、视觉、听力、身体等),这个功能可以更容
    2022-10-15 20:15:04下载
    积分:1
  • 开心网程序
    仿开心网  android程序本资源的主要作用用于让初学android的朋友比较容易上手android开发,功能包括一些界面设计,service,消息传递等等,基本上囊括了android基本开发的知识点。
    2022-04-19 07:24:11下载
    积分:1
  • 实现手机端通过蓝牙连接传输信息
    实现蓝牙连接传输数据: 1 使用registerReceiver注册BroadcastReceiver来获取蓝牙状态、搜索设备等消息; 2 使用BlueAdatper的搜索; 3 在BroadcastReceiver的onReceive()里取得搜索所得的蓝牙设备信息(如名称,MAC,RSSI); 4 在BroadcastReceiver的onReceive()里取得搜索所得的蓝牙设备信息(如名称,MAC,RSSI);3 在BroadcastReceiver的onReceive()里取得搜索所得的蓝牙设备信息(如名称,MAC,RSSI); 5 由BluetoothDevice衍生出BluetoothSocket,准备SOCKET来读写设备; 6 通过BluetoothSocket的createRfcommSocketToServiceRecord()方法来选择连接的协议/服务,这里用的是SPP(UUID:00001101-0000-1000-8000-00805F9B34FB); 7 Connect之后(如果还没配对则系统自动提示),使用BluetoothSocket的getInputStream()和getOutputStream()来读写蓝牙设备。
    2023-04-06 07:00:03下载
    积分:1
  • android 省市区三级联动效果
    android 省市区三级联动效果
    2014-05-30下载
    积分:1
  • 体重健康评价标准
    目前健康标准越来越重要,这里上传一个关于体重推导出的健康标准,让我们随时随刻可以评估我们健康情况
    2022-04-18 19:44:56下载
    积分:1
  • 公交车管理,站点信息,用户登陆
    查询公交线路,站点信息,实现用户登陆,注册,管理员登陆,修改用户信息等
    2022-07-08 15:02:01下载
    积分:1
  • WheelViewDemo实现日期选择等
    android滚动论,可自定义,实现滚动选择
    2022-01-28 23:43:19下载
    积分:1
  • 安卓isbn扫描器
    一个安卓应用练习 扫描书籍isbn 使用豆瓣图书api获取书籍信息 使用zxing库
    2022-03-29 19:00:34下载
    积分:1
  • android 省市区三级联动
    android 省市区三级联动
    2017-07-18下载
    积分:1
  • 远程视频监控
    【核心代码】 public interface CameraSource {  static final String LOG_TAG = "camera";  /**  * Open the camera source for subsequent use via calls to capture().  *   * @return true if the camera source was successfully opened.  */  boolean open();  /**  * Close the camera source. Calling close on a closed CameraSource is  * permitted but has no effect. The camera source may be reopened after  * being closed.  */  void close();  /**  * The width of the captured image.  *   * @return the width of the capture in pixels  */  int getWidth();  /**  * The height of the captured image.  *   * @return the height of the capture in pixels  */  int getHeight();  /**  * Attempts to render the current camera view onto the supplied canvas.  * The capture will be rendered into the rectangle (0,0,width,height).  * Outstanding transformations on the canvas may alter this.  *   * @param canvas the canvas to which the captured pixel data will be written  * @return true iff a frame was successfully written to the canvas  */  boolean capture(Canvas canvas);  boolean saveImage(String savePath, String fileName); }
    2013-12-04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载