Git Product home page Git Product logo

q10-keyboard's Introduction

BlackBerry Q10 蓝牙键盘应用

边学习,边开发
语言:Kotlin
适用:Android 4.3(API_18)

image

现状 & 目标

我本意是想做一个可以将 Q10 变成一个蓝牙键盘的 app,让它可以随意连接其它设备进行控制。
不过不知道这个目标在技术上能不能实现。Q10 的安卓系统是 Android 4.3(api18),所以只能在这个基础上进行开发。 我之前没写过 Android 应用,也没用过 Kotlin,所以是现学现卖。

目前做到搜索蓝牙设备这个阶段,但感觉这还挺有意思的。

键盘快捷键

助记 功能
R Refresh 刷新已配对设备列表,刷新蓝牙状态
S、空格 Search 开始搜索附近蓝牙设备
C Cancel 取消搜索
O Open 打开蓝牙
J Jian 设置蓝牙可被发现
T Top 滚至蓝牙列表顶部
B Bottom 滚至蓝牙列表底部

注意事项

  1. 蓝牙搜索附近设备,在任何操作之前都应该取消搜索的操作 adapter.cancelDiscovery,只因它耗费资源比较大。

开发日志

  • 2024-02-27 RecyclerView 点击事件
  • 2024-02-25 添加键盘快捷键,使用 RecyclerView 更详尽的展示蓝牙设备列表,布局优化
  • 2024-02-24 搜索附近蓝牙设备
  • 2024-02-23 蓝牙控制
  • 2024-02-22 app icon, init

q10-keyboard's People

Contributors

kylebing avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.