Mobile location in Android Development (record)

This blog mainly records how to locate the mobile phone to a certain city. At present, the third-party map parsing API of Baidu map is used here. Baidu map open platform address: http://lbsyun.baidu.com/index.php?title=androidsdk/guide/key The steps are as follows: 1. Use the positioning function of Android to get the longit ...

Posted by argh2xxx on Thu, 02 Jan 2020 21:50:03 +0100

How to use Web Worker to optimize the application of web bar code recognition

Now the mainstream browsers all support WebRTC, through getUserMedia, you can easily open the camera in the browser. Web developers can use JavaScript to develop barcode scanning applications for web pages. Through the tests of chrome and safari, it is found that when JS code takes a lot of time, the video in Chrome is still smooth, while Safar ...

Posted by gdogfunk on Thu, 02 Jan 2020 05:31:04 +0100

Wechat applet API device user screenshot event vibrating mobile phone contact

Wechat applet API device user screenshot event This event is triggered when listening to the user's active screen capture event and the user uses the system screen capture key to screen capture wx.onUserCaptureScreen(CALLBACK) <view class="container"> <view> <text>{{str}}</text> </vi ...

Posted by msinternet on Tue, 31 Dec 2019 15:10:21 +0100

ionic4 calls internal App of mobile phone

ionic4 calls internal App of mobile phone There are many significant changes in the upgrading of ionic3 to ionic4. As ionic4 is still in the bate version, there are many areas that have not been improved. Now let's talk about how to call the APP inside the mobile phone in the ionic4 bate version. 1, Install plug-ins that can d ...

Posted by Jbert2 on Tue, 31 Dec 2019 08:16:45 +0100

TUS for File Breakpoint Continuation

TUS is an open source continuation framework for breakpoints on github. The server side is written in go, and the client side supports many kinds. It supports js, andorid, java and IOS.This article will do some analysis on the android side. Let's start with the core part of the framework, which is how to continue.When it comes to continuation, ...

Posted by ady01 on Mon, 30 Dec 2019 22:51:42 +0100

Android transparent status bar and setting status bar font color

Reference link https://blog.csdn.net/AmStrong_/article/details/78864613 Immersive status bar research is to extend the layout content to the status bar, so that the status bar can be covered or hidden on the layout. First of all, to modify the android version of the status bar at least above 4.4, and in 4.4, it is not allowed ...

Posted by ktsirig on Sat, 28 Dec 2019 20:40:47 +0100

JS --- Case: HD magnifier

Case: HD magnifier   3 steps 1. Mouse in and out, display and hide the occlusion layer and big picture div 2. When the mouse moves on the small layer, the horizontal and vertical coordinates of the mouse are the coordinates of the visible area - the width and height of the occlusion layer. When the mouse moves, it moves in an area, so it needs ...

Posted by billli on Wed, 25 Dec 2019 17:40:09 +0100

Android dynamically loads so Library in sd card

Some so files are too large, which can be copied from the mobile memory or sd card to the running application. Interfaces are all packed in before. You can also do so update, that is, delete the previous copy, and then do not repackage apk to copy in again. 1. Encapsulated class package com.rtcmdemo.until; import android.con ...

Posted by reli4nt on Tue, 24 Dec 2019 23:19:21 +0100

No photos can be obtained after photos are taken, such as Xiaomi Huawei mobile phone

Problem Abstract: no photos can be obtained after photos are taken with Xiaomi Huawei mobile phone Scene appears Ordinary camera call, pass in a path in intent, and call this intention. There is no problem in the glory 8X of the test machine. You can get the photos. In Xiaomi system and Huawei's maimang 4, there are no photos on the path. /* ...

Posted by chrisdarby on Mon, 23 Dec 2019 22:34:12 +0100

Explanation on the use of C + + intelligent pointer auto ﹣ PTR

Auto PTR is an intelligent pointer provided by C++98 Standard library, but it has been explicitly stated by C++11 that it is no longer supported. Auto PTR has the following defects: Auto ﹣ PTR has copy semantics, and the source object becomes invalid after copying, which may cause serious problems; while unique ﹣ PTR has no ...

Posted by emorr1981 on Fri, 20 Dec 2019 17:34:48 +0100