Android Development Notes: Read local (built-in) html files and interact with Javascript

In fact, we usually use the WebView control to read the local html, so that we can experience the fun of mixed development like web app and Android native. When reading local HTML and displaying it in the front desk, it is not necessary to set corresponding network privileges or https protocol in Android menifast. XML file, because the local se ...

Posted on Mon, 08 Apr 2019 18:33:30 -0700 by xX_SuperCrazy_Xx

Principle Analysis of Android Handler

brief introduction In Android, only the main thread can operate the UI, but the main thread can not do time-consuming operations, otherwise it will block the thread and produce ANR exception, so time-consuming operations are often put into other sub-threads. If the UI needs to be updated in the sub-thread, the message is usually sent throu ...

Posted on Mon, 08 Apr 2019 16:54:30 -0700 by phphelpme

Using mob to add SMS verification function to Android applications

When Android applications log in and register, in order to ensure that the user's mobile phone number is really available and easy to retrieve when the password is forgotten, most of the current applications integrate the function of SMS verification, but it is too expensive and troublesome for them to connect with the telecommunication operat ...

Posted on Mon, 08 Apr 2019 12:30:30 -0700 by lanjoky

Sample code analysis for silent installation after Android gains Root privileges && source download

In droid development, we sometimes encounter the realization of some special functions, some of which are not too technical, but if we haven't touched before, it will take a lot of time to study and solve. Today, I will summarize the implementation of silent installation and door uninstallation after obtaining Root privileges. As everyone k ...

Posted on Mon, 08 Apr 2019 12:24:31 -0700 by segwaypirate

Expandable ListView + Dialog implements pop-up two-level drop-down list options. Free to use in Activity and Fragment

Today is the second day of my unemployment. I feel a little bored. It's quite sudden about this unemployment. But there's nothing to regret after thinking about it. After all, you can't find a job anywhere with technology. As a technician, the first thing to do is to continuously improve their own technical level to adapt to this rapidly ch ...

Posted on Mon, 08 Apr 2019 11:21:31 -0700 by MalikBB

adb logcat command-line usage

Author: Everything is in the dust. Reprint from famous sources The LogCat tool of eclipse is too rubbish, so we began to use adb logcat to view logs at the terminal. 1. Parsing the help information of adb logcat The help information of the command can be displayed by typing adb logcat --help command on the command line. o ...

Posted on Mon, 08 Apr 2019 10:33:32 -0700 by nitharsanke

android Communication Related, MTK Platform

The structure of IMSI is as follows: MCC+MNC+MSIN, (MNC+MSIN=NMSI) MCC: Mobile Country Code, Mobile Country Code, MCC resources are uniformly allocated and managed by ITU, the only country to identify mobile users, a total of three, China 460; MNC:Mobile Network Code, Mobile Network Code, a total of 2 bits. China Mobile TD system use ...

Posted on Mon, 08 Apr 2019 01:27:30 -0700 by meburke

Do you know how to write "hello world" in many programming languages? Not many will you be ashamed to be a programmer!

Almost every programmer's first program is "hello world", and Hello World was first created by Brian Kernighan. In 1978, Brian Kernighan wrote a programming book called C Programming Language, which was widely circulated among programmers. The Hello World program he first quoted in this book: main (){ extrn a,b,c; ...

Posted on Mon, 08 Apr 2019 01:06:31 -0700 by Castle

Introduction, Use and Encapsulation of Android Network Framework Retrofit 2.0

Preface Today, Android's network framework is no longer as ubiquitous as it used to be. With Google deleting HttpClient directly, it seems that Android is becoming more and more mature. Volley, the leader in the network framework, is no longer so shiny, but is replaced by Retrofit and okHttp. It feels like the departure of the white beard in ...

Posted on Sun, 07 Apr 2019 23:42:30 -0700 by epicalex

Notes on RxJava Transform Operators

Transformation operation Extract from Chinese Translation of Reactive X Documents map A function is applied to each item of the sequence to transform the data sequence transmitted by Observable flatmap Transform the data set emitted by Observable into the Observables set, and then flatten the data emitted by Observable into a single Observable ...

Posted on Sun, 07 Apr 2019 23:09:31 -0700 by [e]r!k