1. Preparations
The email development function on the Android platform is not much different from that on Java mail. However, using the jar package on the Java platform may cause errors. You can download the latest jar package from Android-javamail.
Software required: Android platform-tools http://dl-ssl.google.com/android/repository/platform-tools_r03-linux.zip
1. DownloadDecompress the above software
# UnzipPlatform-tools_r03-linux.zip
2. Add the path to the PATH variable.
# Vim ~ /.
1. Obtain the source code of curl to external/curl in the main directory of Android code.2. Run the attached command line (long)3. Return to the main directory of the android code, make libcurl or make curl.
If you have any questions, follow the
Use box2d on Android
Box2d is an excellent open-source 2D physical engine that can simulate very real physical effects. Today we will introduce how to use box2d in andoird:
Note: The majority of reference: http://rayleung.iteye.com/blog/439056
1.
After a painful struggle, the source code of Android 2.3.1 was finally compiled !!! Here we will introduce the process:
1.
Install the following libraries before compiling:
Sudo apt-Get install bison
Sudo apt-Get install zlib1g-dev
Sudo apt-Get
Use of Android Simulators
I. 90-degree rotation Simulator
Shortcut Key:CTRL + F11 or Ctrl + F12
2. Install APK in the simulator
Run the simulator first. Otherwise, the following error occurs:Error:Device not foundAfter the simulator is started,
Recently, I made an Android app for the boss. When I wanted to call the app, I asked a prompt (mainly to see if there was any problem with this number ).
I found a lot on the Internet, but only the floating window for incoming calls.
Forget it.
Watch the video from instructor Mars and set up the server, but there is no way to download data from the local server.
A problem occurs:
Android java.net. connectexception: Connection 127.0.0.1: 8080 refused
The problem is that the android
This problem occurs when I write a player these two days.This problem is very difficult. I didn't listen to debugging at that time. It took about one afternoon to come up with this speculation. I will ask someone to confirm it tomorrow.I am writing
1. What is service?
A service is an application component that can perform long-term operations in the background without providing a user interface. An application component can start a service. Even if the user switches to another application, the
Linearlayout refers to the linear arrangement of view objects in the parent view in the horizontal or vertical direction.
Relativelayout refers to the arrangement of view objects dependent on the relative positions between objects.
The following
The list view can organize controls in the form of a list.
Listactivity extends the activity to facilitate the use of listview.
The listactivity class actually integrates the functions of activity and listview. It contains a listview. This class can
The Android mobile development platform cannot be described as a "fire" character. This year, the market share of the Android platform increased by 886% compared with the previous year! If I only look at the growth rate, the iPhone grows by 61%
Recently, I encountered the problem of clicking the thumbnail to view the big image. It was time-consuming and laborious to develop my own project. I found a lot on the Internet and found a good result. I hope it will help you. Paste the code.
Touch.
In some cases, you need to know the statusbar height during UI painting:
Some methods on the Internet are as follows:
Rect frame = new Rect();getWindow().getDecorView().getWindowVisibleDisplayFrame(frame);int statusBarHeight = frame.top;Log.v("@@@@@
In project development, we may have encountered nested listview in listview, but Google suggests that we do not do this, so they have written an expandablelistview class, which inherits listview, you can implement the nested listview effect in the
Question:In Android applications, must all activities run in the same process?
Analysis:Different activities can run in different processes.
1. In the Android system, every application is composed of activities and services.
2. the service runs
Question 1:What layer is HTTP in the TCP/IP model? Why is HTTP a reliable data transmission protocol?
Analysis:First, let's take a look at the layer-5 model of the TCP/IP model.
The HTTP protocol mentioned in the question is in the
The style on Android is divided into two aspects:1. theme is for the form level and changes the form style;2. The style is for the form Element Level and changes the style of the specified control or layout.
Themes. XML and style. XML (in the system
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