In the previous article, I showed you how to create a custom original-android.jar that contains both internal APIs and all classes in the hidden APIs.
The next step is to modify the existing Android platform (sdk_dir/platforms/platform-x/Android. Jar ). You can simply replace Android. jar with the original-android.jar
In the previous article, I talked about how to create a custom original-android.jar and create a custom Android platform to use a original-android.jar. This only allows you to use hidden APIs and leaves an obstacle for internal APIs: ADT. ADT defines a rule to prohibit the use of classes from Com. Android. Internal.
Xirihanlin 2011.06.03
Original path: http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-2-hacking-around/
In the previous article, I explained why it is difficult for us to use internal and hidden APIs without reflection. This is because Android. jar does not contain these APIs, so no one can refer
Xirihanlin 2011.06.07
Original path: https://devmaze.wordpress.com/2011/01/19/using-com-android-internal-part-5-summary-and-example/
To be able to use internal and hidden APIs, You need:
1. Create a custom original-android.jar that contains all. class files
2. Create a custom Android platform to use original-an
We usually develop when the file cache, commonly used in the mobile phone internal storage and external storage of mobile phones, mobile phone internal storage mainly includes the app after the installation of some files, external storage is commonly used by the space, used to save some pictures of movies and so on.
When fast-read cache files are generally stored in the
This article is mainly on the handler and message loop implementation of the principle of source analysis, if unfamiliar handler can see the blog "Detailed Android handler use method", It explains why Android introduced the handler mechanism and how to use handler.
In general, Handler is a mechanism introduced in Android that allows developers to participate in
How do you get rid of images loaded in Android apps and some data caches? Recently in the project encountered this problem, search the Internet to find a lot of source code, the synthesis of these sources, the following to tell us how to effectively clear the application memory cache information?
The purge application internal cache consists of the following major modules:
One, clear apply all local Datab
I came across a custom view in XML that was defined in the form of an inner class, resulting in some pits. Although by reading some of the predecessors wrote the article to solve the problem, but I see a few of them are not completely clear why, so decided to do this summary.
Rules for using custom internal Class View
This article is mainly to summarize why, so first of all in the XML layout file referencing the
solves the problem of invoking the app and transmitting messages and commands in the same operating system. The URL schema mechanism provides a good idea for developers to solve the problem of intra-app communication. Cpmessage was born. What is Cpmessage
Cpmessage (Cross Platform message cross-platform messages) can be used as a server/client (let the client handle some commands), or a bridge for internal communication within the client. The origina
found that my eclipse was followed by an indigo, 100 degrees is the version number, which has not been updated for a long time. Re-download the Luna version, then open, run project does not pop windows, right-project-android tools-run Lint:check for common errors:The reason for this obsession with Android Lint is that Android lint is a static Code analyzer speci
How Android calls the @hide and internal APIs2012-12-11 16:21 8772 People read Comments (3) favorite reports Classification:Android Development (277) Android has two types of APIs that are not accessible through the SDK.The first is the API that is located in the Com.android.internal package. I'll call it the internal
Android stores and loads local files (internal storage devices) and android storage devices
All applications on Android devices have a directory of files placed in the sandbox. Saving the files in the sandbox can prevent other applications from accessing them.
The full path of the sandbox directory is/data/
As you can
Android learning notes: internal storage of data; practice Data Reading and writing; storage to Cache for reading and writing; android learning notes
(1) directory structure
(2) Layout file:
(3) tool class for saving and reading data: FileService. java
Package com. example. data_storage_interal.file; import java. io. byteArrayOutputStream; import java. io.
Recently, the company organized project team members to develop an Android project demo, no one has andoid development experience, are developing C #. Although the project requirements are not very high, but for those who do not have this experience, the first step is the most difficult.The project lasted one months, 4 people developed, the final line into a usable demo, the overall effect is very good. This one borrowed from the online "Imitation Net
abstract In fact, the operation of the Android file and Java in the PC environment is not two, the reason why need to be explained separately is because the Android system provides different from the PC to access the file system root path of the API, while the application of a private file to do a unified management. In my experience, beginners in this section feel it is easy to confuse both
Original link: http://m.blog.csdn.net/article/details?id=17725989abstract In fact, the operation of the Android file and Java in the PC environment is not two, the reason why need to be explained separately is because the Android system provides different from the PC to access the file system root path of the API, while the application of a private file to do a unified management. In my experience, beginner
Android File Management MethodAndroid uses a Linux-based file system and restricts file access and management through permission settings.In Linux, file permissions describe the operation restrictions on files by creators, users in the same group, and other users.X indicates executable, r indicates readable, W indicates writable, d Indicates directory, and-indicates common files.Generate such file permissions as set by the program personnelAndroid sto
ObjectiveI've been talking about Androidui, but it's not over yet, and I'll add it later. Today, I'll talk about other things about data persistence. For an application, it is unavoidable to be able to store the data, and the Android program is no exception. In Android, there are several ways to implement data persistence. The following will be described separately.In A
This article is translated from https://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-3-custom-android-platform/In the previous article I showed how to create a custom original-android.jar that contains all the classes in the internal API and the hidden API.The next step is obviously to modify the ex
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.