B
Boki
Hi All,
Before optimize the JPG code, here is a branch problem on Sony
Ericsson's K750i
I don't know why, it seems that very strange, the code will just stop there.
I can't sure which line, but it seems stops! ( stay(stop) in a line until I
send data from client )
I will find another JSR-82 supported phone, just feel very strange here..
Originally, I want to code as:
polling incoming data, when data stops, I will collect them and decode as
JPG, but right now, I can't know when it stops... because the code didn't go
through~~~
----------------------------
int bytesToRead = in.available();
if (bytesToRead > 0) {
// Initialize buffer
byte[] byteBuffer = new byte[bytesToRead];
// Read bytes
nbrOfBytesRead = in.read(byteBuffer);
------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the code will not go to next line until I send data from clinet @@
do you have the same experiance ?
Best regards,
Boki.
Before optimize the JPG code, here is a branch problem on Sony
Ericsson's K750i
I don't know why, it seems that very strange, the code will just stop there.
I can't sure which line, but it seems stops! ( stay(stop) in a line until I
send data from client )
I will find another JSR-82 supported phone, just feel very strange here..
Originally, I want to code as:
polling incoming data, when data stops, I will collect them and decode as
JPG, but right now, I can't know when it stops... because the code didn't go
through~~~
----------------------------
int bytesToRead = in.available();
if (bytesToRead > 0) {
// Initialize buffer
byte[] byteBuffer = new byte[bytesToRead];
// Read bytes
nbrOfBytesRead = in.read(byteBuffer);
------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the code will not go to next line until I send data from clinet @@
do you have the same experiance ?
Best regards,
Boki.