1、安卓手机运行jar文件需要安装jar模拟器,下载jar模拟器,模拟器运行前把jad和jar放在一个文件里。
2、启动时启动jad。文件名和文件夹不能有中文,且jad和jar文件名除了后缀必须一样。安装数缩包里的文件管理器。
3、打开模拟器,点击OPen,选择好文件后,点Run就可以在安卓手机上运行jar文件了。
Android一词的本义指“机器人”,同时也是Google于2007年11月5日宣布的基于Linux平台的开源手机操作系统的名称,该平台由操作系统、中间件、用户界面和应用软件组成。Android一词最早出现于法国作家利尔亚当(Auguste Villiers de l'Isle-Adam)在1886年发表的科幻小说《未来夏娃》(L'ève future)中。他将外表像人的机器起名为Android。
Android的Logo是由Ascender公司设计的,诞生于2010年,其设计灵感源于男女厕所门上的图形符号,于是布洛克绘制了一个简单的机器人,它的躯干就像锡罐的形状,头上还有两根天线,Android小机器人便诞生了。
其中的文字使用了Ascender公司专门制作的称之为“Droid ” 的字体。Android是一个全身绿色的机器人,绿色也是Android的标志。颜色采用了PMS 376C和RGB中十六进制的#A4C639来绘制,这是Android操作系统的品牌象征。有时候,它们还会使用纯文字的Logo。
以上就是小编的分享,希望可以帮助到大家。
每天一条Linux命令(20) xz (文件解压缩)
相信大家一定对命令 xz 感到陌生,我也是,在第一次遇到这种格式的文件压缩包时,
我竟不知如何去解压
怎么办、怎么办,此时鼠标已不受控制,默默的移向了google。
事情经的经过就是这样,其实事发挺突然的,要不是怕遇到熟人,我必须整两句,趁现在没人就来说说这个 xz
xz是一个使用LZMA压缩算法的无损数据压缩文件格式。和gzip与bzip2一样,同样支持多文件压缩,但是约定不能将多于一个的目标文件压缩进同一个档案文件。相反,xz通常作为一种归档文件自身的压缩格式,例如使用tar或cpioUnix程序创建的归档。xz在GNU coreutils(版本7.1或更新) 中被使用。xz作为压缩软件包被收录在Fedora(自Fedora 12起),Arch Linux,FreeBSD, Slackware Linux,CRUX和Funtoo中等。
xz压缩的优势:
同一文件,tar.xz格式比tar.gz格式小了三分之一!
语法:
xz[选项][参数]
主要参数说明:
案例:
压缩图片pandas.png 压缩成功后生成pandas.png.xz ,源文件会被删除
[root@master test03]# lspandas.png[root@master test03]# xz pandas.png [root@master test03]# lspandas.png.xz[root@master test03]#
解压 pandas.png.xz 并使用-k参数保持源文件不被删除
[root@master test03]# xz -dk pandas.png.xz [root@master test03]# lspandas.png pandas.png.xz[root@master test03]#
使用参数 -l 显示 .xz 文件的基本信息。基本信息包括压缩率、数据完整性验证方式等。
pandas.png pandas.png.xz[root@master test03]# xz -l pandas.png.xz Strms Blocks Compressed Uncompressed Ratio Check Filename 1 1 29.7 KiB 29.9 KiB 0.995 CRC64 pandas.png.xz[root@master test03]#
使用参数 -0, -1, -2, … -6, … -9 设定压缩率。xz 命令的默认为 6
[root@master test03]# lspandas.png[root@master test03]# xz -8 pandas.png [root@master test03]# xz -l pandas.png.xz Strms Blocks Compressed Uncompressed Ratio Check Filename 1 1 29.7 KiB 29.9 KiB 0.995 CRC64 pandas.png.xz[root@master test03]#
使用参数 -H 显示 xz 命令所有 options. 参数 -H 比使用参数 --help 显示的内容更详细。
[root@master test03]# xz -H | moreUsage: xz [OPTION]... [FILE]...Compress or decompress FILEs in the .xz format.Mandatory arguments to long options are mandatory for short options too. Operation mode: -z, --compress force compression -d, --decompress, --uncompress force decompression -t, --test test compressed file integrity -l, --list list information about .xz files Operation modifiers: -k, --keep keep (don't delete) input files -f, --force force overwrite of output file and (de)compress links -c, --stdout, --to-stdout write to standard output and don't delete input files --single-stream decompress only the first stream, and silently ignore possible remaining input data --no-sparse do not create sparse files when decompressing -S, --suffix=.SUF use the suffix `.SUF' on compressed files --files[=FILE] read filenames to process from FILE; if FILE is omitted, filenames are read from the standard input; filenames must be terminated with the newline character --files0[=FILE] like --files but use the null character as terminator Basic file format and compression options:--More--
往期精彩回顾