Reprint link: http://gqdy365.iteye.com/blog/2188906
On the basis of sorting out Android serial communication: basic knowledge (http://gqdy365.iteye.com/admin/blogs/2188846), I sum up the examples of using serial port in my project
Android uses jni to directly read and write serial devices on the Internet, and there are ...
Posted on Tue, 31 Mar 2020 05:22:37 -0400 by johnkperks
Or bring SearchView
1.Fragment or Activity
<?xml version="1.0" encoding="utf-8"?>
Posted on Tue, 31 Mar 2020 02:48:42 -0400 by nitestryker
Usually, the image obtained from the server is the URL address. If you simply obtain the image through the URL address?
There is an open source project: SmartImageView, which achieves this function, but also has other functions. It is inconvenient to download and too large
Here I realize this simple function of it
package org.dreamtech ...
Posted on Tue, 31 Mar 2020 02:21:04 -0400 by r.smitherton
Android Notification Bar Front Desk Service1. Brief introduction of foreground serviceForeground services are services that are considered known to the user and do not allow the system to kill when there is insufficient memory in the system.The foreground service must provide a notification to the status bar, which is placed under the Ongoing h ...
Posted on Mon, 30 Mar 2020 22:41:07 -0400 by yozyk
Recently, the company has a new demand to synthesize multiple PDFs into a pdf display locally, and has read many articles on the Internet that are not comprehensive or need to be integrated. Therefore, many methods are compared and decided to use the following methods, which can be used for pro testing, with fast mergin ...
Posted on Mon, 30 Mar 2020 18:09:07 -0400 by roseplant
Sharing is very common in every App application. Today, let's realize the third-party sharing provided by access QQ. 1. When sharing with QQ, please register your account with our Tencent open platform first and then get the developer qualification address: http://open.qq.com/ Create an app to get AppId and AppKey. For ...
Posted on Mon, 30 Mar 2020 17:23:04 -0400 by compphenom
We all know that in Service we can't do time-consuming operations directly. We usually need to start the sub-threads to do something. It's not elegant to manage the life cycle of Service and the sub-threads yourself; the good thing is that Android provides us with a class called IntentService.
Posted on Mon, 30 Mar 2020 16:41:14 -0400 by samoht
Case 1: version is very important in the software development stage. Different versions,
The bugs that have been repaired are not the same, and the functions they have implemented are not the same,
Before the official release of Android terminal product, the project manager shall ensure that the system version is correct,
It will also verify o ...
Posted on Mon, 30 Mar 2020 07:19:36 -0400 by afatkidrunnin
According to the demand, the files displayed in the app need to be shared and opened and viewed with the related software installed on the mobile phone, so the function of "other applications open files" is used for users to consult in different ways.
Here, we go directly to the code:
Step 1: the first step is to vi ...
Posted on Sun, 29 Mar 2020 13:21:09 -0400 by grim1208
Reference from https://github.com/javajavadog/guideshow
The jar packages used can be found in https://github.com/javajavadog/guideshow/blob/master/jar/guideshowlib.jar download
1. Create a new project in Android studio, copy the file guideshowlib.jar (to download, see the second line) to the directory.. \ app\libs, and add th ...
Posted on Fri, 27 Mar 2020 12:47:09 -0400 by aravind_mg