Displaying keyword search results 1 - 4
Created by woolf on December 29, 2011 11:18:11 Last update: December 29, 2011 11:18:11
Use the expand command to extract files from a .cab file:
expand [-r] source [destination] [-d source.cab ...Option Description [-r] Renames expanded files. [destination] Specifies where files are to be expanded. If source is multiple files and -r is not specified, destination must be a directory. destination can consist of a drive letter and colon, a directory name, a file name, or a combination of any of these. [-d source.cab] Displays a list of files in the source location. Does not expand or extract the files. [-f:files] Specifies the files in a cabinet (.cab) file that you intend to expand. You can use wildcards (* and ?). source.cab Specifies the files to expand. source can consist of a drive letter and colon, a directory...
Created by freyo on August 01, 2011 16:06:40 Last update: August 03, 2011 08:32:01
To list all installed packages:
# pm list packagesTo list all disabled packages:
# pm list packages -dpm help:
# pm usage: pm [list|path|install|uninstall] ...
Created by freyo on May 17, 2011 08:46:50 Last update: May 17, 2011 08:47:35
When I used AssetManager to open an XML file in a ContentProvider :
getContext().getAssets().openFd("demo.xml");it failed with this exception:
java.io.FileNotFoundException: This file can not b...It turned out that openFd only works for asset files that are not compressed. It works on media files such as .mp3 , .jpg , .wmv etc., which are not compressed during packaging. XML files are compressed by dedault, causing openFd to fail. An Android ticket was opened on this issue. Till that is fixed, the workaround is to add an exclusion in build.xml :
<?xml version="1.0" encoding="UTF-8"?> <pro...
Created by voodoo on July 11, 2009 15:14:55 Last update: July 29, 2010 22:45:48
cURL is a command line tool for transferring files with URL syntax. The main purpose and use for cURL is to automate unattended file transfers or sequences of operations. It's really easy to see HTTP headers with curl:
C:\>curl --head http://www.google.com HTTP/1.0 ...or, headers and page together (dump headers to stdout):
$ curl --dump-header - http://www.google.com HTTP/...Download openssl from openssl.org:
C:\>curl --help Usage: curl [options...] <url> ...