Sample address: Official demo
Through context Getsystemservice (context. Camera_service) gets CameraManagerCall cameramanager The open () method gets CameraDevice. In the callbackVia cameradevice Createcapturesession() gets CameraCaptureSession. In the callbackTo build CaptureRequest, there are three modes: preview / photo / videoSend capture ...
Posted by deepakagrawal1982 on Fri, 01 Apr 2022 02:50:39 +0300
Android learning: common controls
Learning points: master the usage of text box, edit box, button, radio button, check box and other basic controls
Control is an important component of the user interface in Android applications. It is precisely because Android applications provide many types of controls with different functions that makes our ...
Posted by Delqath on Thu, 31 Mar 2022 06:27:13 +0300
This article was originally published in: https://juejin.cn/post/7079090729057779743
The following article is translated from <Effective Kotlin: Best practices> Chapter 3 - Item24 in- Consider variance for generic types
For more information on generics, see my other article: Understanding generics in Java/Kotlin
Entry 24: focus on vari ...
Posted by markl999 on Thu, 31 Mar 2022 04:35:39 +0300
1. Component rendering display
2. Sample parsing
3. Library parsing
4. Collection of articles on Hongmeng open source third party components
Video cache component based on Android platform( https://github.com/danikula/Android VideoCache ), the migration and reconstruction of hongmenghua has been realized, and the code has ...
Posted by louisA2A on Thu, 31 Mar 2022 03:17:01 +0300
Many Android developers often ask me, what should I learn to become a good Android Engineer? For this problem, their descriptions are more or less different, but generally speaking, we all need to learn a series of skills to become an excellent Android Engineer.
In my opinion, such confusion is normal. Android is a huge and dynamic ec ...
Posted by yanti on Wed, 30 Mar 2022 19:31:11 +0300
1. Basic concepts IO: Java operates data through streams. IO streams are used to handle data transmission between devices, upload files and download files. Java objects used to operate streams are all in io packages.
2. Classification of IO streams Figure: (main IO stream) 3. Byte stream (1). Byte stream base class 1).InputStream InputStream: ...
Posted by A3aan on Wed, 30 Mar 2022 03:12:47 +0300
Detailed description of Android navigation:
reference resources Webpage
1, Add a navigation map to the project
In the "Project" window, right-click the res directory, and then select new > Android resource file. The New Resource File dialog box appears.Enter a name in the File name field, such as nav_graph.Select Navigation ...
Posted by cheekychop on Wed, 30 Mar 2022 00:33:41 +0300
React Native is a cross platform mobile application development framework opened by Facebook in April 2015, supporting two platforms: iOS and Android. React Native focuses on improving the development efficiency of multi platform development - Learn once, write anywhere. Born on the shoulder of a giant, React Native has a lot of scener ...
Posted by doremi on Tue, 29 Mar 2022 23:15:55 +0300
This chapter will learn how to programmatically interact with Navigation components.
1, Create NavHostFragment
Instead of specifying NavHostFragment in the XML file, NavHostFragment can be created dynamically at runtime.
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.andr ...
Posted by robert.access on Mon, 28 Mar 2022 17:43:08 +0300