Use of Android Binder

1. Creation and parsing of AIDL files Binder is still relatively simple to use. Create an IBinderPool.aidl file and clean it. You can generate a Java file for us. // IBinderPool.aidl package com.example.binder.aidl; interface IBinderPool { IBinder queryBinder(int binderCode); } The generated Java files are as follows: /* * Th ...

Posted by robviperx on Sat, 11 May 2019 00:13:42 +0200

Lesson 12: Running in the Background (based on Android Studio 3.2)

Now that we have some knowledge of UI elements and screens, we need to make them responsive. Response is not just about speed - how much work you can accomplish over time. What's more important is how fast the application is. When people say that the application responds, they usually mean that the application will not prevent ...

Posted by Lukeidiot on Fri, 10 May 2019 23:17:10 +0200

Talk about my understanding of MVP

To be honest, the MVP mode or design idea has come out for a long time, and now the latest use of MVVM design mode, constantly for the beginning, still need to move forward step by step. After all, you can't eat like a fat man. I am a senior, and I am currently working as an intern. In fact, I have been contacting and studying MVP ...

Posted by Control Pad on Fri, 10 May 2019 19:20:12 +0200

Summary of applet Bluetooth

  Question: Recently I have made a small program involving Bluetooth module, make a summary, make a record of your growth, if you can help you, it would be great; 1. Applet Bluetooth Search Can Search Mobile Devices 2. How to determine if Bluetooth is on or off 3. Search for specified devices 4. The deviceId obtained on th ...

Posted by Aptana on Fri, 10 May 2019 09:58:03 +0200

Implementation of Android Custom ListView

Android ListView is probably the most commonly used and difficult control in Android. To be honest, the use of this control really made me feel awkward for a while. I need to know that I can understand the program, but after leaving the book, I find that I can't write it out. It's really frustrating. Fortunately, now I can fina ...

Posted by listenmirndt on Fri, 10 May 2019 05:12:04 +0200

Easy to express your girlfriend: Android version software (zero-based software can also be downloaded directly)

In our daily life, we often see some html webpages to express our girlfriend, but the Android side of the presentation software can be said to be basically no, the author searched the whole network, there is no one available, so it is recommended that the editor put my blog on the home page. Android can give people a sense of customization a ...

Posted by Mark W on Fri, 10 May 2019 04:24:04 +0200

Seconds Understanding File Download Implementation of Retrofit2 Zone Progress Bar

Copyright Statement) Notes for non-commercial purposes are free to be reproduced Blog address: https://blog.csdn.net/ShuSheng0007/article/details/82428733 From: shusheng007 Summary Achieving results Implementation Method Specific implementation Step 1: Introduce the Retrofit class library Step 2: Define the ser ...

Posted by ali_mac1 on Thu, 09 May 2019 08:09:09 +0200

Tensorflow-benchmark_model is deployed to android platform to test model performance

TF-benchmark_model is deployed to android platform to test model performance Host: A pc platform for compilation. The environment of this article is Ubuntu 16.04. Target: android platform for scoring (mainly instruction set architecture). The environment of this paper is armeabi-v7a. This article only compiles an android ...

Posted by sstoveld on Thu, 09 May 2019 06:15:04 +0200

Android Design Patterns - Agent Patterns

1. definition Providing a proxy for an object and controlling the reference of the original object by the proxy object is an object structural pattern. 2. role In some cases, customers do not want or can not directly refer to an object, which can be indirectly referred to by a third party called a "proxy". Proxy objects c ...

Posted by railgun on Thu, 09 May 2019 05:06:04 +0200

A simple example shows you what onLayout(), onMeasure() really do

(Declaration): No reloading without permission! Introduction onLayout() and onMeasure() are the keys to customizing View. You may know how it works, but you don't know why it works that way?We often see it when we look at some books and sources, and today we're going to talk about its real role in customizing the View. 1. ...

Posted by Tyen on Wed, 08 May 2019 15:27:03 +0200