Two days ago, Google released the official version of Android Studio 1.0, and more people began migrating to Android studio for development. However, many of the online open Source Library, control, etc. or the previous development based on eclipse, many people do not know how to import into their own based on the Android
-down refresh and pull-up loading functions. (Although open-source things are easy to use, it is recommended that you do not need open-source components to implement the desired results by yourself. After all, you need to understand the principles, I try to be concise and enter the topic.
Let's take a look at the final implementation:
Preparations
1. Since the PullToRefresh component is used to implement
Android ListView that supports drag-and-drop sorting and left and right swipe deletions. Rewrite the Touchinterceptor (TI) class to provide a more graceful drag animation effect.DSLV Main Features:
Perfect drag and drop support;
Provides a smoother scrolling list scrolling while dragging;
Supports the diversity of each listitem height
Public StartDrag () and Stopdrag () methods;
There is a public interface that can customize
network load in the case of the solution Requestqueue (Request queue), improve their own technical essentials video.
Best practices for Android Bluetooth operation.
An official guide to Android UI design
Official video on Android game development
Eight, high-value links
Android's official Blog offers some instant inquiries about
;
Android slide menu Background Brightness and transparency settings
Without such an api, you can make the transparency by yourself. Just like the animation effect, you can define an xml file. To adjust the brightness, modify settings. For example, when you slide, you need to increase the brightness to 100, Settings. system. putInt (getContentResolver (), Settings. system. SCREEN_BRIGHTNESS, 100); After sli
I believe we usually do Android applications, how much will be contacted to load pictures asynchronously, or load a large number of pictures of the problem, and load pictures we often encounter many problems, such as the image of the disorder, oom and other issues, for beginners, these problems will be more difficult to solve, So there are a lot of open source image loading framework came into being, more f
StartDrag () and Stopdrag () methods;
There is a public interface that can customize the dragged view.
Dragsortlistview is suitable for lists with any priority: Favorites, playlists and lists, etc., is currently the Android open source implementation of drag sorting operation is the most perfect solution.C-geo-opensource .C:geo is a simple and powerful unofficial geo-treasure client on
Public StartDrag () and Stopdrag () methods;
There is a public interface that can customize the dragged view.
Dragsortlistview is suitable for lists with any priority: Favorites, playlists and lists, etc., is currently the Android open source implementation of drag sorting operation is the most perfect solution.C-geo-opensource.C:geo is a simple and powerful unofficial geo-treasure client on
In the process of Android development and debugging, the use of log is very frequent, a good log tool can save you a lot of time, so klog to write an open source project, hoping to help you improve the efficiency of development, this open source library is inspired by logger
Features of Klog
Run the Demo
Use the detailed
KLogd
Android-based on the open platform v3SDK, the development and payment are completed ., Androidv3sdk
I have heard that this is a pitfall before I come into contact with payment. I have prepared for it... I thought that I could have jumped into it. I didn't want to fill it out. After the call was successful, I felt that all my colleagues in the company were beautiful, the smog in Beijing seems to have seen th
File-downloader (Https://github.com/wlfcolin/file-downloader) is my open source of an HTTP file download framework, is based on your own experience summarized a set of simple very lightweight android generic HTTP file download man
, it sometimes produces a. bak file, such as a backup file for a asdfjk.dwg file Asdfjk.bak, to restore the backup file to an official file. You only need to rename the backup file to replace Bak with DWG to
The AMR (Adaptive multi-rate and Adaptive multi-rate wideband) interface card manufactures audio and modem interface circuits, analog circuits, and decoders. From the top here I can't see the connection between the interface card file and the AMR file in our phone.
Some netizens added:
The Android phone's micro-letter voice
Recent projects need to use the chart, the technology is limited, it is difficult to achieve their own, so after comparison, finally decided to use hellocharts this open source Library, Portal: Https://github.com/lecho/hellocharts-android, First, because the introduction of convenience, the second is the code is relatively clear, easy to add to the project. Another important reason, this library can support
development environment for PC hosts is Windows XP.
The key points of this open source code solution are as follows:1: arm assembly code compilation support. It is mainly used to add local_arm_mode: = arm statements to several. mk files,Add the -- arch = armv5te and -- enable-ASM switches to the config_r4.sh file.2: After some unused options are disabled in the FFMPEG config_r4.sh configuration
The android-async-http open-source framework allows us to easily obtain network data or send data to servers. The most important thing is that it is an asynchronous framework that uses a thread pool at the underlying layer to process concurrent requests, highly efficient and easy to use.
In the past, we used to build projects on Android, such as downloading many
Gifview jar packages:Gifaction.java:Observer class to monitor whether GIF was loaded successfullyPackage Com.ant.liao; Public Interface gifaction { /* * *gif decode Viewer * @hide * @param parsestatus decoding is successful, the success will be true * @param frameindex The current decoding of the first few frames, when all decoded successfully, here is- 1 */ Public void Parseok (boolean parsestatus,int frameindex); } There are four classes of Gif
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.