包含标签:Android 的文章
-
Use of Android WebView (super detailed usage)
Android WebView is a special view on the Android platform. It can be used to display web pages. This WebView class can…… -
[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] 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] Youku ring menu – relative layout exercise
Youku ring menu The layout file uses the < relativelayout / > control as the first level menu. Relative to the l…… -
-
[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] 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 blacklist function (listview optimization)
The previous article recorded that 100 pieces of data were displayed using listview. When dragging slowly, there will …… -
[Android] exercise style theme custom activity switching animation
Mainly practiced customizing styles and themes, inheriting and modifying the default style of Android system, and prac…… -
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 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 blacklist function (listview combined with SQLite)
Modify the interface, add an add button on the top bar, click to open a custom dialog box, enter the phone number and …… -
-
[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 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] network link types and channels
1. Implementation mode 1.1 using httpurlconnection 1.2 using httpclient 1.3 use sockets, such as pea pods and chat too…… -
[Android] Android custom styles and themes
Simply practice customizing styles and themes. Styles are added to view and themes are added to application or activit…… -
[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] 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] title section management
1.1 general title 1.1.1 Title Content Management 1.1.2 help and return buttons 1.2 unlisted title 1.3 title in login 1…… -
-
[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 number attribution query completed
The regular expression completes number verification, ^Starting with a, [] character set (matches any character in bra…… -
[Android] toggle button – Custom Control – drag effect
Override the ontouchevent () method of view and pass in the motionevent object Call the getaction () method of the mot…… -
[Android] weather app layout exercise (4)
Mainly practice getting network data and parsing XML MainActivity.java HttpUtil.java HttpListener.java -
[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] news client main interface
When we use activity plus fragment, we need to create a fragment for each interface. In each fragment, we need to over…… -
[Android] carousel – slide picture Title Focus
V4 package provided by Google, viewpager In the layout file, first add the < Android. Support. V4. View. Viewpager …… -
[Android] interactive demo with PHP session
Jump from mainactivity to mailindexactivity. The first request interface sets the session, and the second activity req…… -
[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] mobile guard turns off automatic updates
There are four ways to save data: network, broadcast provider, shared preferences and database Get the SharedPreferenc…… -
[Android] WebView custom browser
Add < EditText / > and < button / > controls to the layout file, Add a < WebView / > control to the ……