First, Android has added a logcat window for testing convenience. If this window does not appear in your console, you can enable it in WINDOW> show View> logcat.
After enabling, find a green plus sign and add a filter. If you want to use system. if
Configure android in Ubuntu
First of all, I am using jdk1.6, eclipse3.5, ubuntu10.04
1. Install JDK, JRE
Sudo apt-Get install sun-java6-jdk sun-java6-jre
Then set the environment variable
2. Install eclipse
1. sudo apt-Get install
Sometimes, due to various reasons, USB cannot be used to connect to the device for debugging. At this time, you can connect to the device through WiFi.
First, enable the WiFi settings of your phone to connect to the network. Then, you need to set
Download Android source code (download Android source code from the Ubuntu drop-down list)Http://www.cnblogs.com/qianxudetianxia/archive/2011/05/29/2060636.html
I am studying launcher recently, so I am not allowed to check the GIT source
Full introduction to Sina Weibo client for Android development [beginner's Guide]
Http://www.eoeandroid.com/forum.php? MoD = viewthread & tid = 67298.
Http://blog.csdn.net/mgf860704/article/details/6304089
Android development my
Android can be set to adjust the zoom ratio with the window size, but even so, the mobile phoneProgramDesigners still need to know the border of the mobile phone screen to avoid layout deformation caused by scaling.
The resolution information of
Using the old key access will pop up a prompt asking you to: http://code.google.com/apis/maps/documentation/javascript/v2/introduction.html#0btaining_Key to apply again. Google does not apply for API keys in this way, but instead manages all APIs
Recently, we need to sort out Android-related knowledge points. 1. asynchronous processing reduces oncreate execution time 2. service Usage 3. startactivityforresult onactivityresult asynchronous mode 4. obtain the local IP address. bluetooth
This week, I learned gallery again by taking advantage of the rest time, and then I wrote a picture browsing stuff.
First, let's take a look at the interface:
Click the image below to display it.
The Code is as follows:View code
Recently, I made a call-related small app and used two properties that I usually know little about. I also saw the same foreign project. I started to copy it directly, I did not go into details. During the middle stage of the project, I deleted the
Main classes:
Android. app: provides high-level program models and basic runtime Environments
Android. content contains various classes for accessing and publishing device data.
Android. Database: browses and operates databases through content
This article briefly introduces the order and difference of the four values in the margin and padding attributes. The order of the four values in the margin and padding attributes is: Top right bottom left, which is listed clockwise.
Are you
Address: http://www.cnblogs.com/jqyp/archive/2010/10/23/1859182.html
RelativelayoutImportant attributes used:
Class 1: the property value is true or false.Android: layout_centerhrizontal horizontal centerAndroid: layout_centervertical vertical
The default installation location of the Android app and whether the app can be moved or not depend on the developer's androidmanifest. settings in XML: Android: installlocation has three values: internalonly, auto, and preferexternal. The default
Http://www.cnblogs.com/fanchangfa/archive/2012/08/24/2654834.html
When testing in the android simulator, you often need to input data to edittext, for example. There are three keyboard input methods for the android simulator:
1. The virtual
In a recently written Android system, you need to request data from the Web server. A login activity will be sent to the mainactivity after logon. Both the logon and mainactivity need to request the jsonapi of PHP, so we have to keep the session in
Note: I recently joined the android Chinese translation group to provide better translation services. This section has completed the first draft and submitted for review and verification. The following is an incomplete version and is not recommended
Create Fragment
To create a fragment, you must derive a class from the derived class of fragment or fragment. Fragment code is written like activity. It has the same callback method as activity, such as oncreate (), onstart (), onpause () and onstop
Open-source projects almost all use version control systems to maintain code. The famous version control software include CVs, rational clearcase, Microsoft Visual sourcesafe, git, subversion, mercurial, and so on. Of course, some of the above are
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