包含标签:Android 的文章
-
Simple summary of Android toast
Old rules, let's start with the renderings It mainly implements several common methods: The built-in toast of the syst…… -
[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…… -
[Android] network picture viewer
Interface layout, linerlayout, linear layout, ImageView control, EditText control, hint property prompt information, b…… -
[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] 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] 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] 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] 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] content watcher
Intercept short messages. For example, when sending short messages, read them out. When the system's short messages ch…… -
Lifecycle of [Android] activity
Override the following methods in mainactivity: Print the log in these methods. In order to facilitate viewing, add a …… -
[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…… -
[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…… -
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] mobile guard interface switching animation
Create the file tran in / RES / anim /_ out.xml Add < translate > node Set X-axis source coordinates Android: fr…… -
[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 custom scroll control
Textview control sets single line display Android: singleline = "true" Set the starting position of textview, display …… -
[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 turns off automatic updates
There are four ways to save data: network, broadcast provider, shared preferences and database Get the SharedPreferenc…… -
[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 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 guards read contacts
Get the contentresolver content parser object through the getcontentresolver () method Call the query () method of the…… -
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] properties of mobile guard custom control
The custom combination control completed in the previous section is not flexible enough. In the display information of…… -
[Android] mobile guard gesture sliding switch screen
Define gesture recognizer Get the gesturedetector object of gesture recognizer through new gesturedetector (context, l…… -
[Android] mobile guard custom combination control
set focus New settingactivity Set click events for GridView entries Call setonitemclicklistener() method of GridView o…… -
[Android] mobile guards save security numbers
Call setonitemclicklistener() method of listview object to set click event of item. Parameter: onitemclicklistener obj…… -
[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] WebView interacts with JS
Get WebView object Call the getsettings () method of the WebView object to get the websettings object Call setjavascri…… -
[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] 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] 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 number attribution query completed
The regular expression completes number verification, ^Starting with a, [] character set (matches any character in bra……
