两件大事 just for me
2005-05-19 09:34
309 查看
一件大事:我的毕业设计代码已经全部完成,剩下的就是对界面呀什么的一些完善。然后就是文档的完成。
计划本周内完成程序说明和整个论文的大纲构建。
一件大事:终于对于j2me程序的打包有了更新的认识,以及对于具体硬件对于程序的参数设置的不同要求。以及许多不同的MIDP版本里面的方法的不同,不能在硬件只支持低版本的api的情况下使用高版本的api,这个程序在具体的手机里面不能运行。比如:
getResourceAsStream
public InputStream getResourceAsStream(String name)Finds a resource with a given name. This method returns null if no resource with this name is found. The rules for searching resources associated with a given class are profile specific.
Parameters:
name - name of the desired resource
Returns:
a java.io.InputStream object.
Since:
JDK1.1
getResourceAsStream是 MIDP 1.1 里面的方法,而我的手机诺基亚3650只是支持MIDP1.0(2003年产品),那么我调用这个方法,就不能获取倒正确的资源文件,那么数据就不能从txt文件读取写入倒RMS数据库里面。于是程序失败,虽然在手机上能够安装,但是和这个方法相关的程序就不能正确的运行。
而我的手机参数为:
Nokia手机主要参数列表
国内Nokia手机主要参数列表
型号 所属系列 最大Jar Size MIDP版本 CLDC版本 屏幕尺寸
3650 S60 1.0 动态分配 1 1 176x208
所以容易看出,不能在手机上正确调用getResourceAsStream方法是正常的。
另外还有几件不算大事的小事,那就是:
1、帮同学做一个 学位审核系统的登陆部分,这个对于我使用服务器端控件是一个考验,因为之前从来没有用过。
2、继续这个手机程序的开发,
3、其他关于以后职业规划的一些学习。
今天的太阳很耀眼,早早跑去校医院打针了一次,咳嗽就快要好了。sigh~
计划本周内完成程序说明和整个论文的大纲构建。
一件大事:终于对于j2me程序的打包有了更新的认识,以及对于具体硬件对于程序的参数设置的不同要求。以及许多不同的MIDP版本里面的方法的不同,不能在硬件只支持低版本的api的情况下使用高版本的api,这个程序在具体的手机里面不能运行。比如:
getResourceAsStream
public InputStream getResourceAsStream(String name)Finds a resource with a given name. This method returns null if no resource with this name is found. The rules for searching resources associated with a given class are profile specific.
Parameters:
name - name of the desired resource
Returns:
a java.io.InputStream object.
Since:
JDK1.1
getResourceAsStream是 MIDP 1.1 里面的方法,而我的手机诺基亚3650只是支持MIDP1.0(2003年产品),那么我调用这个方法,就不能获取倒正确的资源文件,那么数据就不能从txt文件读取写入倒RMS数据库里面。于是程序失败,虽然在手机上能够安装,但是和这个方法相关的程序就不能正确的运行。
而我的手机参数为:
Nokia手机主要参数列表
国内Nokia手机主要参数列表
型号 所属系列 最大Jar Size MIDP版本 CLDC版本 屏幕尺寸
3650 S60 1.0 动态分配 1 1 176x208
所以容易看出,不能在手机上正确调用getResourceAsStream方法是正常的。
另外还有几件不算大事的小事,那就是:
1、帮同学做一个 学位审核系统的登陆部分,这个对于我使用服务器端控件是一个考验,因为之前从来没有用过。
2、继续这个手机程序的开发,
3、其他关于以后职业规划的一些学习。
今天的太阳很耀眼,早早跑去校医院打针了一次,咳嗽就快要好了。sigh~
相关文章推荐
- 改版后支付宝的两件大事
- Here I put nontrivial MOLPRO scripts, which I found useful for me and other:
- just for you---识别多行文章中的字符串个数
- Missing styles. Is the correct theme chosen for this layout
- Android studio中预览布局错误:Missing styles. Is the correct theme chosen for this layou
- just for fun
- WPF FAQ for me
- Just for test
- [Eclipse笔记]Just for fun – 在Eclipse下编译和运行C#的代码
- 我不是程序员! Just coding for fun!
- README file for FANUC Drivers and Libraries
- I'll just wait for the police
- Just do nothing, smile in the dream and waiting for the sun raising.
- Most useful books for me each year
- just for test
- just for pic
- Temporary Post Used For Theme Detection (0ecb8fae-2539-45f9-a310-9e6b31cb889d - 3bfe001a-32de-4114-a6b4-4005b770f6d7)
- c# dynamic,maybe I should say it is just some shortcut for "Object", box and unbox, without the cast
- The best quality Christmas Gift ideas Just for Diesel-engined Keep an eye on