Recent Posts
-
[Android] mobile guard number attribution query completed
The regular expression completes number verification, ^Starting with a, [] character set (matches any character in bra…… -
[Android] frame animation and gap animation
Display a picture frame by frame and connect it into animation Create a xxx.xml file in the RES / drawable / directory…… -
[Android] mobile guard mobile phone realizes SMS command to obtain location
Get location Create a new service package Create a new gpsservice class to inherit the service class of the system Reg…… -
[Android] mobile guard input box jitter and mobile phone vibration
Check apidemos, find view / animation / shake, find the corresponding animation code, and copy it directly When import…… -
[Android] WebView interacts with JS
Get WebView object Call the getsettings () method of the WebView object to get the websettings object Call setjavascri…… -
[Android] the principle of mobile location of mobile guards
There are three ways of mobile phone positioning: network positioning, base station positioning and GPS positioning Fo…… -
[Android] mobile guards save security numbers
Call setonitemclicklistener() method of listview object to set click event of item. Parameter: onitemclicklistener obj…… -
[Android] mobile guard custom combination control
set focus New settingactivity Set click events for GridView entries Call setonitemclicklistener() method of GridView o…… -
[Android] mobile guard gesture sliding switch screen
Define gesture recognizer Get the gesturedetector object of gesture recognizer through new gesturedetector (context, l…… -
[Android] properties of mobile guard custom control
The custom combination control completed in the previous section is not flexible enough. In the display information of…… -
Introduction to [Android] soundpool
The main application scenario is game development. The sound is short and dense. Use this API to implement it Pool: a …… -
[Android] mobile guards read contacts
Get the contentresolver content parser object through the getcontentresolver () method Call the query () method of the…… -
[Android] mobile guard binding SIM card
to update: You can't receive the startup broadcast. Check it. It seems that the higher version of the system is prohib…… -
[Android] mobile guard custom dialog layout
Mobile phone anti-theft page Click mobile phone anti-theft to judge. If no password is set, a dialog box for setting p…… -
[Android] mobile guard turns off automatic updates
There are four ways to save data: network, broadcast provider, shared preferences and database Get the SharedPreferenc…… -
[Android] call system camera and camera
Check the system camera source code and find the manifest file View the intention filter. The action is android.media.…… -
[Android] mobile guard custom scroll control
Textview control sets single line display Android: singleline = "true" Set the starting position of textview, display …… -
[Android] mobile guard setup wizard page
Set the wizard page, judge whether it has been set through shared preferences, and jump to different pages custom styl…… -
[Android] mobile guard interface switching animation
Create the file tran in / RES / anim /_ out.xml Add < translate > node Set X-axis source coordinates Android: fr…… -
Startup mode of [Android] activity
Create two activities and two layout files. There are two buttons in the layout to open the first and the second When …… -
[Android] get the contact information of the system
Content provision is essentially an interface and a back door. It provides data to others. The system contact is a mor…… -
[Android] upload files to the server
Asynchronous HTTP framework post submits data to the server Previously, we used the common method of post submission o…… -
Lifecycle of [Android] activity
Override the following methods in mainactivity: Print the log in these methods. In order to facilitate viewing, add a …… -
[Android] content watcher
Intercept short messages. For example, when sending short messages, read them out. When the system's short messages ch…… -
[Android] displays the intention to activate another activity
You can use the jump method similar to Java Web to realize the interface transformation The display intention is to sp…… -
[Android] Web HTML viewer
The request to visit a web page is actually a get request. There is nothing to say about the layout of the application…… -
[Android] configuration of implicit intention
The manifest file in ndroid is equivalent to the registry on windows. For example, the player can open the associated …… -
[Android] submit data to the server in get mode
The content of this section is basically the same as that of the previous section, that is, splicing parameters on the…… -
[Android] asynchronous HTTP framework and implementation principle
This paper introduces the development of asynchronous HTTP framework Android async http loopj on GitHub Get the asynch…… -
[Android] network picture viewer
Interface layout, linerlayout, linear layout, ImageView control, EditText control, hint property prompt information, b…… -
[Android] Introduction to Android messaging mechanism
In the previous section, first put the part accessing the network into a sub thread for execution. New thread() {}. St…… -
What components of spring cloud have you used and what is their principle?
preface See the title of the article? It is such an abstract and general question, which is really the real interview ……