Android Studio tutorials
The official version of Android Studio 1.0 has finally been released! Google said Android Studio 1.0 allows developers to "get faster and more productive" and thinks it can replace Eclipse and provide migration steps for
Android and android Official WebsiteAdd
The add shortcut is to send a broadcast of related actions to the desktop application (launcher:
public static final String ACTION_ADD_SHORTCUT = "com.android.launcher.action.INSTALL_SHORTCUT";
Code:
Private
Compile the script x264 on ios and android platforms, and androidx264This year, I did some audio/video coding and decoding work. I had done a lot of work on graphics and images before, and I realized it was interesting and amazing. For example,
Android mainstream interface development framework summary, android mainstream
Today, I read the open-source framework I introduced again. I feel that many of the functions can be selected based on my project needs.
Mainstream mobile application
Android: LruCache cache summary, androidlrucachePrinciple:
LruCache is a key-value pair. during initialization, you must set the cache size K. Data exceeding this size will be cleared. Note: The cleared data is the data that is first added. The data
Color Conversion IOS hexadecimal color to UIColor, iosuicolor
Easy to use
+ (UIColor *) colorWithHexString: (NSString *) color
{
NSString * cString = [[colorstringByTrimmingCharactersInSet: [NSCharacterSetwhitespaceAndNewlineCharacterSet]
XML parsing and IOSXML parsing in IOSI. There are two ways to parse XML:DOM: loads the entire XML file into the memory at a time, which is suitable for parsing small files.SAX: Starting from the root element, one element and one element are parsed
Android encrypts/decrypts audio files (AES)
Encryption process: Read the test audio file prepared on the SD card in byte [] format, encrypt byte [] using the AES encryption algorithm, and then save and overwrite the original audio file, the
Android obtains the currently hidden and unhidden wifi encryption methods (Security)1. General WIFI encryption there are several ways: (1). WPA-PSK/WPA2-PSK (currently the most secure household encryption)(2). WPA/WPA2 (relatively insecure)(3). WEP (
Android-ScrollView: Arrow (Arrow)ScrollView add prompt Arrow (Arrow)
InSlide function of ScrollView, You need to prompt the user, you can slide, you can add two arrows.
Customize ScrollView and create listenerIScrollStateListenerInterface:
Android HorizontalScrollView for rolling status listening
On the Internet, most of them directly call the onScrollChanged (int x, int y, int oldx, int oldy) method. In fact, they only change the protected of this method to public, in essence, there
Export the app's db file from the root android phone
Premise: the mobile phone is already root;
1. Connect your mobile phone to your computer, open Cmd, and run the command
Adb shell; // because of the linux Kernel used by android, many linux
SlidingMenu slide menu of Android UIThe SlidingMenu slide menu is a relatively new setting interface or configuration interface effect. It is displayed on the left or right sliding of the main interface to facilitate various operations. Many
Android shape usage SummaryShape is used today. There are many attributes in it. Here I will record the usage of each attribute and its meaning. the above section is the format used by shape, let's take a look at how to use it: it is
Android debugging shortcuts and related skills
1. Set breakpoints
Method 1: double-click the blank column on the left of a line.
Method 2: ctrl + shift + B
The first operation is "add", and the second operation is "cancel.
Ii. Shortcut Keys for
The UA setting in content causes the webpage onPageStarted to be called again.
Some people say that in a technical team, leaders and employees will never look at the problem from a single perspective.
Well, I will not talk about the rule of xx for
Scrolling tricks and androidscrollview
I recently resigned from my job at home and had nothing to do with Android studio. I had various headaches when I first got started. Now I have adapted to it for a while and found that it is indeed more
OC learning --- NSObject object in the Foundation framework, nsobject
In the previous article, we talked about the Agent Mode in OC: callback.
The Foundation framework in OC is provided by the system, which is equivalent to a set of system APIs. It
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