What is HandlerAs I said before, Android does not allow threads (workerthread) outside the main thread (Mainthread) to modify the UI components, but does not put all the update UI operations in the main thread (which can cause ANR). Then only a single child thread (Workerthread) can be started to process, after processing is completed, the results are notified to the UI main thread, the child thread and the
Http://www.cnblogs.com/graphicsme/archive/2012/11/06/2756914.html
After one day, I read the configurations written by many people, but none of them can solve all the problems. Here we will record the installation and configuration process, problems encountered, and solutions.
1. install Java JDK and eclipseIDE
Install the Basic Java programming environment. For details, refer to here.
2. Install the android
This article describes how Android uses a domestic mirror to update the SDK online. Share to everyone for your reference, specific as follows:
What is the Android SDK:
SDK: (software development Kit) software Development Kit. A collection of development tools that are used by software development engineers to build applications for specific software packages, s
Pre-Article: Analysis of Working Process of Android 4.4 Kitkat Phone (1) _ overview and learning plan
Android 4.4 Kitkat Phone workflow analysis (ii) _ UI Structure Analysis
Android 4.4 Kitkat Phone workflow analysis (iii) _ MO (Power removal) Process Analysis
Analysis of Android
: Download locally4.2 Analog Server Get differential file Patch.patchNote the following development environments are eclipse.1. Create a new Android project, then the new source folder is named Jni and do the NDK configuration for this project, which is not explained here,2. Then copy the Bsdiff.c,bsdiff.h,bzip2 folder from the Bsdiff download to the JNI directory,3. New class, the class name is of course a
, start, display as follows:Then, in Android Studio, select HTTP Proxy---HTTP, Settings, Files, and then enter in Host name: 127.0.0.1, in Port Nu Input in Mber: 8087. Select Ok, the agent is set to complete. Then check Update again, and still fail.Google to the following workaround: HTTPS://CODE.GOOGLE.COM/P/ANDROID/ISSUES/DETAIL?ID=56068#C3.1-if You can access
Android platform Project Creation
1. Android SDK + ndk Installation
1) install Java JDK. (If you have already installed JDK, skip this step)
Go to: http://www.oracle.com/technetwork/java/javase/downloads/index.html or click Download. For example
Select JDK download (JRE is not required for
path under HelloWorld. Then select the project and select Run as > Android application.
If you have a compile error message that does not recognize COCOS2DX, you can choose Properties > Java Build path > Link Source and select E:\cocos2d-x\cocos2d-2.0-x-2.0.4\cocos2dx\ PLATFORM\ANDROID\JAVA\SRC path, name does not conflict with SRC.
If the operation succeeds, the HelloWorld interface pops up. I have be
Android Application check update summary
Each application should have an interface between the main interface to display the company or team information, introduce the software, and check for updates. Remind the user to update the latest version in time for more and better user experience. This article will summarize the implementation, and do not look for your o
, these xml files also store the two arrays of the map, but the advantage of doing so is that the data-driven programmer does not need to define N Arrays for N kinds of judgments only need to be based on the ID of the current switching scenario the map information is very convenient, and you can avoid mistakes in the code.
However, no matter how data is processed, the rendering principle is the same.
How to update the camera in the game
: The app retr
A good application software requires good maintenance. From the initial publication to the final product, this process requires constant updates of the version. So how can users get the latest application installation package immediately? Therefore, we need to upgrade the module from the first version.
The implementation principle of the automatic update function is that we negotiate an interface with the background in advance. We access this interfac
When the iPhone and Android are invincible in the market, mobile phones equipped with Windows Phone 7 finally entered the market. I plan to write a WindowsIf you try the phone 7 app, you can simply flip the Windows Phone7. the SDK is well written and released in a timely manner. It would be nice if sdks of other Microsoft products were the same.
Many sections of
Earlier we do not intend to carry out too deep things, the province of scare run just entered the door, feel the threshold high, so, we began to be like a marquee, forward leap *************In the previous article we learned from the Android system, I stressed that our focus is application, including the development of the future we are also developing application, no other.Our team app has an approximate connection, know. apk composition.What the rea
Since the Google I/O Conference, I moved the Android IDE development tool from Eclipse to Android studio, Android Studio has been updated, in order to keep pace with the times, we certainly have to update the tool to the latest version! In fact, the update is very simple, ju
Reprint Please specify source: http://blog.csdn.net/zhaokaiqiang1992Today, an open blog, found a friend sent me a private message, ask the following questions, so close this article, for its doubts.From this friend's question, we need to understand the following questions, in order to give him a good answer:(1) How can I get information about all the songs in my phone?(2) When the song file changes, such as adding and deleting operations, how to
1. Online updateAs Android Studio becomes more sophisticated and popular, it is becoming the top choice for Android developers, both in terms of functionality and performance. But because 墙 of all the well-known reasons, when we update in Android Studio, we will not be abl
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.