- 博客(5)
- 资源 (7)
- 收藏
- 关注
原创 J2ME Polish的一个简单示例
<br />1.把build.xml文件放在你的J2ME工程目录下,修改相关的路径,即可打包.<br /> <br />2.在你的代码中加入如下代码:<br />//#if polish.Identifier == Nokia/7610<br /> System.out.println("aaaaaaaaa");<br />//#else<br /> System.out.println("bbbbbbbbbbbb");<br />//#endif<br /> <
2010-12-23 15:28:00
738
转载 基于J2ME的MD5算法类
public class MD5 {<br /> static final int S11 = 7;<br /> static final int S12 = 12;<br /><br /> static final int S13 = 17;<br /> static final int S14 = 22;<br /> static final int S21 = 5;<br /> static final int S22 = 9;<br />
2010-12-10 15:12:00
964
原创 我的第一个MFC程序
<br />//hello.cpp<br />#include "afxwin.h"<br /><br />#define IDB_BUTTON 100<br />//100以内的值为系统所用,所以此值要大于99<br />#define IDT_TIMER_LEN 200<br />#define IDM_SCROLLBAR 100<br />const int MAX_RANGE = 100;<br />const int MIN_RANGE = 0;<br /><br />
2010-12-10 11:19:00
739
原创 读取文件到byte数组中
<br />public byte[] byteArray(String fileName)<br /> {<br /> InputStream is = fileName.getClass().getResourceAsStream(fileName);<br /> ByteArrayOutputStream baos = new ByteArrayOutputStream();<br /> try<br /> {<br />
2010-12-09 14:30:00
1418
原创 对png图片进行换色的一个函数
<br />public Image createColorImage(byte[] imageData, byte[] paletteData) throws<br /> IOException<br /> {<br /> if (paletteData != null)<br /> {<br /> for (int i = 0; i < imageData.length; i++)<br /> {<br />
2010-12-09 14:25:00
645
libstdc++.6.0.9.tbd.zip
2020-03-03
Google_Android开发入门指南
2010-12-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人