First, the background description:In order to optimize the Web page speed, we take js,css merge compression and control it on the server side. So I learned a bit about the principle of browser caching.Because I don't want to use version number
1. Common Nsfilemanager File methods-(NSData *) Contentsatpath:path//Read data from a file-(BOOL) Createfileatpath:path contents: (NSData *) data attributes:attr//write to a file-(BOOL) Removeitematpath:path error:err//Delete a file-(BOOL)
How to use the icon fonts in your mobile appsThe most perfect way to achieve graphical vector scaling in any app design is to use a font icon.The design of the mobile end becomes more and more complex. The reason lies in the variety of screen sizes
It is useful to use intent to control ServiceThe parameter used is the class of the serviceThere is another way to control the startup/shutdown of a serviceParameters for incoming action via intentRegister a service in manifest and set an action
Originally just for the Mac platform to simply call fopen, fwrite and other functions, found that fopen need to include an absolute path to normal use, otherwise, even if you can create a file during debugging, directly call the app execution, the
The init process is the first process that Android starts with a process PID of 1. It mainly does the following several things:* Parse configuration file* Operation according to the configuration file early_init init early_boot boot* Set Property
Android to get the screen longer than the width, referring to the online have a lot of code, but the results and the actual discrepancy, such as my phone is i9000, screen size is 480*800px, the result is 320*533 result is very unreliable, so I wrote
Bo main computer Windows is the use of the VMware installed Ubuntu Kylin,vmware can find as much as possible to install the latest version, and Unbuntu on the official website download on the line, the installation of VMware recommended to close the
QQ Cottage More, the previous period of time password was stolen, with a few years of QQ, password stolen, very angry, just have time to study the QQ2010 protocol. Now has a small, basically completed the QQ protocol analysis and basic source code,
1, my first time was to restart the Xiaomi phone.2, there is a trick, to the millet bracelet charge.3, Xiaomi bracelet cannot unlockThat's the trick.Remove the Bluetooth device from the Xiaomi 4 phone and unlock it.Settings, security and privacy,
Today to pay everyone how to access the SDK Baidu map, the steps in fact and Baidu official online development guidelines, write down to do a summary.1. Register the Baidu developer account, directly to the official website registration on the line,
----Main.java public class main extends activity {private textview textview;private button button;private listview listview;public file currentparentfile;public file[] currentfiles;public static string sdcarddir ;static {try {// The path of the
This procedure introduced the Unity3d program, then naturally uses the jar package Unity-class.jar this jar package. When confused, the following issues occur:The first question first:Java.io.IOException:Can ' t read [Unity-classes.jar] (Can ' t
In the process of writing Android app need a simple color selector, Android comes with ColorPicker and some of the online colorpicker are too high-end, have realized the color gradient function, I need not so complicated, just want to provide
From widow to Ubuntu environment, tossing a few days, encountered a lot of problems, is now recorded as follows:Development tools1.anroid development environment, Eclipse JDK ADT plugin or Androidstudio. A lot of this introduction.2.ADB 64-bit
Last week wrote an article about the Org.json and Jsonlib of Android, and today I want to write a little bit about how I used Org.json.Because the school project requirements to parse a complex JSON, so on the internet search, but Google a search
1. Get phone screen width and height in oncreate1 New displaymetrics (); 2 Getwindowmanager (). Getdefaultdisplay (). Getmetrics (DM); // Get Window Properties 3 int screenwidth = dm.widthpixels; // width of window 4 int screenheight =
After upgrading Android studio to the latest version (1.0 RC 4), there was a problem running the project:Gradle DSL method not found: ' Runproguard () 'Literally, the reason for this problem is that Runproguard () is not found (this method is called
Just the introduction of children's shoes Ken can have a question, Java is not a virtual machine, memory will be automated management, we do not have to manually release resources, anyway the system will be done to us. In fact, there is no concept
Each app in Android has a unique Linux user ID. With Shareduserid, we have two app apps with the same userid to see each other's files. To conserve resources, an APK with the same ID can also be used in the same Linux process. The role of
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