Search:

Type: Posts; User: polyfrag

Search: Search took 0.19 seconds.

  1. Android processing .md2 model java.lang.outOfMemoryError

    Why am I getting java.lang.outOfMemoryError on the line

    va[f].normals[index] = new CVector3();


    in


    numverts = header.num_tris * 3;
  2. Re: Android Character.getNumericValue returns -1

    Never mind, I can just use type-casting to convert char to int.
  3. Android Character.getNumericValue returns -1

    I'm programming for Android and I'm using Character.getNumericValue but it's returning negative for space (' ', ASCII #31) and the exclamation mark ('!', ASCII #33) and likely the others that I...
  4. Replies
    1
    Views
    1,623

    Sending data too fast

    I have a Java game that connects to a C/C++ server.

    When I send the packets all at once, they don't get through.

    But when I send them with a 100 ms delay in between, they get through.

    The...
  5. Replies
    2
    Views
    1,760

    Re: Stuck on socketChannel.read();

    Oh, forgot to ByteBuffer.allocateDirect();
  6. Replies
    2
    Views
    1,760

    Stuck on socketChannel.read();

    I have an applet that connects to a C/C++ server.

    The server sends packets but the applet can't read them for some reason.

    It gets stuck on socketChannel.read(); even though I set it to...
Results 1 to 6 of 6