In December 20, Mozilla released the latest Firefox 9 for global users on Windows, Mac, Linux, and Android platforms. The desktop version of Firefox has a new JavaScript upgrade, which significantly speeds up Webpage Browsing and adds support for
Firefox has always been a favorite of users with its powerful extension functions. After Mozilla released its new Firefox for Android mobile browser in June, firefox's extension developers have also released a number of extensions that support the
Recently, Google officially updated its developer tool version. The new version of the developer tool will be mainly used for Android 3.2 development and application. This is the first time Google has fully updated the old version of Developer Tools
IsAndroid SDKAdding application case implementation is the content to be introduced in this article, mainly for understanding and learning.Android SDKFor more information, seeAndroid SDKFor more information, see this article.
In the process of
During the past few days, major events in the mobile phone industry have continued. The release of the iPhone 4S is accompanied by complaints from countless Internet users, then, the silent death of Steve Jobs also filled people with grief for this
When developing android applications, you often press the return key (that is, keyCode = KeyEvent. KEYCODE_BACK) to close the program. In most cases, the application is still running in the task. In fact, this is not the result we want.
We can do
The Android mobile phone has a built-in high-performance webkit kernel browser, which is encapsulated into a WebView component in the SDK and can be used to browse network content. So how to use it?
Loading components using the WebView control for
There are several methods to achieve tile effect.
First, use the api provided by the system:
Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.pic);
//bitmap = Bitmap.createBitmap(200, 30, Config.ARGB_8888);
Android has a lot of image special effect processing techniques, such as rounded corners and Reflections. We will share with you an example today. In this example, we will first get the wallpaper (getWallpaper ()), then some special effects of the
1. Definition
Activity is a component that provides a visual interface and can interact with users.2. Overview
Applications are usually composed of multiple loose and mutually bound activities. Generally, when you start an application for the first
In the Android Application Framework, there is a powerful event processing mechanism-Intent ). Intent is similar to event, but it is different from traditional event processing.
Traditional event processing focuses on handler. when an event occurs,
1. http uses gzip compression to set the connection timeout and response timeout
Http requests can be divided into cache and non-cache based on business needs. In a network-less environment, some data is still browsed through the cached httpresponse
I. Use html
Method 1. CDATA recommended)
ABC ]]>
Method 2. Escape HTML tags
bold, underline
Reference in the program:
Html.fromHtml(getResources().getString(R.string.myHeadStr));
2. Use Variables
this year is % 1 $ d
Use Handler to refresh the interface
Instantiate a Handler object and rewrite the handleMessage method to call invalidate () to refresh the interface. The online program sends the interface to update the message through sendMessage.
// Enable
1. Fries
Fries is a stable HTML-CSS-JS framework designed to create a native UI similar to Android in actual projects and prototyping. This framework contains all important components, such as Form, toolbar, list, button, drop-down list, and label.
First look at a set of simple code
public class SampleActivity extends Activity {
private final Handler mHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
// ...
}
}
}
Sometimes, our pages may contain some la S. These la s are hidden by default. After a user triggers some operations, the hidden la s are displayed. For example, an Activity is used to display the list of friends. After you click "import" in the Menu,
When sorting out the previous articles, a friend proposed to write about the performance optimization of ListView. This problem was also asked by others during the interview ..... Today, my pony took this opportunity to sort out a lot of similar
If you have a relatively small set of key-value pairs to be saved, you should use SharePreferences APIs. The SharePreferences object points to a file containing key-value pairs and provides simple read/write methods. Each SharePreferences file is
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