Search:

Type: Posts; User: wei123

Search: Search took 0.14 seconds.

  1. Replies
    1
    Views
    993

    [SOLVED] stuck sending file from client to server

    I have a client which is supposed to download an image file encrypted with AES (I'm not sure if I'm even implementing this correctly) from a server. However, with the following codes, the server gets...
  2. Replies
    4
    Views
    1,185

    [SOLVED] Re: image url cannot be converted to bytes

    Yup, it worked! I printed the string and the output was what I wanted.
  3. Replies
    4
    Views
    1,185

    [SOLVED] Re: image url cannot be converted to bytes

    Is this fine?


    is = myimage.openStream ();
    byte[] byteChunk = new byte[4096];
    int n;

    while ( (n = is.read(byteChunk)) > 0 ) {
    baos.write(byteChunk, 0, n);
    }
  4. Replies
    4
    Views
    1,185

    [SOLVED] image url cannot be converted to bytes

    I want to get an image from a url, convert it into bytes and encrypt it using AES. However, when I try to compile the code for my Server, I get this error:


    Server1.java:77: error: cannot...
  5. Why do I get a java.lang.IllegalStateException error in cursor even though column rows are correct?

    I have a dictionary app which stores a word with the meaning, type (English,Chinese,Japanese etc) and favorite status (whether it's a favorite word). On 1 of my menu items, there's this item called...
  6. Replies
    2
    Views
    1,383

    Unable to sort words in dictionary app

    I have a dictionary app. It has the ability to add, favorite and delete words.

    I have the sort button on my menu to sort the words (descending in this case) but but when I click on it, nothing...
  7. Thread: Hello

    by wei123
    Replies
    0
    Views
    802

    Hello

    Hello, I'm new here as well :)
  8. Replies
    2
    Views
    808

    Re: Hello to the whole community.

    Hello!
  9. Thread: hello :)

    by wei123
    Replies
    1
    Views
    752

    hello :)

    Hello I'm new. Please be nice to me :)
Results 1 to 9 of 9