Tutorial:
a) J2ME 中文教程
b) J2ME: The Complete Reference
1, 在模拟器下运行有问题的程序时, 输出的函数调用栈信息中, 最内层的函数名是, 代表什么意思?
如:
java.lang.Error: Unresolved compilation problems:
strResult cannot be resolved
at ExcpetionTest.(+9)
at java.lang.Class.runCustomCode(+0)
at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)
Execution completed.
上面内容中, ExcpetionTest是类名, 指类ExcpetionTest的构造函数。
2, Date & Time
1) Time Format(Date->String) and Parse(String->Date)
阅读(1901) | 评论(0) | 转发(0) |