Bluetooth adapter can't find Bluetooth device problem when startDiscovery is over Android 6.0 / 7.0 +

Reprinted from: https://blog.csdn.net/zhangphil/article/details/77896924 Bluetooth adapter can't find Bluetooth device problem when startDiscovery is over Android 6.0 + One of the important reasons for the problem is the permission problem of Android 6.0 +, Android 7.0 +. Good Bluetooth code running on Android 4.0 +, abnormal ...

Posted by literom on Tue, 31 Mar 2020 21:44:29 -0700

maven project integrates official wechat payment v3.0.9 (spring boot sample version)

Former by: recently made wechat payment in java, checked the maven warehouse of wechat payment sdk, and found that the latest update was on March 16, 2017, and the version number stayed at 0.0.3: <!-- https://mvnrepository.com/artifact/com.github.wxpay/wxpay-sdk --> <dependency> <groupId>com.github.wxpay</groupId> ...

Posted by edwinlcy on Tue, 31 Mar 2020 20:09:14 -0700

BottomNavigationView bottom navigation bar, add quantity corner mark reminder

First, let's look at the effect picture of the implementation: The code is also very simple Each Tab in the BottomNavigationMenuView is a FrameLayout, so we can add views on it at will, so we can also implement our corner sign. //Get the entire NavigationView BottomNavigationMenuView menuView = (BottomNavigationMenuV ...

Posted by volomike on Tue, 31 Mar 2020 18:29:17 -0700

Parent child container relationship of Spring and Spring MVC

Parent child container relationship of Spring and Spring MVC General configuration code <!-- listeners --> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name&g ...

Posted by simon622 on Tue, 31 Mar 2020 14:16:05 -0700

Using RESTFUL interface of CAS to log CS system into BS system

Get ready First, refer to the previous article to configure CAS and RESTFUL. Refer to: http://blog.csdn.net/happyteafriends/article/details/7450120   The scenario is as follows, CAS address: http://10.1.81.223:8080/cas-server-webapp Two WEB application addresses: http://10.1.81.223:8080/webapp2 http://10.1.81.223:8080/webapp1   Objectiv ...

Posted by royalsolo on Tue, 31 Mar 2020 13:00:56 -0700

The use of shared preferences in Android data storage

Introduction to SharedPreferences SharedPreferences is a data storage method of android. xml is stored in memory in the form of key value pairs. Files are stored in the / data / data / / shared ﹤ prefs directory. SharedPreferences Initialization getSharedPreferences(name,mode) The parameters name and mode represent ...

Posted by Blesbok on Tue, 31 Mar 2020 10:57:06 -0700

Spring boot (III) integration with mybatis

Preface With the release of spring boot2.0. The API interface of the project team has considered the transformation to spring boot. We always use mybatis as the underlying interface, so in this article, I specially practiced the integration of mybatis in spring boot.   1, Preparations 1,pom.xml   1 <dependencies> 2 &lt ...

Posted by ntnwwnet on Tue, 31 Mar 2020 02:57:27 -0700

Spring boot multi environment separation of resources and lib for packaging

In order to facilitate local development, testing and production packaging are occasionally involved. The configuration of each environment is different. Configuration files of multiple environments need to be configured to avoid having to modify the configuration files when packaging The default configuration file of the SpringBoot project is ...

Posted by riespies on Tue, 31 Mar 2020 02:38:28 -0700

Android implements View's slide series one -- using layout() method

Practice to get real knowledge, do the code! In the drawing process of Android View, in the onLayout() method, the child view will call the layout() method to complete its own layout. We can change the parameters of view layout() to achieve the sliding effect of view! 1. Implementation steps 2. Effect 2.1. La ...

Posted by sprintlife on Mon, 30 Mar 2020 23:08:27 -0700

android foundation interface development considerations

When doing Android development, we must pay attention to that the main thread cannot change the UI interface. If there is a crash when the program is running, and if there is no obvious syntax error, please check whether there is a conflict or crash in your own process. If there is a connection with the background, that is, when the request is ...

Posted by josh_mcqueen on Mon, 30 Mar 2020 10:34:23 -0700