码迷,mamicode.com
首页 >  
搜索关键字:sd    ( 2381个结果
This version of the rendering library is more recent than your version of ADT plug-in. Please update
预览layout.xml文件时提示:This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in导致无法正常预览布局文件;问题根源:SD...
分类:其他好文   时间:2014-12-10 00:27:58    阅读次数:1163
sed 和read line用法
sed-i"s/`echo-e\\\t`/,/g"123456.txtcat./123456.txt|whilereadlinedosd=`echo$line|awk-F,‘{print(($4-$3))}‘`a=`echo$line|awk-F,‘{print$1}‘`DAYLEN2=$(($(($sd))/86400))echo$a"开通"$DAYLEN2"天"done
分类:其他好文   时间:2014-12-09 19:55:54    阅读次数:224
cocos2d-js 入门 (主要是HTML5)
cocos2d-js是cocos2d-x的JavaScript版本,真正跨全平台的游戏引擎,采用原生JavaScript语言,可发布到包括Web平台,iOS,Android,Windows Phone8,Mac,Windows等平台。利用cocos2d-js开发HTML5游戏/动画,我们可以通过SD...
分类:Web程序   时间:2014-12-09 19:36:29    阅读次数:300
Android 最新获取手机内置存储大小,SD卡存储空间大小方法
/** 得到系统可用内存 **/ @SuppressLint("NewApi") private String getMemFree(){ StatFs fs = new StatFs(Environment.getDataDirectory().getPath()); return Formatter.formatFileSize(this, (fs.getAvailableByte...
分类:移动开发   时间:2014-12-09 17:54:23    阅读次数:204
【移动开发】App Install Location
Beginning with API Level 8, you can allow your application to be installed on the external storage (for example, the device's SD card). This is an opt...
分类:移动开发   时间:2014-12-09 15:11:54    阅读次数:414
Android编程:观察者模式设计
Android编程:观察者模式设计入本文博客链接:http://blog.csdn.net/jdh99,作者:jdh,转载请注明.环境:主机:WIN8开发环境:Eclipse说明:1.打开sd卡中的xml文件,如果不存在,这新建一个,并写入默认配置2.读取xml文件3.Config_Info.java为配置信息数据结构4.IF_Config.java为配置类的存取接口,其他类可以通过此接口直接...
分类:移动开发   时间:2014-12-09 14:03:37    阅读次数:246
android客户端把SD卡文件上传到服务器端并保存在PC硬盘文件夹中
在局域网内,实现从android客户端把手机SD卡上的文件上传到PC服务器端,并保存在PC硬盘的指定文件夹下。同时把PC端硬盘文件的目录和对文件的描述信息保存在mysql数据库中。 1、客户端关键代码: (1)获得SD卡上的文件 /** * 获得文件路径和状态信息 * * @return */ private String getFiles() { ...
分类:移动开发   时间:2014-12-08 21:31:09    阅读次数:313
Solution to MB SD Connect Compact 4 Booting Problem
MB SD connect C4has now been updated to the newest version 2014.09. As a representative auto diagnostic tool, it has been given great attention by mos...
分类:其他好文   时间:2014-12-08 19:25:38    阅读次数:401
android网络获取图片并保存在本地
获取网络上的图片有三步:一、设置连接网络的权限和写入读取SD卡的权限。二、网络访问获得数据流。 三、在SD卡中创建文件夹将数据流转成图片格式存储。注意:response.getEntity().getContent()方法,而此方法只能调用一次。否则会报错:java.lang.IllegalStat...
分类:移动开发   时间:2014-12-07 19:03:07    阅读次数:384
Android 加密/解密音频文件(AES)
加密过程:以byte[]形式读取SD卡上准备好的测试音频文件,使用AES加密算法加密byte[],再保存覆盖原音频文件,此时加密后的音频文件无法被播放。解密和加密过程原理一样。 代码: VoiceEncryptionActivity.java package com.example.voiceencryption; import java.io.File; import jav...
分类:移动开发   时间:2014-12-07 16:30:16    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!