After more than n days, when I use the original blog article again:Android compression and decompression zip file
When I decompressed the zip package, many problems were not found. The first is the problem of Chinese characters. The java zip package
Only 4.0.3 or later devices are supported.
(In front of this document, this tutorial requires two apps to be installed, and the uninstallation will not be able to achieve the effect, so the app drawer cleaner is cautious (Can you hide them ).
Of
Adb kill-server
Adb start-server
Restart eclipse
There are other similar methods that I will not talk about here,
My most fundamental problem is that port 5037 is occupied. When you run netstat-a in the command line, there will be a
If you need to communicate between different processes, you can use Messenger in the Service to implement communication in the process.
If this method is used, the Service needs to define a Handler object (responsible for responding to the Message
AIDL is called the Android Interface Definition Language. It enables your program to implement inter-process communication (IPC), and allows multi-thread access based on the implementation of IPC.
First, create your own. aidl file (see
Source: http://www.sqlite.org/lang_keywords.html
Programmers are cautioned not to use the two exceptions described in the previous bullets. we emphasize that they exist only so that old and ill-formed SQL statements will run correctly. future
Error message:
Caused by: java. lang. IllegalStateException: The specified child already has a parent. You must call removeView () on the child's parent first.
Information supplement:
Use FragmentActvitiy + Fragment
Error cause:@
1. Install curl git
Ii. Install repo
1. In the main directory (~) Create the directory bin/and include it in the PATH environment variable
2. Download the repo and grant it the executable permission.
$ Curl: // dl-ssl.google.com/dl/googlesource/
Common shortcuts for Eclipse in Android development are summarized as follows :(Android development tool: Eclipse 4.2 SR2)
Edit related shortcuts
Eclipse has powerful editing functions, master the Eclipse shortcut key function, and greatly improve
Content:① Xunlei Member Business Department is hiring android/ios Technical Director② Search for senior Android R & D engineers③ Apply for mobile R & D manager on the street network④ Happy unlimited game is dedicated to mobile game Client/Server
Use WeiboAuthListener to obtain the code
Use the following code to obtain the token .. The sdks for semi-finished products are really urgent.
[Java]View plaincopy
[Java]View plaincopy
String code = values. getString ("code ");
If (code! =
Android 4.1 and later versions use a scroll time control similar to ios, but below 4.1, TimePicker is used to change the time by clicking the upper and lower buttons. Although it also provides edit box editing, but it may be out of the editing range.
A simple example is used to learn Sqlite. In the student course selection system, the first requirement is that the student can select a course. After the course selection is completed, the selected course can be queried.
First, design three tables,
The TextView control has many attributes to control. To obtain the content, you only need the getText () method. You can also set various listeners for TextView. However, if you want to click to obtain part of the content inside TextView, it is more
First, let's briefly introduce three main methods of Android message push. If you have read similar articles, ignore these three methods.1. Use the SMS service, that is, the server sends a text message, and then the mobile client listens to the
I learned a little about Android last year. This year, I started school and continued to learn about Android development. The first lesson was about layout and use of some listening events. I remember that I did not take it seriously last year,
INSTRUCTOR: http://blog.csdn.net/johnnycode/article/details/7678083,here:
In Windows, a process occupies port 5037.
Therefore, first check the port usage:
On the command line console, enter netstat-ano.
Find the process that occupies port 5037
A new problem occurs after the latest android sdk is updated, and the new project cannot be created. The error message is that the Android support library version is incorrect, but the version is not specified, after you start android sdk manager
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.