The development process used a ZIP compression package, wrote a tool class, the class can be implemented to compress the string directly into the ZIP format, eliminating the need to write to the file to compress the steps:/** * * @author shx * Compression and Decompression tool * */public class Ziputil {/** * compression method * @param str to compress the string
Decompression on the phone on a Windows compressed file, found that Chinese is garbled, the solution is as follows: Find the System.zip.pas file will e: = tencoding.getencoding (437);Instead of E: = tencoding.getencoding (936); After saving the new multiplatform project, adding this file and recompiling, compiling this project, SYSTEM.ZIP.DCU and System.zip.so tw
Copy Code code as follows:
Import Java.io.File;
Import Java.io.FileOutputStream;
Import java.io.IOException;
Import Java.io.InputStream;
Import Java.io.OutputStream;
Import java.util.Enumeration;
Import Java.util.zip.ZipEntry;
Import Java.util.zip.ZipFile;
public class Unzipper {
/*** Extract files to the current directory function equivalent to the right key to select decompression* @param zipfile* @param* @author Gabriel*/@Suppress
Objective
This article is about Ubuntu uncompressed zip file garbled solution, a total of 2 ways to solve the problem, the following words do not say more, to see together
First, through the Unzip line command decompression, the specified character set
Unzip-o CP936 Xxx.zip (with GBK, GB18030 can also)
Interestingly, there is no explanation for this option in Unzip's manual, unzip--help a simple o
Many times we need to use the Excel table in the PDF file, but the PDF file is not editable, so you want to extract the Excel form in the PDF file is still a lot of effort, in fact, you can try to test the mobile phone file conversion tool. Today, I will introduce a simple m
skyseraph Blog Park home Bo asked flash new essay contact subscription management essay-190 article-0 Comment-408 "Media" h264-mp4 format and extract H264 SPS, pps and bitstream in MP4 file c2> "Stream Media" h264-mp4 format and extract H264 SPS, pps and bitstream in MP4 file
Skyseraph APR 1st 2012
Email:skyseraph00@16
A long time ago, Windows system decompression software does not support decompression zip format, when many netizens said even such a well-known format is not supported. And now there is no feeling to support the easy to use, feel dispensable.
1
In the Win7 system, if you encounter a file in a zip format, you can extract
1 /**2 * Unzip the file to the specified directory.3 * 4 * @paramUnzipfilename5 * files that need to be decompressed (with path)6 * @paramMdestpath7 * The path to be stored after decompression8 **/9 Public Static voidUnZip (String unzipfilename, String mdestpath) {Ten if(!mdestpath.endswith ("/")) { OneMdestpath = Mdestpath + "/"; A } -FileOutputStream fileout =NULL; -Zipinputstream Zipin =NULL; theZipEntry Zip
First of all you need to download this icon to make software iconworkshop, this is a very powerful ICO icon production software, in the major software station of the ICO icon production class software download ranked first, many design companies will use.
After downloading, open this ICO icon production software, and then select "File-Open", select a program file Exe,dll, etc. (Take the QQ music icon as an
When we see a good app, we may be interested in some of its material, or we want to imitate a similar app, then how to get its resource files?Below I take ofo example:1. Open itunes, search ofo keyword, select Store underAfter you find it, download it, then switch back to the library and see the downloaded list2. Right-click the Finder display to view the local3, modify the suffix to zip, and then double-click Unzip, will become the followingThen, fin
an offline installation of the Android SDK file pathReprinted from: http://www.oschina.net/code/snippet_1539302_45940Google TV Addon, Android API13, revision 1https://dl-ssl.google.com/android/repository/google_tv-13_r01.zip Android
h264-mp4 format and extract H264 SPS, pps and bitstream in the MP4 file
Skyseraph APR 1st 2012
Email:skyseraph00@163.com First, MP4 format basic concept
MP4 format corresponds to Standard MPEG-4 standard (iso/iec14496)
Second, MP4 packaging format core concept
1 MP4 package format corresponds to ISO/IEC 14496-12 (Information technology Audio-visual object code part 12th: ISO Basic Media
BAT file content
For/F "delims =" % A in (sdk.txt) Do (Curl-o %)
* Download curl: http://curl.haxx.se/download.html
Sdk.txt content
Http://dl-ssl.google.com/android/repository/android-1.1_r1-windows.zipHttp://dl-ssl.google.com/android/repository/android
We have been using Android Studio for more than half a year to adapt to the trend!
Adding. jar files and. so files from the Eclipse migration project to Android Studio is undoubtedly a very important and headache!
In the latest version, all. jar files under libs are automatically packaged by default, so you don't need to talk about jar.
Add. SO (this depends on your project Gradle Version)
Tip: both build.
slightly lower the new point version can be used, high version compatible with the lower version.3.google is no longer supportive of updating ADT and is ready to devote its energies to its own Android Studio. Of course, if it is for learning, then use the lower version, it will be more comfortable to use eclipse.4. About the Download:1) VPN, go to the next, register a, almost every day free. My is green (afraid some people will ask what VPN), in fact
APK.Jarsigner -.....--digestalg SHA1 ...JDK1.7 because the default signature algorithm changes, you need to specify the signature algorithm and the key algorithm. It's supposed to correspond to Keytool.-sigalg -keyalg Two parameters.===============Also about the SF RSA file name in the signed Meta-infoHowever, the default APK's meta-info name is CERT after the signature. SF and CERT. Rsa. I use Jarsigner signature is that This cert should not be Key
actual desired modifications inside the. apk file2. Sign the. apk3. Install the. apk on the device1. The resource in the. apkOpen the. apk file with WinRAR (IF-doesn ' t work, rename the file extension. apk to. zip)Change the resource in the archive as desired (packager tools allow to change files without the need to extract
Classes.dex in the apk into a jar file.Jd-gui: The Anti-compilation tool allows you to view the source code of the jar package directly.Apktool: The anti-compilation tool can be viewed directly by deserializing the APK in the XML file.Apktool-install-windows-r05-ibot: Secondary Windows Batch processing tool.:Dex2jar:http://code.google.com/p/dex2jar/downloads/listJd-gui:http://code.google.com/p/innlab/downloads/lisApktool:http://code.google.com/p/android
What structure does the android file system have? How can we separate this file system? How can I mount a file system? All these questions will be answered in the article.
Friends who have used Linux may have a very good impression on open-source systems. In the increasingly mature mobile operating system, is there
Today, when I write a project, I import a jar file that I wrote, and I can't find the jar file error when I debug it:08-06 21:42:10.744:e/androidruntime (2578): java.lang.RuntimeException:Unable to instantiate activity componentinfo{ Com.example.iotlife/com.example.iotlife.mainactivity}: Java.lang.ClassNotFoundException:Didn ' t find class " Com.example.iotlife.MainActivity "on Path:dexpathlist[[
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.