Basic usage and skills of Hongmeng lightweight database DatabaseHelper
preface:
Hello, students, I haven't updated the article for you for a while (I'm really sorry to stop because I've been busy with house purchase loans before). Today I want to talk about the basic usage and some skills of lightweight data DatabaseHelper in Hongmeng. So there's no more nonsense. Let's officially start
design sketch
1 In ...
Added by rbama on Thu, 27 Jan 2022 22:53:52 +0200
[android] android 9 or above mobile phones fail to play videos, and an error is reported. GenericSource: initFromDataSource, cannot create extractor reason
There is no problem with mobile phones below Android 9. Videos can be played normally, including our SDK for apk connection to advertising channels and advertising. The main reason behind this may be that the advertising address is HTTP rather than HTTPS. Android P requires that the network request must be HTTPS, and the HTTP request will throw ...
Added by mwd2005 on Thu, 27 Jan 2022 21:12:19 +0200
[advanced Android] Kotlin object oriented
introductionIn Kotlin, I can declare ordinary classes, data classes and static classes. It also has abstract classes and interfaces. The abstract keyword can only act on ordinary classes.Classes and objectsGeneral classOrdinary classes in Kotlin are defined through the class keyword. By default, these classes are of final type and cannot be inh ...
Added by rrn on Thu, 27 Jan 2022 15:15:21 +0200
There is a problem that the external storage cannot be accessed in Android 11 or later
What are you doing recently Android Application development, IDE yes android studio , The version configuration used is as follows:
compileSdk 32
buildToolsVersion '32.0.0'
defaultConfig {
applicationId "com.example.gzpersonmanager"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "andr ...
Added by api on Thu, 27 Jan 2022 13:52:31 +0200
Android APP complete basic tutorial (10) application resources - Basic
1 Introduction to Android application resources
Android application mainly consists of two parts: code and resources. Resources mainly refer to things related to UI, such as UI layout, strings and pictures. The separation of code and resources allows the application to organize the UI according to the actual needs at run time. In this way, the ...
Added by billf on Thu, 27 Jan 2022 13:40:59 +0200
Android performance test means and tools
Performance monitoring and testing is an important part of advanced technology in Android development, and it is a necessary skill for infrastructure development. As the saying goes, if you want to do a good job, you must first sharpen your tools. First, you should master the use of various tools officially provided by Android. Further, we shou ...
Added by j0se on Thu, 27 Jan 2022 06:35:50 +0200
10 unpopular but very practical Docker skills
In daily work, docker has a lot of contacts. In addition to the frequently used commands such as docker run and docker stop, docker also has many useful but infrequently used commands. Here is a summary:1. docker topThis command is used to view the process information in a container. For example, you can do this when you want to view several ng ...
Added by thor erik on Thu, 27 Jan 2022 06:08:36 +0200
How much do you know about the use and principle of OkHttp
brief introduction
As the most popular network request underlying framework at present, how to defeat other frameworks and be recognized by the majority of people? Compared with other network frameworks, it has the following advantages:
Support gizp compression and decompression of dataSupport http1 0,http2. 0,SPDY_ 3,QUICSupport network resp ...
Added by phpmoron on Thu, 27 Jan 2022 01:32:38 +0200
Alibaba cloud server communicates with multiple clients to designated users in java
preface
Purpose of this Code: as a door lock, raspberry pie has an id that uniquely identifies the door lock. In order to enable raspberry pie and app to communicate effectively with each other, tcp sockets are used. In order to easily identify the content of communication, the codes of the three are utf-8
java Server
theory
Write the s ...
Added by smilley654 on Wed, 26 Jan 2022 23:32:48 +0200
Android query address book information
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
preface
The technology of obtaining address book information from Android phones has appeared a long time ago. There are many tutorials on the Internet. The most common is to pass in uri ...
Added by daveeboi on Wed, 26 Jan 2022 15:27:17 +0200