- 浏览: 52050 次
- 性别:
- 来自: 北京
-
最新评论
-
yekai584341028:
楼主太搞笑了,还和服务器扯皮呵呵。
捕获异常要捕获根源异常。
j2me 联网技术分析总结 -
wcjhaoa:
那个一次排序时的交换情况我想半天没明白你为什么要这样写的... ...
快速排序java实现 -
lei511:
android 连接 有问题
[2010-05-04 10 ...
eclipse真机调试J2me程序 -
xmmarmy007:
java.io.IOException: Couldn't r ...
j2me 联网技术分析总结
文章列表
The code sample below describes how to play two sounds at the same
time. This feature is supported by the Sony Ericsson JP-5 platform and
onwards.
Only one wav file can be played simultaniously but several midi files
might be played at the same time. The number of existing players is
only limited by ...
- 2008-08-15 10:34
- 浏览 785
- 评论(0)
Creating an image from an array of data is an easy task, but to create
a byte-array of data from an image is a little more complicated. But
it's required if you want to send a modified image to a server.
To create a byte-array of data from an image, we can use the getRGB(..)
method in the image clas ...
- 2008-08-15 10:29
- 浏览 770
- 评论(0)
This tip describes how to change the alpha value of an image to make it
appear blended. There's also an example MIDlet with source code.
In MIDP 2.0 there's a new method in the Image class, getRGB(...)
that will get all Alpha, Red, Green, Blue (ARGB) values from the image
to an int array. We can use ...
- 2008-08-15 10:18
- 浏览 1122
- 评论(0)
To increase the performance of your Java™ application when reading from
an InputStream, there are a few key areas to look into. If possible,
don't make any reallocations of memory. Allocate the input buffer once.
Let the Java™ VM do the bulk of the reading, i.e. read data in big
chunks. Some coding e ...
- 2008-08-15 10:11
- 浏览 856
- 评论(0)