Today I succesfully made the bootchart for gingerbread. Here is the summary.
How to makeBootchart:
Please follow thisWebsite:Http://elinux.org/Using_Bootchart_on_Android
Trouble Shooting:
1.
When mmWith init_bootchart = true, it may
The read of battery power in eclair requires Kernel support. kernel puts the obtained battery information into/sys/class/Power_Supply/battery, read by com_android_server_batteryservice.cpp in the frameworks/base/services/JNI folder of eclair.
1. readobject error: Java. Lang. classnotfoundexception. Solution: the package names of the server and client are the same.
2. If the class is modified, the string ID error will be reported when reading the object.
3. the SDK of a higher version
Preface
I always wanted to start learning andorid, but it was always dragging and dropping. I tried to build an environment some time ago and tortured me for one night. First, we set up the environment on eclipse3.2, which was originally developed
1 skia plotting Overview
Skia is a graphic library of Google's underlying graphics, text, images, animations, and other aspects. It is the engine of the Image System in Android. Skia is used as a third-party software in the external Directory:
From my friend Xing.
TheCurrent setting configuration is saved in SQL database. You can findInformation in the following database file:
/Data/COM. Android. providers. Settings/databases/settings. DB
You can use the "sqlite3" command to query
Linux Bluetooth driver code Reading Notes
Contact information of the author: Li xianjing
I took a look at the Bluetooth protocol document yesterday. Today, I simply checked the code in the kernel (bluez). Here I take some notes, but I still
Git is an open source distributed version control software developed by Linux Torvalds to help manage Linux kernel development. It is different from a centralized version control system such as subversion and CVS. In a centralized version control
[Android developer] Android is a mobile device platform. Its software hierarchy includes an operating system (OS), middleware (middleware), and application ).
Based on the software block diagram of Android, the software hierarchy is divided into the
The Android system runs on the Linux kernel. Android and Linux have their own strict security and permission mechanisms,
Many new users like me, especially those who are used to low security restrictions on Windows, are easily confused in this
The general idea is to first create bitmap. createbitmap to create a bitmap, then customize the drawintobitmap function, and finally create a canvas through ondraw to implement the bitmap.
Package com. example;
Import java. Io. inputstream;
Import
The Android system comes with a multi-Page Management Control: viewflipper.
It allows you to easily switch between subpages ,,,
It only needs to add several views using the addview method. Each view corresponds to a page, which can be used to manage
Activity loading mode (Android: launchmode ): standard // Add an instance at each startup {create a new instance to the current task stack} singletop // there will be only one instance at the top of a task stack {If (current task stack. topactivity =
Android supports three bitmap formats: .png(),,,,,,.jpg(you can accept registry.gif (not recommended ).
You can use the bitmap file name as the resource ID to directly reference the bitmap file, or define a resource alias in XML.
Note: during the
Fragment highlights
Fragment appears as part of the activity Interface
Multiple fragment can appear in an activity at the same time, and one fragment can also be used in multiple activities.
During activity running, you can add, remove, or
When we use Android client products, we need to intercept system exception pop-up events to provide a better user experience, and send these exceptions to users in an "elegant" manner, of course, we also need to submit these exceptions to the server
When a service is started, it runs in the main thread by default. if the service is to run a very time-consuming or possibly blocked operation, the application will be suspended, an ANR error may even occur. To avoid this problem, we should restart
Sharedpreferences is a key-value pair that stores application configuration information. It can only store basic data types. The configuration file of a program can only be used in this application, or can only be used in the same package, but
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