Coder Social home page Coder Social logo

blesingle's Issues

如何使用?

感谢你把这个demo发出来,不知道有没有空写一下这个如何使用?我装到手机上,打开蓝牙设备,除了会有一个前台通知显示正在工作,就没有任何反映了。log中也看不到有任何变化,蓝牙设备是确定已经开启并可以用其它APP搜索到的。扫描配置里我也改成了自己蓝牙模块的名称。
感觉应该是打开这个APP后,再打开蓝牙设备,应该有某些提示的。

使用后台服务,唤醒失败

考虑这种场景,做无感知保活。必须使用后台服务来做,当App被杀后,进程是唤不起来的,因为8.0对后台进程做了很多限制,AMS日志会是这样的
ActivityManager: Background start not allowed: service Intent { act=com.hungrytree.receiver.BleService pkg=com.example.tracyeminem.blesingle (has extras) } to com.example.tracyeminem.blesingle/.TestService from pid=-1 uid=10296 pkg=com.example.tracyeminem.blesingle

你好,这个demo安装后具体怎么操作?

我下载了lightBlue,也创建一个叫test2的虚拟设备,但是下载lightblue的手机好像和安装demo的手机没有什么关联,我这边模拟你那篇文章的操作,结果没有反应,请问怎么解决

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.