Smart watch to receive messages from two phones? latest plan

learn better from others,

be the better one.

—— "Weika Zhixiang"

7f98138378b1f2db25d43e656d33804c.jpeg

The length of this article is 1012 words , and it is expected to read for 3 minutes

foreword

After the new year, I started to become a trapeze person, either in a new city or on the way to a new city. The main reason is that the work is full, so the update frequency cannot keep up. I wrote an article after the new year. I originally considered whether to repost some articles, but I didn’t do it later. The main reason is that my official account should still be original. When I meet a suitable one, or if I want to keep my favorites, I will repost it, so I will update it this year. Send it directly after writing, there is no fixed time.

19c2ee6a336bcb4f4148070268dd4e4f.png

cabc46b47152939bf75aa00ea71eea60.png

Vivo X Fold main machine, Garmin Fenix6 connected to Vivo X Fold, Oppo Find N2 Flip as backup machine

Why the title of smart watch receiving messages from two mobile phones?

A

Originally, I was used to using a folding screen mobile phone. I have to say that the folding screen mobile phone is too power-hungry, so I considered adding a spare phone (using another reason to buy a folding screen mobile phone). In addition to being a backup machine, it is also very good to debug programs on a real machine. I don’t know if it’s my own fault or everyone’s like this. I often don’t hear or feel the incoming messages or calls from my mobile phone with the ringtone and vibration turned on. It’s often only known through the smart watch’s reminder, and the smart watch’s The APP can only be bound to one mobile phone, and those who use the backup phone also want to be reminded of incoming calls or messages through the smart watch at the same time, so I am going to do my own research to realize this thing.

Design ideas

6ed7a00f98fe0b0878c7680de00c4bbb.png

Micro card Zhixiang

d2694e53640590cf417eca5924dd8c1b.png

The current push method of the main machine watch

dc83c382906c712bd038ebe2564ead78.png

Backup machine message push flow chart

App function

  • App can configure server and client

  • The main function of the client is to capture system messages and send data via Bluetooth

  • The main function of the server is to receive data via Bluetooth and push data via Notification

1808fa7ceb0e5c662061690d9e019c57.png

The process is probably determined. Here are a few knowledge points for developing this program:

8e53852b90709cf5235b3848e7be2fe2.png

Foreground service and Notification These two my articles " Use of Android foreground service (1) " " Use of Android foreground service (2)--using LiveEventBus to realize inter-process communication (with source code) "

Capture messages and bluetooth data communication will be separately done as a demo for technical verification, and the article will be updated as the progress progresses. After the technical verification is completed, the app will be developed as a whole, because this thing is just what I need, and it happens that the overall development is ready to use MVI, including basequickadapter is also updated It's the 4.x beta version, try to try out new things.

8ffd794014b52ea1083ed4ae534a9f32.png


I’ve finished talking about the things I’ve planned to do recently, because I’m basically on a business trip now, and I have a lot of equipment on me, and I’ve changed my backpack a few times in the middle, and I finally think that the Accompanying Light and Shadow is pretty good, and the things it holds are pretty good. There are many, and you can bring a change of clothes when you don’t need a suitcase, but it’s tiring to carry it for a long time when it’s full, so a suitcase is suitable when necessary.

e390935eb65f5c9a3e1ec18e7b4ef027.png

f74aa27ac2cbb66c8eec272c1a99d050.png

Here is my travel gear

97837c2dbf3d3515b7bd433f4a978222.jpeg

over

4766df658c65a413d6b91d939b949280.png

4faeb960a8d13d77b7f056bb876ea0ed.png

Wonderful review of the past

 

272d3c653d8ce244af650838e8bd6141.jpeg

Test the phone mirroring effect of the new version of Android Studio

 

 

d490829bd5038a47382bec25d3d3b3fc.jpeg

yolov5 trains its own data set, OpenCV DNN reasoning

 

 

1ad7e7892050738c98e65b10ef27a62c.jpeg

Installation of target detection yolov5

 

Guess you like

Origin blog.csdn.net/Vaccae/article/details/129679925