Android multi-resolution adaptive SummaryThis week's work adjusted the multi-resolution adaptation of the Android project. Therefore, we are constantly trying to learn this knowledge. At the beginning of the Android project, you must develop
Android WIFI Information Retrieval
You can obtain WIFI information in androi through the Wi-Fi Service provided by the system.
[Java]WifiManager wifi_service = (WifiManager) getSystemService (WIFI_SERVICE );WifiInfo wifiInfo =
Android removes the webpage title and sets it as a custom title when developing WebView.
In IOS, just remove the title with two lines of code similar to the following
[Js appendString: @ var title = document. getElementsByClassName ('navbar-top') [0]
Android development: Packaging Application signaturesIn Android development, how does one package an application signature? What is signature packaging?
In Android, all applications installed on the system must have a digital certificate used to
MJRefresh Principle Analysis, mjrefresh Principle
MJRefresh is a popular pull-down refresh control. To fix a BUG some time ago, I read its source code. This article summarizes the implementation principles.Basic Principles of pull-down refresh
Most
Enterprise ID development: actively send messages, and enterprises send messages
The primary enterprise ID actively sends messages, that is, the messages actively pushed by the enterprise ID, which is suitable for enterprise notifications and
JSON deserialization open-source library in iOS and iosjson serialization open-source
JSON strings in iOS are deserialized into objects, which are common in formal projects. You can select one of the following frequently used open-source libraries
Android installation and uninstall APK (Intent)
The Intent mechanism is used to call up the installation and uninstall application of the system to install and uninstall the APK.
Install APK
String apkPath = file: //
Android development-specifies the image size when taking photos of the camera class, Android photo development
There are two main ways to implement the camera function in android development:
Directly call the System camera API to take a photo.
Android practice simple tutorial-23rd gun (Baas-based user registration and login module implementation !), Androidbaas
Next, let's take a look at the code in the last two articles based on the APIS provided by Bmob.
1. registration page xml:
Summary of Android engineering Architecture
1. unified management of resource files
Unified management:
String. xml defines common strings, such as the project name, project package name, network link prompt, and text of common buttons. If the
After the project code that uses the afinal annotation is obfuscated, some view click events of some controls are invalid. afinalview
Recently, a project was launched, requiring code obfuscation. After obfuscation, click events of some controls
Android custom pop-up window Effect
There are many pop-up window effects for Android. In simple terms, you can call an AlertDialog pop-up window display. However, you need to customize the pop-up window effect using the following methods, personally,
Use CSStickyHeaderFlowLayout to implement CollectionView and collectionviewlayout with fixed Headers
Recently, a popular interface effect is the Fixed header of the waterfall stream, also known as sticky header or parallax. For UITableView, table
Distance for Android Coordinate Calculation
Given the latitude and longitude of two points, calculate the distance between two points. Here, note that the latitude and longitude must be filled in order.
1. obtained using tools in android, in meters
Modification to HashMap after Android 5.0, androidhashmap
Previously, it was found that the data in HashMap on the Android 5.0 host is different from that in Android 5.0, resulting in an interface in the project being faulty (the interface is cached,
Call startActivityForResult to start the activity, and return the problem that the current page does not respond (with the activity carrying the parameter process), startactivityresult
Recently I encountered such a problem in the project. The
Android builds an XML parsing framework, androidxml
In our work, we often get data from the server and parse it. The server returns two types of data: json and xml. Json can be parsed using excellent open-source frameworks such as gson or fastjson,
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