Android Direct Response Notification
Android Direct Response Notification
Direct response to notification
Android N/7.0
Android Direct Response Notification
Preface
Create notification
Create notification objects
Add an Action
Add a Broadcast Receiving Action Event
Add Direct Response Input Box
Send the contents of the direct reply to the broadcasting receiver
Br ...
Posted by jovankau on Wed, 03 Apr 2019 12:00:29 -0700
Panoramic Virtual Walkthrough Implementation (3.js)
Panoramic virtual walkthrough actually sees many examples, such as panoramas on maps, panoramas on campus, panoramas of companies that were previously popular in the circle of friends. But really think of to study or realize, is a few days ago that there may be such a need for work. Awareness comes too late and curiosity is not enough. Why did ...
Posted by Azala on Tue, 02 Apr 2019 00:00:29 -0700
A once-and-for-all screen adaptation scheme
Screen adaptation in Android is often a headache. Various screen resolutions bring us a lot of trouble in adapting. Google officially suggests that we use dp instead of px, but most of the designer's drawings are marked with px, which makes us feel uncomfortable when writing xml files. I believe that no programmer is willing to spend a lot of ...
Posted by FrozNic on Mon, 01 Apr 2019 22:21:30 -0700
Custom View-on Measure for Newcomers (2)
This is mentioned last time in the getChildMeasureSpec method of ViewGroup, which means that the father View already has the actual value (the width (height) of the parent ViewGroup in Xml is defined as the actual value, not wrap or match).
// Parent has imposed an exact size on us
case MeasureSpec.EXACTLY:
i ...
Posted by lhaynes on Mon, 01 Apr 2019 17:21:30 -0700
Noejs Learning Notes 3
Building TCP Server
Node implements HTTP server in the form of http.Server pseudoclass, which inherits from TCP server pseudoclass in. net Server.
TCP server declaration cycle
var server = require('net').createServer();
var port = 4001;
server.on('listening',function(){
console.log('server is listening on port',port);
});
server.on( ...
Posted by ealderton on Mon, 01 Apr 2019 06:42:29 -0700
On the Advantages and Disadvantages of Android AsyncTask
Introduction: I was used to the development of Framework layer before. Today I am interviewing the development of APP client in Wuhan Dogfish Company. One of the questions is about the advantages and disadvantages of Asynctask. I depend on it. I just know that there is such a thing that I can use it. It seems that the life before is too comfort ...
Posted by merck_delmoro on Sun, 31 Mar 2019 21:27:30 -0700
Android Custom view What You Need to Know
The knowledge about Android's customized view is an unavoidable knowledge module for both interviews and in-depth study. Some of the open source controls we use are hundreds of lines of code, which makes it difficult for us to customize the view. But when we read articles like Guo Lin, Ren Yugang, a well-known blogger, explaining customized vi ...
Posted by Lucidnight on Sun, 31 Mar 2019 00:48:30 -0700
Java Engineer's Way to God~
I. Foundation Chapter
1.1 JVM
1.1.1. Java memory model, Java memory management, Java stack and stack, garbage collection
http://www.jcp.org/en/jsr/detail?id=133
http://ifeve.com/jmm-faq/
1.1.2. Understanding various JVM parameters and tuning
1.1.3. Learn to use Java tools
jps,
jstack,
jmap, jconsole, jinfo, jhat, javap, …
http: ...
Posted by samrat_php on Sat, 30 Mar 2019 09:21:28 -0700
Code confusion in Android project, Android proguard usage instructions
brief introduction
Java Code is very easy to decompile. In order to protect Java source code well, we often confuse the compiled class files.
ProGuard is an open source project that obfuscates code. Its main function is confusion, of course, it can also reduce the size of bytecode, optimization, etc., but those are seconda ...
Posted by Plex on Sat, 30 Mar 2019 09:12:31 -0700
Implementation of html to pdf in pure js
There is a perverted requirement in project development, which requires exporting the whole page to pdf format, and keeping all tables, svg pictures and styles on the page.In short, you want to cut off the whole page like a screenshot and save it as pdf.Why can't we go to heaven -- -- ___________After checking, there are still many ways to conv ...
Posted by agulaid on Sat, 30 Mar 2019 00:03:27 -0700