[Switch] android open-source projects and frameworks, and android open-source projects
Special effects:
Http://www.androidviews.net/
Http://www.theultimateandroidlibrary.com/
Common effects:
1. https://github.com/novoda/ImageLoader asynchronously
[Android Development] MediaPlayer error analysis, androidmediaplayer
Recently, I am working on a media player and use MediaPlayer that comes with Android. I often encounter MediaPlayer errors. I have searched the online media and I feel that it
Android and androidsdkBlack screen
By default, a black screen period occurs when the program starts. The reason is that the first activity loads some data, such as initializing the list data.Removal steps
1./res/values/styles. xml in Theme, add an
Create an ImageView dynamically and create an imageview
1. layout File
2. Code
ViewGroup group = (ViewGroup) findViewById(R.id.viewGroup);ImageView[] imageViews = new ImageView[images.length];for (int i = 0; i In this way, you can dynamically
Uses ContentObserver to dynamically cancel or add screen timeout tasks.
As mentioned above, ContentObserver can monitor the changes of a data item in the database, and of course can also monitor the changes of multiple data items at the same time. I
Android phone Status Monitoring
Call status monitoring:
/***** Inherits the PhoneStateListener class. We can repeat various internal listening methods and change the status through the mobile phone, the system automatically triggers these
Simple Method for customizing the title of Android peferenceActivitySimple Method for customizing the title of Android peferenceActivity
PeferenceActivity fully uses the defined layout.Therefore, it cannot be customized like other good windows. Now
Non-scroll Effect of ListView implemented by Android
The expected result is that the ListView cannot be rolled, but the biggest problem is that there must be a click event with the ListView Item. If you do not need to click the event, it is easy to
SmartJNI-simpler and more efficient JNI interface EncapsulationWhen we introduce android NDK development, the most common situation is to call back java APIs through JNI. JNI can be understood as the local version of the java reflection framework.
Android system development (6)-underlying Linux Input and Output1. The operating system architecture computer is composed of a pile of hardware. The operating system is used to effectively control these hardware resources. In addition to effectively
Binder Proxy technical solutionBinder Proxy technical solution
Author's low-end coders
Time:
0x0
Several friends tried to hook the ioctl of system_process to intercept the IPC communication of the system. The disadvantage of this solution is that
Android -- launch Intent againThe Intent object is the Component name for processing the Intent object, which consists of Component name, Action, Data, Category, Extras, and Flags Component name. The component name object is encapsulated by the
Step 7, step 4, getting started with Piglet Android
Step 7, step 4, getting started with Piglet Android
Data storage and access for Android-ContentProvider)
--- Reprinted with the source: coder-pig
This section introduces:
In the previous study, we
Learn android from scratch (chronometer timer component .)The timer is used to calculate the time consumed by each athlete. In the Android system, the Chronometer component can be used for this timer function. The Inheritance structure of this class
Learning android together (6)
The menu includes the OptionMenu, the context menu, and the SubMenu ).
To create a SubMenu:
1. Override the onCreateOptionMenu (Menu menu) method of the Activity. In this method, add a Menu through the Menu object
Design the Android log module using the StackTraceElement of the thread running Stack
What if you want to automatically print the logs of MainActivity. onCreate (line: 37) in your Android program? method name (number of rows?1. the Java thread
Pull and refresh Android listView (load more)
Previously, it was also implemented. The ListView was pulled up and refreshed, but the open source code was used. Because I was too lazy and I didn't study the source code, I am not so fluent in writing
Summary of Android EditText input word limit (including solutions for Chinese Input memory overflow)There are many solutions to limit the number of EditText inputs, but generally there are two main considerations:(1) Handling Methods of characters
When android adds a contact named & quot;, & quot; (comma) to a new text message, the app crashes.Modify the file/Alps/frameworks/ex/chips/src/com/android/ex/chips/RecipientAlternatesAdapter. javaPrivate static Cursor queryAddressData (Context
Android programming experience-using ActionBar + Fragment + ViewPager to achieve dynamic Menu Switching1. First
2. the effect of this example is mainly applicable to the use of different Menu styles for Fragment switching when multiple tabs
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service