Asynchronous Network:
1. add permissions:
2. Supported typesJSONObject
JSONArray
String (HTML, XML)
XmlDom (XML parsing)
XmlPullParser (Large XML files)
Byte array
User defined custom type (Transformer)
Bitmap
3. Take Json data as an example.
The error "source not found" When debugging the Android program should be crazy. Goolge did not include the source code when releasing the SDK, which is a bit confusing, for many people, Git is undoubtedly a raw thing, and all the Java code in the
This article from http://blog.csdn.net/yihongyuelan reprint please be sure to indicate the sourceThe code in this article takes the MTK platform Android 4.4 as the analysis object, which is somewhat different from Google's native AOSP. Please be
Known as Native Development Kit, NDK is a set of local Development tools. In Android development, sometimes in order to better reuse the previous C/C ++ code, you need to compile the code into the corresponding so, and then use JNI for upper-layer
This article describes how to test and debug NDK-based applications for the x86 platform. This document describes how to create a sample application from the beginning to the end, and how to test and debug the application.1. Development
[Version]
Ffmpeg 1.2.6, android ndk r8b, cygwin
[Compile in windows]
This is simpler than imagined. compile it with MinGW and use the generated lib library in VS. Refer to the blogs of the following netizens:
Compile ffmpeg in windows
[Configuration
The first step involved in technology Pager controls, Menu use, and text message call: we have created the main interface for creating the previous Menu article, but it is not enough to show only such information to attract the interviewer, so we
In common embedded peripherals, serial communication is a commonly used communication mechanism. This article introduces how to access serial devices in Android systems.
In Android, how to access the underlying Linux Device Driver must use HAL, that
Zygote itself is a Native application. The name specified in Android. mk is app_process. The source code location is as follows:
Framework/base/cmds/app_process/App_main.cpp
An important function of this Code is completed by the start of AppRuntime,
FlappyBird is an extremely simple but very popular game. After learning about this crazy game, I had an impulse to reproduce it. It took me more than four hours to generate a playable version, share with you (the download link at the end of the
Android WebKit Message Processing
Preface
In Android APIs, WebView is used to provide developers with WebKit interfaces and features. WebView is actually an encapsulation and extension of WebKit. In android4.4, WebKit has been replaced with
In the past, the 77 platform entered the following two command screens on the terminal to light up.
Echo on>/sys/power/state
Echo 222>/sys/class/leds/LCD-backlight/brightness the two command screens entered on the 89 platform cannot be lit.
An important factor in app background design is the security of communication.
Therefore, we need to consider the following points:
1. In the app and the background, no plaintext of any user password can be saved
2. How to ensure the security of
Since there is a cannon artifact, brother to get a confession artifact.
Confession,
Although I was very happy, I still clicked no,
Sister paper found that No jumped away, and even a few times, or everywhere. Yes,
Go, next apk, send your favorite
If you want to copy a custom Class Object using the copy or mutableCopy method, the class must implement or protocol. Otherwise, the program will crash:
Console output:
2014-02-01 01:11:09.087 Chocolate[951:303] -[Desserts copyWithZone:]:
Android Bluetooth Serial Communication
The Android bluetooth module communicates with the single-chip bluetooth module. The simple idea is that the mobile phone sends control commands to the single-chip microcomputer through Bluetooth for simple
Today, we will make a simple summary of the image rounded corner processing. Many apps have a rounded corner effect. Different solutions can be used based on different scenarios. Currently, there are three solutions that are commonly used.
Solution 1
Preface
Custom view can make many unusual effects, and the Circular menu interaction is good. Currently, there are two versions on the Internet. Although they are large, they are worth studying.
Radial-menu-widget:
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