Flutter Basics
The first time I came into contact with Flutter was on mooc.com. I saw Flutter in Android course. At that time, I thought what kind of grammar it was, and I could write mobile terminal. Later, I saw the introduction of nuggets and knew that saltfish was developed with Flutter. I felt it was very powerful. I found this ...
Posted by djwinder on Sat, 09 Nov 2019 06:57:23 -0800
From form in fluent
General methodAll those who have done the front-end work should have submitted the form. Take text input as an example, the general TextField component is provided in flutter
TextField(
decoration: InputDecoration(labelText: 'Product name'),
onChanged: (String value) {
setState(() {
_name = value;
});
...
Posted by elementaluk on Wed, 06 Nov 2019 14:26:41 -0800
DNS in Binder process communication
DNS in Binder process communication ----- servicemanager
Just as "DNS" in the Internet needs to be ready before browsing all kinds of web pages, so service manager needs to be in a normal state before someone uses Binder.
Next, we briefly introduce service manager.
1. When to start
Since someone needs to be ready befo ...
Posted by teongkia on Wed, 06 Nov 2019 14:01:59 -0800
One of the solutions for the video tag in html that can't be played in ios wechat
Recently, we are working on a wechat enterprise project. One of the requirements is to play video on the enterprise page. At the beginning, we used the video tag to load the video address directly. As a result, it can play normally in android phones, but not in ios phones.
In ios, the symptom is that the video is always loaded, but it can't be ...
Posted by lore_lanu on Tue, 05 Nov 2019 10:27:08 -0800
A summary of the use of generics in Android in actual projects
Preface
Why summarize the use of generics? How does generics represent value in a project? Don't talk about it. Summarize it. From practice to theory, finally return to generic nature.
1. What is generics? Why generics?
Definition:
Generics: the "broad data type", any data type.
Effect:
Generics can solve the security problem of data ...
Posted by baselinej on Tue, 05 Nov 2019 02:15:53 -0800
Try Flutter: write a boring App (with Flutter experience)
Today's X
Github: https://github.com/shuiRong/T... (today's X)
This is a boring App written by FlutterRecommend a different one every day: picture, poem, famous saying, music, music review, advanced mathematics, two kinds of color matching, chemical equation, Github Repo, Zhihu problem.
(P.S. except that the picture is from Bing homepage, only ...
Posted by m00p4h on Mon, 04 Nov 2019 12:18:11 -0800
Seven sections of Android utility code
Welcome to reprint, but please keep the original source of the article:)
Blog Park: http://www.cnblogs.com
Uncle farmer: http://over140.cnblogs.com
1. Accurately obtain screen size (for example: 3.5, 4.0, 5.0 inch screen)
public static double getScreenPhysicalSize(Activity ctx) {
DisplayMetrics dm = new DisplayMetrics() ...
Posted by jlpulido on Sun, 03 Nov 2019 09:24:22 -0800
Wechat jump browser prompt, 366API analysis how to directly jump to mobile phone default browser in wechat browser
Many friends' APP promotion links need to be publicized, propagated, downloaded and so on in wechat, but you must have found that the download links of APP are blocked in wechat. But wechat is the biggest social platform. For its own benefit, it blocks all APK download links. How can we solve this problem?
Solution:
Based on wechat interface, ...
Posted by alphamic on Sun, 03 Nov 2019 03:45:20 -0800
Realization of Taobao Lingmao coin and ant forest energy automation based on AutoJs
outline
Once a year, double 11 is here again. Let's have a party. Taobao needs all kinds of check-in, shopping and collecting meow coins. One shop needs 15S, and after receiving all meow coins, they will be gone in at least ten to twenty minutes. As a programmer, it's time to free your hands.
1. Technical background
1.1,AutoJs
GitHub: https:// ...
Posted by Dave2711 on Sun, 03 Nov 2019 01:27:38 -0700
(android Development) upload files using okhttp
To develop android mobile client, you often need to upload files to the server, such as: photos in your mobile phone.
Using okhttp would be a good choice. It is easy to use and efficient to run.
First, add implementation 'com. Square up. Okhttp3: okhttp: 3.8.1' in the dependencies of app/build.gradle. You can refer to the following ...
Posted by kayess2004 on Sat, 02 Nov 2019 12:23:41 -0700