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
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
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
Master the layout manager of Android UI design
2. Learning notes
2.1 UI components
2.2 layout manager
2.2.1 linear layout
Most common attributes
Posted by MrLister on Tue, 11 Feb 2020 13:40:18 +0100
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
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.
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
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
[external link image transfer failed. The source station may h ...
Posted by xgd on Fri, 07 Feb 2020 18:20:30 +0100
When packaging Android games or apps, you often encounter problems with dozens or hundreds of channels.app names for different channels are different, and icons may be different.Programmers are always lazy and bother to change things manually.So a script was written in Python to automatically clip icons of different sizes and s ...
Posted by CybJunior on Thu, 06 Feb 2020 17:19:54 +0100
Why play video with OpenGL ES
We all know that there is a VideoView control in Android that can play video directly, which is both simple and practical. So why do we use OpenGL ES to play video? That's because OpenGL ES can do more cool dynamic effects, such as rotating video, double finger zooming v ...
Posted by _off_axis_ on Wed, 05 Feb 2020 11:38:07 +0100
Andromeda is iqiyi's open-source component communication framework for multi process architecture.
github Address: https://github.com/iqiyi/Andromeda
Its characteristics are as follows:
There is no need for the developer to perform bindService() operation or define the Service, just define ...
Posted by Devon11 on Tue, 04 Feb 2020 18:31:52 +0100