Principle:Use lint scan out the project of useless, duplicate, version unreasonable resources, here we only deal with pictures, Layout,menu resources is corresponding lintThe results of the unusedresources, and then filter out the Unusedresources resources, the resources in accordance with the project directory backup (to prevent accidental deletion, convenientrecovery), and then delete. Deleted content, use object to save to OutData.txt, easy to consult.I use
Here, cleanup is to clean the cache of other programs in the software, there are two types. Reflection is used in all aspects of the knowledge, there is no way, Android system API to hide these methods. Reflection will not be said, do not know yourself Baidu, Google!
One type with root permission:Class C1 = Class. forname ("android. content. PM. ipackagedataobser
a copy of the License at**** http ://www.apache.org/licenses/license-2.0**** unless required by applicable law or agreed to in writing, software** Distribut Ed under the License is distributed on a "as is" basis,** without warranties OR CONDITIONS of any KIND, either express or implied.** See the License for the specific language governing permissions and** limitations under the License.*/package Android.content.pm;import android.content.pm.packagestats;/** * API for package data change relate
1, put the following two aidl files in their own project, their projects as clients, to achieve cross-process communication.The code is as follows:To create a package name:/***** Copyright, the Android Open Source project**** Licensed under the Apache License, Version 2.0 (the "License"); * * If you are not use this file except in compliance with the license.** you may obtain a copy of the License at**** http ://www.apache.org/licenses/license-2.0****
System garbage, is the system no longer need to file the collectivelyWhen you browse the webpage, install and uninstall the program residue files and registry key valuesThese are files that have no effect on the system and can only add die hard to the system, so it's called garbage.Memory management1.WIndows operating system memory management is: how much to open, how much, close the principle of recovery;2.Linux operating system memory management is: Try to use memory, memory is not enough to a
In the past two days, a small memory cleanup plug-in has been established. This information is rarely found on the Internet. I have previously found an example of how to clean up the cache and the result is unsuccessful. Later, I thought about how to clean up the memory, so I succeeded.
The two methods are copied from the Internet to obtain the available memory and the total memory, so that we can get the used memory.
View Code
Private long getAvailMe
(such as a anim_list.xml) file under the Drawable file and use the animation-list tag to group A collection of item tags.//Flashback repeat reverse positive sequence repeat restartAlphaanimation.setrepeatmode (animation.reverse); combo Animation--Resume one: Two loaders, and set the listener for the first animation (three ways to make a replication, Open the second animated loader in Onanimationend () The activity Toggle animation uses the Overridependingtransition method parameter: The animati
Cool disk Android version of the cool disk in the file download to the mobile phone method is as follows:
Landing cool disk, in the main interface to view the file list, click on the target file can be downloaded, after downloading the file icon will have the download tag. There are two ways to download after clicking
Wirelessly's cache consists of two scenarios, memory cache and disk cache, where the memory cache is primarily using the LRUCache class, where the memory cache I have already explained in detail in the memory cache LRUCache of the "Cache Strategy series" in Android cache strategy, such as crossing has not seen this blog, Suggest crossing first to look.We know that LRUCache allows us to quickly get the user'
Android Development Environment Description : currently Android has two development environments, one is the traditional Eclipse + ADT, one is currently the latest and Google recommended Android Studio;Eclipse + ADT development environment : What most developers are using is being phased out, and I'm using it now.-- Android
Debugging related to SD card is often encountered in andorid development, such as MP3 files and image files. When developing a simulator, you can simulate an SD card through a hard disk. The specific method is:
(1) Create an SD card image file: Open CMD and go to the tools directory of the SDK directory. Enter the following command: mksdcard64 m sdcard. IMG. This command will generate an sdcard. imgfile in the current directory, which is the SD card i
[Android Notes] hard disk cache tools, Android tools
DiskLruCache (https://github.com/JakeWharton/DiskLruCache) should be familiar to everyone. (For details, refer to here) It is an open-source library written by jakewharton and provides a hard disk cache solution.However, the API of this database is relatively simple
370763706 bytes
Bfc3472a12173422ba044182ac466c13
Mac OS X 64-bit
Adt-bundle-mac-x86_64-20140702.zip
320593642 bytes
24c51a1ad96c5f6d43821d978bf9866d
Linux 32-bit
Adt-bundle-linux-x86-20140702.zip
371950735 bytes
5901c898bae4fe95476463a951b68404
Linux 64-bit
Adt-bundle-linux-x86_64-20140702.zip
372259418 bytes
18a7c5778f96c0823349d465f58a0a36
(2) SDK Tools only
Platform
370763706 bytes
Bfc3472a12173422ba044182ac466c13
Mac OS X 64-bit
Adt-bundle-mac-x86_64-20140702.zip
320593642 bytes
24c51a1ad96c5f6d43821d978bf9866d
Linux 32-bit
Adt-bundle-linux-x86-20140702.zip
371950735 bytes
5901c898bae4fe95476463a951b68404
Linux 64-bit
Adt-bundle-linux-x86_64-20140702.zip
372259418 bytes
18a7c5778f96c0823349d465f58a0a36
(2) SDK Tools only
Platform
1. Error descriptionToday, after compiling the app with Android Studio and installing the APK, the error is as follows:file build\outputs\apk\OYP_2.3.4doesnotonwhile Installing APKAs shown2. Solution1. Try the build-and-clean project again to compile, or invalid2. Invalid attempt to restart Android studioThen I went to open the Build\outputs\apk\ directory and found that the APK file was compiled, but the f
Now many people have started to use and research Android system, this tutorial for you to introduce the Android launch U disk production methods.
2.1, insert a U disk into the computer, and then open the UltraISO software, the interface is as follows:
UltraISO Main Interface Tutorial
2.2, use UltraISO to open the
U disk running Android X86 system, is the Android x86 loaded into the U disk, and then from the U disk Boot computer (similar to Windows PE), you can run on the U disk and experience the Andro
can modify the Ubuntu size, but according to the Information, lvpm can only support earlier versions of ubuntu, as if it was 10.04, it will not be in the middle. Later I found Ubuntu has a tool link: https://help.ubuntu.com/community/ResizeandDuplicateWubiDisk named wubi-resize-1.7.tar.gz is to modify the size of the hard disk space, the principle is the same as lvpm. If you want to allocate 60 GB space, the maximum parameter is 32 GB! It seems that
Android full disk encryptionWhat is full disk encryption?
Full disk encryption uses a key to encrypt all user data on android devices. Once the device is encrypted, all data created by the user will be automatically encrypted before the
Install Ubuntu 3 on a hard disk in Windows-configure the android development environment and common settings in ubuntuRelated links:Install Ubuntu on a hard disk in Windows-install Ubuntu11.10http in XP: // www.bkjia.com/ OS /201205/130282.html;Ubuntu II for Windows hard drive-install Ubuntu11.10 for Win7 http://www.bkjia.com/os/201205/130285.html After ubuntu is
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.