摘要: <Button Margin="0,0,0,8" Click="button1_Click"> <Button.Template> <ControlTemplate> <Image Source="Images/a.png"/> </ControlTemplate> </Button.Template></Button> 阅读全文
posted @ 2012-02-02 12:07 zodie 阅读(124) 评论(0) 推荐(0)
摘要: android 调用系统短信 Uri smsToUri = Uri.parse("smsto:10086");//NUMBER 无NUMBER写"smsto:" Intent intent = new Intent( android.content.Intent.ACTION_SENDTO, smsToUri ); intent.putExtra("sms_body", "这是内容");//短信内容 startActivity( intent ); jni 打log __android_log_print(ANDR 阅读全文
posted @ 2012-01-06 11:55 zodie 阅读(142) 评论(0) 推荐(0)
摘要: 写程序发现在XML文件中给中文加粗无法实现,所以就想加个同样颜色的阴影就好了 android:textColor="#000000" android:shadowColor="#000000"android:shadowDx="0.2"android:shadowDy="0.0"android:shadowRadius="0.2" 阅读全文
posted @ 2011-12-31 16:33 zodie 阅读(316) 评论(0) 推荐(0)
摘要: 写jni总是忘javah -classpath . -jni com.***. ... .***.classname 阅读全文
posted @ 2011-12-31 16:30 zodie 阅读(133) 评论(0) 推荐(0)
摘要: // C4.5_test.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <stdio.h>#include <math.h>#include "malloc.h"#include <stdlib.h>const int MAX = 1... 阅读全文
posted @ 2010-03-16 21:57 zodie 阅读(1605) 评论(0) 推荐(0)
摘要: 最近准备研究C4.5算法,http://www2.cs.uregina.ca/~dbd/cs831/notes/ml/dtrees/c4.5/tutorial.html是必看网站.不过源码好长,还没仔细看,先把ID3算法看了,然后再研究C4.5.因为C4.5是对ID3的改进嘛.ID3算法描述:输入:样本samples;候选属性的集合attribute_list.输出:判定树.decision_tr... 阅读全文
posted @ 2010-03-11 19:58 zodie 阅读(917) 评论(2) 推荐(0)