In Android Application Development, when editing, modifying, or adding or deleting resource files under Res/, the following error message is displayed:
"Unparsed aapt error (s )! Check the console for output ".
You can check the prompts in the
Problems: During Android development, if the screen size is not large enough, the simulator will only display part of it, causing inconvenience to the test.
Solution:To solve this problem, we can reduce the display size of the simulator by adding
1. store data in array. xml
The content of array. XML is as follows:
none all sets total area total amount
2. InProgramTo call the spzone is my spinner control, and the layout of the drop-down list is the default layout of a
What is the AVD?
Android virtual device. Android virtual machine can run a virtual machine simulating a real Android device on a computer.
What is the diference between the Android: versioncode and Android: versionname attributes in the
For Android, resource references are managed through specific configuration files, which facilitates resource unification, integration, and calling. In Android, not only images and audios are resources, but strings are also managed as resources. The
I made a real-time display of the achartengine curve two days ago and learned some basic achartengine usage. Now I will record the xymultipleseriesrenderer style attribute description and share it with you.
Xymultipleseriesrenderer Renderer = new
In the multi-thread in the drawing in Android, The invalidate and postinvalidate methods are used to refresh the interface. After the two methods are called, The ondraw method is called to redraw the interface.
By default, an android program has
Recently, we are using rchart to draw a graph on Android. Because data needs to be dynamically updated, we need to set the update interval. I have been exploring for a long time and can finally do it today. The referenced assets are all in the
INIT process and system V init started in Linux
I. INIT process and system V init started in Linux
1. first introduce the INIT processThe INIT process starts after start_kernel is executed, that is, after the kernel Initialization is complete. It is
1. Run the "ADB reboot bootloader" or "ADB start-server" command in Ubuntu to get the following error:
Error: device not foundCause 1 may be that no USB rule is added: Create the file/etc/udev/rules. d/51-android.rules: # HTC phonesubsystem = "USB"
Original Source: http://618119.com/archives/2011/01/12/205.html
Author: lizongbo
Copyright Disclaimer: You can reprint the document at will. During reprinting, you must mark the original source and author information of the article in the form of a
After the basic environment is set up, you can develop the SDK. However, you need to manually install the virtual device in the latest SDK version.
1. AVD is called Android virtual device, which is a virtual device running on Android. It is
1: Open the webpage:
Uri uri = URI. parse ("http://www.baidu.com ");Intent intent = new intent (intent. action_view, Uri );Startactivity (intent );
2: Open the map:
Uri uri = URI. parse ("Geo: 136.46, 25.15 ");Intent intent = new intent (intent.
Configure the android environment and run the following command in the command line window:
Mksdcard-l test 10 m c:/Android/test1.img
Create a simulated sdcard image file.
Start the simulator and run the following command:
Emulator-sdcard
I. minimum functional unit division
(1) The UI function uses "layout" as the minimum granularity, that is, the minimum unit for developers to complete is "layout (Interface )"
(2) The code function uses "class" as the minimum granularity, that is,
Use jcfxbl API to operate databases in Android
Document Sorting: Wang Qiang
Http://blog.csdn.net/ex_net/article/details/7833641
Author: Zhang jianbo mailbox: 281451020@qq.com Phone: 13577062679 welcome to exchange calls!
I. Data interfaces
Friends who have performed operations on Android phones should have a deep impression on the Interaction Effects of the drag icon on the standby interface. For example, when the icon is dragged, the icon will be suspended and the position will be
For WiFi operations in Android, Android provides some useful packages under the android.net. WiFi package. A Brief Introduction:
It can be roughly divided into four main classes: scanresult, wificonfiguration, wifiinfo, and wifimanager.
(1)
When starting another activity, you can use either startactivity or startactivityforresult directly. I'm sure everyone knows how to use the previous one. This article mainly uses a demo to learn the second one.
Startactivityforresult is mainly used
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