Android references external database (1)

Android references external database (1) There is a ready-made database, which needs to be directly introduced into the project. Prepare for preparation Before we start, we need to confirm the table structure and field information of the existing database. (pay attention to the size of the database, which is useful lat ...

Added by pr0x on Fri, 31 Jan 2020 20:59:26 +0200

Web service network request in Android

There are many articles about using web service in Android, here is just a brief introduction. Here you need to first introduce the package of webservice (click download: Ksoap2.jar ), why soap? It's a long story. SOAP Protocol directly asks Du Niang. The next step is to use: First, there should be a url like this (http://ip ...

Added by jc94062 on Fri, 31 Jan 2020 06:19:55 +0200

Percentage of width in RelativeLayout

I'm laying out the login Activity form for my Android app. Here's what I want to look like: I can use the following XML to implement this layout. The problem is, it's a little shocking. I have to hard code the width of the host EditText. Specifically, I must specify: android:layout_width="172dp" I really want to give the host and po ...

Added by Alkimuz on Mon, 27 Jan 2020 16:46:47 +0200

Passwords visible and invisible

A small feature in the project that toggles between visible and invisible passwords. Design sketch:         Code:           public class PwdActivity extends AppCompatActivity { public static void startActivity(Context context){ Intent intent = new Intent(context, PwdActivity.class); context.startActivi ...

Added by KITTfan2K on Thu, 23 Jan 2020 18:16:08 +0200

TA Compile/Entry Function/Signature Article Translation

Preface: Translation: https://optee.readthedocs.io/en/latest/building/trusted_applications.html Last translated article: Installation of OP-TEE .After installation, I don't want to know the details of the whole process of the program.Now I want to rewrite hello world for myself to interact between TA an ...

Added by BLeez on Wed, 22 Jan 2020 05:32:15 +0200

Android WebView starts H5 payment and prompts the merchant that the parameter format is wrong

notes preceding the text of a book or following the title of an article ——Holding the sword in the end of the world, starting from your little accumulation, you must strive for perfection everywhere you reach, that is, tossing every day. Important news Those proficient can see the detailed description here Flutter from getting sta ...

Added by dercof on Mon, 20 Jan 2020 09:59:34 +0200

Android content provider in 2020

Junior to intermediate 1. What is the content provider? Content Provider is mainly used to realize the function of data sharing between different applications. It provides a complete set of mechanism, which allows one program to access the data in another program, and also ensures the security of the accessed data. Currently, using content pro ...

Added by lady_bug on Fri, 17 Jan 2020 12:51:11 +0200

Two methods of using WX-JSSDK in vue

The company has recently had the demand for WeChat public address, so WeChat's login authorization and how to use WX-JSSDk to share are all the most troublesome problems. I also developed the WeChat public number for the first time. I read a lot of blogs on the Internet. Finally, I selected two methods ...

Added by ignorant on Fri, 17 Jan 2020 10:33:40 +0200

Android Panorama Advertising Access Tutorial

Panorama Advertising Access Tutorial I believe everyone has met the need to add advertising in the app. Most of the way is to add advertising on the open page to attract users to click and jump.There are many advertisements on the market at present. Today we will introduce the simple integrated access ...

Added by gmcalp on Thu, 16 Jan 2020 04:26:49 +0200

Android 8.0 disable notification bar drop-down

Recently, we are developing an e-whiteboard project. The system uses Android 8.0. Some functions on Android phones are not needed, such as notice bar drop-down The requirement is that the notice can be popped up, clicked, cleared by sliding left and right, but not pulled down If there is a need, st ...

Added by joebWI on Sun, 12 Jan 2020 09:02:20 +0200