如果你使用的是 Fedora,
Red Hat, CentOS, 或者 Scientific Linux 系统,使用下面的命令安装GNU的C/C++开发包和编译器。
# yum groupinstall 'Development Tools'
如果你使用的是Debian
或者 UbuntuLinux系统,你可以使用下面的这个命令来安装C/C++编译器。
#sudo ...
分类:
编程语言 时间:
2014-06-07 01:56:20
阅读次数:
302
How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?you can following the nest line do ,install almost all development to...
分类:
系统相关 时间:
2014-06-07 01:23:47
阅读次数:
317
1. 导包:导入android-async-http开源项目的最新版本的包
2.简单的搭建一个网络图片查看器的界面
相关的界面搭建代码:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/...
分类:
移动开发 时间:
2014-06-05 10:58:08
阅读次数:
309
该文章是为了检索手机上sd卡中的视频,然后将检索出来的相应视频的缩略图,名称等视频信息显示在ListView上。点击每个item后播放相应的视频。
源代码:
布局文件:
activity_main:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="...
分类:
移动开发 时间:
2014-06-05 09:27:14
阅读次数:
370
网上流传的zip压缩与解压 的代码有很大的问题 虽然使用了ant进行压缩与解压,但是任务的流程还是用的java.util.zip 的方式写的,我在使用的过程中遇到了压缩的目录结构有误,甚至出现不同解压软件显示的目录结构不同的窘境。
下面给出使用org.apache.tools.ant.taskdefs.Zip;和org.apache.tools.ant.taskdefs.Expand 的压缩和解...
分类:
其他好文 时间:
2014-06-05 08:49:27
阅读次数:
266
最近要配置Eclipse环境,Mark其中的一些方法。
下载Eclipse SDK之后我们就要关联JRE,因为Eclipse启动需要JRE。
Eclipse启动时寻找JRE的顺序:
1、如果eclipse.ini中配置了-vm参数,那么则使用这个参数指定的JRE;
我们可以通过在eclipse.ini里面添加完成关联,例如:
-vm
D:\jre\bin\javaw...
分类:
系统相关 时间:
2014-06-05 06:16:33
阅读次数:
308
上一篇讲到了使用意图录音,这篇文章将使用MediaRecorder类来录音,从而提供更多的灵活性。
效果图:
源代码奉上:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"...
分类:
移动开发 时间:
2014-06-05 00:35:30
阅读次数:
387
本文章主要将通过意图触发内置的Camera应用程序来录制视频。
源代码:
布局文件:
activity_main:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:...
分类:
移动开发 时间:
2014-06-03 06:25:41
阅读次数:
249
public String createPDF(ProjectManageBase
projectManageBase) { Map map = new HashMap();// velocity模板中的变量 try {
//模版vm的路径 ...
分类:
编程语言 时间:
2014-05-31 07:57:43
阅读次数:
809
1.ADO.NET 3.5 Entity Framework是随着.net framework
3.5一起发布的,确认开发环境版本是大于等于3.5版本2.确认已经安装了ADO.NET 3.5 Entity Framework 和ADO.NET 3.5
Entity Framework Tools:右...
分类:
数据库 时间:
2014-05-31 01:20:27
阅读次数:
560