Ali Dashen teaches you ViewGroup dynamically. Do you still want to see it?

brief introduction Recently, there was a need for nine-picture control similar to WeChat circle of friends in the project. Github looked for it and found that they did not meet the needs. When I need a single picture, I can adjust it to a certain range according to the aspect ratio of the picture. Most open source projects have a single pictu ...

Posted by st0rmer on Wed, 01 Apr 2020 18:38:04 -0700

Operation mode of Retrofit2 under Kotlin project

Add dependency: Establish entity class to obtain network return data Describe the interface of the network request get mode: Post mode: Action to initiate request: Reference blog: http://blog.csdn.net/carson_ho/article/details/73732076 GitHub address: https://github.com/yangtianfu2018/Retrofit2Project Code ...

Posted by skiingguru1611 on Wed, 01 Apr 2020 17:36:14 -0700

Android reads the meta of each part

In the Android manifest.xml manifest file, we can sometimes see the following configuration content similar to the beginning of the < meta data... > element: <meta-data       android:name="com.google.android.maps.v2.API_KEY"       android:value="AIzaSyBhBFOgVQclaa8p1JJeqaZHiCo2nfiyBBo" />   <meta-data  ...

Posted by beginPHP on Wed, 01 Apr 2020 17:04:31 -0700

Android imitation Alipay numeric keypad

brief introduction In some apps with payment function, the password can only be a pure number. Although we can specify that the EditText input box can only be a number, in order to provide user experience, we tend to use a custom pure number keyboard. Effect of this paper: Customize KeyboardView Implementation steps: ...

Posted by rationalrabbit on Wed, 01 Apr 2020 11:56:38 -0700

[Xiaobai forced] Android voice recording and playback processing -- Audio

AudioH Android voice recording and playback processing, based on mediaplayer and MediaRecorder Realization function 1. Realize Android voice recording function (currently, the package only supports AMR format); 2. Realize Android voice playback function (handset and speaker playback); 3. Realize the caching of netw ...

Posted by vboctor on Wed, 01 Apr 2020 01:46:09 -0700

Four components of Android content resolver

ContentResolver For complete code see: longlong's github Standard format for content URI s:   content://com.example.app.provider.table1   content://com.example.app.provider.table2 The content URI is mainly composed of two parts: authority and path. The authority is generally named by package name. Path: disti ...

Posted by nainil on Wed, 01 Apr 2020 01:40:07 -0700

[Android jni Development Series (I)] Android Studio development environment construction and common error resolution

1. Download ndk ndk can be downloaded directly through sudio (tools - > Android - > SDK Manager - > SDK tools to download cmake and ndk) Or directly to AndroidDevTools Download and configure the environment of the ndk like the sdk. 2. Check Include C++ Support when creating a new Android project. It is estimated tha ...

Posted by barneybarney68 on Wed, 01 Apr 2020 01:15:01 -0700

Call back of onActivityResult() in different startup modes of startActivityForResult() in Android

As an Android Developer, I'm sure everyone is familiar with startActivityForResult(), so I won't teach you how to do it here. However, it is necessary to share with you the callback of startActivityForResult() in different activity startup modes. 1. The activation mode is standard <activity android:name=".ui.AAct ...

Posted by codered27 on Wed, 01 Apr 2020 01:04:05 -0700

Development of React Native -- component progressbaradroid

Preface ProgressBarAndroid is a real native encapsulation of the display progress component of Android platform, which is used to display the content loading progress in App. This article is mainly familiar with the following attributes: Color: set the color attribute value of the progress indeterminate: set whether to display ...

Posted by kfir91 on Wed, 01 Apr 2020 00:26:32 -0700

360 plugins learning notes external plugins

This article introduces how to use the external plug-in of RePlugin, which uses the simulation configuration in official demo2. Step 1: package the project that needs to be an external plug-in to generate demo1.apk Step 2: copy the apk to the host project assets/xxx /. The name of XXX is arbitrary and consistent Here is ...

Posted by bagnallc on Wed, 01 Apr 2020 00:18:29 -0700