Android 7.0 open camera (rights and content provider)

Most of this article comes from the second line of code, only part of the permission problems are changed and explained The main problems are Android 6.0 permission and 7.0 URL. You need to set permissions first <! -- camera -- > <uses-permission android:name="android.permission.CAMERA" /> <! -- get sd card write permi ...

Posted on Sun, 31 May 2020 06:47:55 -0700 by newbie_07

Analysis of file dependence of Qt in creating Application

When using QtCreator to create Application program, it will automatically create * * *. UI file in the folder "build - * * * - Desktop"_ Qt_ ***-Generate UI in debug_ ***. h, * * *. UI can be adjusted through QtDesigner, and a c + + class with the same name will be created in the folder of * * *. UI. This brings us a lot of doubts. Ho ...

Posted on Sat, 30 May 2020 21:40:07 -0700 by andy1398

Python operation Word and Excel and packaging

Installing the module # Word action library pip install docx # Excel operation Library pip install openpyxl # Package exe tool pip install pyinstaller Word operation Reference address: https://python-docx.readthedocs.io/en/latest/ matters needing attention Can only operate on docx format of openxml specification Word interna ...

Posted on Fri, 29 May 2020 08:06:54 -0700 by luuney

Using Docker to publish razor wasm

Using Docker to publish razor wasm The files compiled by Blazor are static files, so we only need a web server that supports static pages.According to different projects, it will be arranged in different containers. For example, this article will show how to pack into docker step by step when there is no gateway demandHTTPSSince there is no gat ...

Posted on Thu, 28 May 2020 18:53:24 -0700 by matt_wilkes

Horizontal and vertical screen correlation

AndroidManifest: android:configChanges="orientation|screenSize" At first, set this to go vertically and horizontally. onConfigurationChanged (in fact, it doesn't matter whether this one is written or not. I haven't found anything else yet.) Customize the myroeientationeventlistener inner class //Inherit the OrientationEventListener c ...

Posted on Wed, 27 May 2020 08:51:09 -0700 by kinaski

SQL statement blocking P6SPY

Software introduction P6Spy is an open source framework that can be used to intercept and modify data operation statements in applications. Through P6Spy, we can intercept SQL statements, which is equivalent to a recorder of SQL statements, so we can use it for relevant analysis, such as performance analysis. P6SPY provides the following functi ...

Posted on Wed, 27 May 2020 07:33:48 -0700 by FeralReason

Three cases of @Import in Spring

We often see @Import import functionality in the Spring framework, especially at the framework level. ​ I'll just tell you what it can import. First, declare that @Import is a comment. There are three types of imports: 1. Import the configuration @Configuration, similar to the import xml file of spring's earlier version 2.5, <?xml version=" ...

Posted on Mon, 25 May 2020 16:46:45 -0700 by warriors2003

Osgeearth uses note 1 -- show a digital earth

catalog 1. Overview 2. Implementation 2.1. 3D display 2.2. Two dimensional display 1. Overview Osgeearth supports. Earth files, which hold the configuration XML of digital earth related information. Just read this configuration file, you can get the corresponding digital earth related effect directly. B ...

Posted on Sun, 24 May 2020 04:05:47 -0700 by Eclesiastes

Spring source code: what have you done since ApplicationContext was started?

1, Introduction When using ApplicationContext to start the Spring container, the code is as follows: ApplicationContext applicationContext = new ClassPathXmlApplicationContext( "applicationContext.xml"); This line of code, including the whole process of Spring startup, will go through ...

Posted on Sun, 24 May 2020 04:01:23 -0700 by yalag

Custom ClassLoader -- third party jar packages can be loaded

package com.classloader.util; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.net.URLStreamHandlerFactory; import java.security.CodeSource; import java.security.PermissionCollection; import java.util.Enumeration; import java.util.jar.Manifest; ...

Posted on Wed, 20 May 2020 08:52:11 -0700 by bumbar