Recent Posts
-
[Android] weather app layout exercise (4)
Mainly practice getting network data and parsing XML MainActivity.java HttpUtil.java HttpListener.java -
-
[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] exercise style theme custom activity switching animation
Mainly practiced customizing styles and themes, inheriting and modifying the default style of Android system, and prac…… -
-
[Android] implementation of return key operation
Record the operation history clicked by the user, use the stack data structure, frequently operate the top of the stac…… -
[Android] container linkage through comparison
When the intermediate container changes, the title bar should also change Design comparison basis: Abstract methods ar…… -
-
-
[Android] weather app layout exercise (2)
Mainly practice GridView MainActivity.java activity_ main.xml main_ grid_ item.xml -
[Android] two asynchronous methods
Use asynctask to start the sub thread to obtain the server data and update the interface UI Get information asynchrono…… -
[Android] practice using listview (I)
Practice using listview and baseadapter. Show the text first, and then the picture MainActivity.java activity_ main.xm…… -
Simple animation of [Android] interface switching
1. Create a new XML file for displacement animation Open animation in activity Use the animationutils class to load an…… -
[Android] the mobile guard receives the call broadcast and displays the number home
Use the broadcast receiver to receive the call intention and display the number home Create a new broadcastreceiver wh…… -
[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] 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] 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] 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] 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 blacklist function (listview optimization)
The previous article recorded that 100 pieces of data were displayed using listview. When dragging slowly, there will …… -
[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] mobile guard blacklist function (SMS interception)
We have stored and displayed all the mobile phone numbers that need to be intercepted. Next, we use the broadcast rece…… -
[Android] Android project architecture
Preparation steps: 1. Create project (set compatible version, minimum compatible version) 2. Import common jar package…… -
[Android] interface Division
1. Unified interface management 1.1 use an activity to manage all the interfaces of the application 1.1.1 understand t…… -
[Android] Youku ring menu – rotate animation
Get the house, menu icon, ImageView object, and get three torus relativelayout objects Set the click event for the men…… -
[Android] mobile guard custom toast
Continue to add the member method mytoast() in the addressservice, which was used to listen for incoming calls Get the…… -
Life cycle and communication of [Android] fragment
Rewrite the lifecycle method All fragments are attached to an activity. Fragments can be created only when the activit…… -
[Android] news client introduces slidingmenu
Download slidingmenu, https://github.com/jfeinstein10/SlidingMenu Import library Right click our project = = > prop…… -
[Android] news client realizes left navigation and click switching
Set the main layout file and set an ID for the root layout as the content area Set the click event for the listview en…… -
[Android] WebView custom browser
Add < EditText / > and < button / > controls to the layout file, Add a < WebView / > control to the …… -
[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……