Android's local data store (SQLite database)
Article directory
I. concept
1, understand
2. Application scenario
2, Database operations
1. Create database
2. Data operation (add, delete, modify and query)
2.1 add statement
Method 1:
Method 2:
2.2 delete statement
2.3 UPDATE statement
2.4 query statement
3. Import of mobile database file
...
Posted by flash gordon on Tue, 25 Feb 2020 12:51:55 +0100
Android's self rescue -- rescue party
Preface
I don't know if you've ever met it. Sometimes the system starts abnormally, and it will directly enter the error interface of a robot. I have encountered that after OTA upgrade, it will restart automatically after startup and enter the robot error interface. It's found that there is a process ...
Posted by mharju on Mon, 24 Feb 2020 12:46:42 +0100
The packaging process of Flutter video playback
This paper is based on the official video playback plugin for encapsulation
https://github.com/flutter/plugins/tree/master/packages/video_player/video_player
In the daily development, it is inevitable to meet the needs of video development; with the increasingly active technology of Flutter, there wil ...
Posted by trube on Mon, 24 Feb 2020 07:40:34 +0100
Android Development - send data between activities
Preface
In the process of Activity interaction, data must be transferred between two activities. You can start a new Activity by using the startActivity() or startActivityForResult() method, depending on whether your Activity wants to get the return result from the new Activity that is about to start. ...
Posted by stunna671 on Wed, 19 Feb 2020 05:17:20 +0100
[Camera]Android:Camera2/HAL3 Framework Analysis
This article was reproduced from the sheldon_blogs blog at https://www.cnblogs.com/blogs-of-lxl/p/10651611.html
This article is for study and research purposes only. Please attach the original author's name and web address if you want to reproduce it
1. Treble mechanism on Android O
In Android O, w ...
Posted by ixos on Sun, 16 Feb 2020 03:06:59 +0100
Android and Flutter hybrid development UI interaction
Preface
I'm an Android Developer. I'll just introduce the hybrid development of Android and Flutter here.
There are many related articles on the Internet about the mixed development of native and Flutter, which are basically done by using the methods of FlutterView and FlutterFragment. However, in th ...
Posted by robche on Fri, 14 Feb 2020 11:59:52 +0100
Android learning notes of Bi's weekly notes 1
February 5th
1. target
Master the layout manager of Android UI design
2. Learning notes
2.1 UI components
TextView
Botton
RadioBotton
EditView
ImageView
RecyclerView
2.2 layout manager
2.2.1 linear layout
Most common attributes
attribute
attribute
attribute
android:id
android:layo ...
Posted by MrLister on Tue, 11 Feb 2020 13:40:18 +0100
(white seconds understand) customize the waterfall layout of ViewGroup
Let's talk about what I mean by waterfall layout here:
There are N textviews, or other views, arranged one by one. Unlike LinearLayout, you can wrap lines
Take a look at the picture. Otherwise, it's unexpected. The picture is as follows:
Don't think about it. There must be no existing View to use, because you don't know h ...
Posted by parena on Sun, 09 Feb 2020 17:19:49 +0100
Android Banner+Glide realizes offline loading of carousel chart and data cache
First of all, add the following dependencies to build.gradle in app, banner is the frame of carousel chart, glide is the frame of picture loading.
implementation 'com.youth.banner:banner:1.4.9'
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler ...
Posted by cyber_ghost on Sat, 08 Feb 2020 13:20:36 +0100
Multi level expansion menu based on Bootstrap layout
Multi level expansion menu based on Bootstrap layout
Tutorial address: Original address (YouTube)
Tutorial of station B: Original reprint (bilibili bili)
The content of the two videos is the same, and the second is reprint
Design sketch
[external link image transfer failed. The source station may h ...
Posted by xgd on Fri, 07 Feb 2020 18:20:30 +0100