Offline installation of Android Development Environment

The SDK downloaded from the official website is actually a Installation tool, which does not have any content. It will take a long time to install it online. We can also download all the things that need to be installed from the download tool on the

How to Write custom UI

What: What is custom UI? To put it bluntly, there are multiple View containers, which encapsulate the logic and control of these views and control the containers externally by passing parameters and callbacks, in order to achieve the high cohesion

Unity3D Tutorial: Compile special code for different versions and release platforms

Original article address: Http://www.unitymanual.com/4226.html While Unity is already quite convenient when making cross-platform games, we often need to append dedicated code to handle performance and functional differences between platforms,

[Unity3D] scenario switching and data transfer (as well as object deletion techniques)

First, we will introduce some basic functions (for specific usage, refer to the document ):--------------------------------------------------------1. Scenario switching: Application. LoadLevel ("Level1 ")2. When reading a scenario, do not remove the

Thunder downloads various versions of androidsdk

After the official sdk manager is installed, it fails to be downloaded every time. A good method that cannot be found is that you can finally download each version. 1. Enter http://dl-ssl.google.com/android/repository/repository-8.xml 2. find such a

Click an image button for tracking in Android

In many cases, we need to customize the image button in android, instead of the system. Today, let's take a look at how to implement this simple requirement. (1) first, prepare necessary resources. Here, I have prepared three images as follows: (

Android obtains screen information

// Obtain the phone width and height in pixels. // Obtain it through WindowManager // It must be obtained in Activity, and be converted into Activity even if Context is used.Public void getScreenDensity_ByWindowManager (){ DisplayMetrics

Secure database access under multiple threads in Android

To record how threads securely access your Android database instance, I wrote this little note. Click here for the project code referenced in the articleSuppose you have compiled your own SQLiteOpenHelper. public class DatabaseHelper extends

ProgressDialog usage in Android

The code in this article is followed by the previous article to get the contact information. When retrieving contact information, I found that it is slow to traverse Cursor to retrieve information for all contacts. For example, there are less than

Android simply encapsulates JQuery-like asynchronous requests

In android development, asynchronous request data is often used. handler or AsyncTask is usually used. It is troublesome to use handler with message. The AsyncTask thread pool only allows 128 threads to work, there will be overflow problems (of

One application starts the Activity of another application

First (I wrote it myself): In my opinion, there are some main activities on the Internet that I don't want to start another application. // These Codes start the main Activity of another application. Of course, you can also start any

Android email self-adaptation

Requirements:If you need to preset parameters of some Email service accounts to the Email Client, suchThe email domain names are mail.ru, list.ru, inbox.ru, bk.ru, and corp.mail.ru. The following parameters are adaptive:Incoming Server:

[Cocos2d-x] specific application of Cocos2d-x 3.0 area cutting game announcement

// On "init" you need to initialize your instancebool HelloWorld: init () {// 1. super init first if (! Layer: init () {return false;} Size visibleSize = Director: getInstance ()-> getVisibleSize (); Point origin = Director: getInstance () ->

[UI] drawer menu DrawerLayout analysis (1)

As a common interactive navigation control, the side menu is usually used when there is no official android control at first. It has never been used to analyze the implementation mechanism of the side menu, this article will analyze android. support.

SparseArray for Android source code analysis

I should have analyzed MessageQueue later, but I used SparseArray again in actual development in the past few days (I used it once before, but that time only I probably browsed the source code and did not conduct any in-depth research). So I took

Android server pushes solution to client

1. C2DM (now GCM) Android Cloud to Device Messaging (C2DM) has been released as part of Android 2.2. C2DM allows third-party developers to develop related applications to push a small amount of data messages (1024 bytes) to users' mobile phones.

Android SurfaceView Study Notes

I have been looking for some examples of SurfaceView image painting recently. I am a beginner. At the beginning, I don't know how to start drawing images on SurfaceView. I finally learned the video tutorial, then, sort out the notes in the learning

Android custom controls use declare-styleable to configure attributes (source code)

I recently imitated toutiao.com and found that many of its attributes are configured through custom controls and related configuration attributes. So I learned about declare-styleable, next I will describe my usage experience and how to use

How does Android press a preset hardware button on any interface to enter an Activity?

    Enables you to enter an Activity by pressing a preset button on any non-lock screen interface. Modify the following methods in the alps/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager. java file: Public long

Android Camera 3D effect

Version: 1.0 Date: 2014.4.14 copyright:©2014 kince reprinted to indicate the source I. ConceptsTo achieve 3D effects in Android, the first thought should be OpenGL ES, because it is almost mentioned in many basic textbooks. However, it is still a

Total Pages: 2774 1 .... 2698 2699 2700 2701 2702 .... 2774 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.