Discussion Board

Search:

Type: Posts; User: Infernal01; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,341

    How to get the IP ?

    Hello,

    I'm trying to get the mobile's IP, i've searched the internet but no luck so far. I've already tried:


    ServerSocketConnection scn =...
  2. Replies
    2
    Views
    1,846

    Re: Remove 3G icon when navigating ?

    Thanks, that was helpfull.
  3. Replies
    2
    Views
    1,846

    Remove 3G icon when navigating ?

    Hi,

    I'm developing a J2ME client that calls operations from a WS. Every time i make a call, the phone displayes the 3G icon on the top-left side of the screen, even tho my application is...
  4. Replies
    3
    Views
    1,295

    Re: Password encryption

    Thanks, Bouncy Castle seems a bit large, 1 MB :D
  5. Replies
    9
    Views
    4,877

    Re: Windows7, 64bit, how set up java tools

    Here is what i did on my Windows 7 64 bit:

    1. Install Java Runtime Environment (JRE)
    2. Install Java Standard Edition Development Kit (J2SE SDK)
    3. Install NetBeans IDE with everything included...
  6. Replies
    3
    Views
    1,295

    Password encryption

    Hi, what should i use for password encryption ? I'm not really familiar with the encryption styles, but i think i need something "one-way".

    On J2SE i use java.security.MessageDigest with SHA-256,...
  7. Re: How to make J2ME Application UI attractive??

    You can use Canvas and draw everything yourself, create custom text boxes, drop down menus, scrolls, etc. It can be alot of work, but you can reuse them and make them suite your desires.
  8. Replies
    15
    Views
    5,082

    Re: Retrieve XML from a WebService

    Thank you so much !!!

    It's working perfect, here is the code in case someone else needs it:



    public void callOperation() {
    try {
    SoapObject request = new...
  9. Replies
    15
    Views
    5,082

    Re: Retrieve XML from a WebService

    I don't understand
  10. Replies
    15
    Views
    5,082

    Re: Retrieve XML from a WebService

    The soap i read as response is not correct (i've read it with tcp monitor).

    I think my uploading code is not correct:


    SoapObject request = new SoapObject(namespace, "getDetails");
    ...
  11. Replies
    15
    Views
    5,082

    Re: Retrieve XML from a WebService

    That's the problem, i don't know how to read the response.
  12. Replies
    15
    Views
    5,082

    Re: Retrieve XML from a WebService

    One second...
  13. Replies
    15
    Views
    5,082

    Re: Retrieve XML from a WebService

    Wow thanks, it seems to be working, i get some kind of response, i just don't know how to read the xml inside it.

    What do i do with that SoapObject response ? I have to cast it to another object...
  14. Replies
    15
    Views
    5,082

    Retrieve XML from a WebService

    Sending XML to a web service is easy, i can use JAXB. But when retrieving, JAXB seems to not be supported by J2ME since i always get a class cast exception.

    What else can i do to retrieve XML code...
  15. Replies
    2
    Views
    1,539

    GPS coordinates retrieving is not working

    Hi, i'm having problems with the GPS, here is my code:


    try {
    Criteria cr = new Criteria();
    cr.setHorizontalAccuracy(500);
    LocationProvider lp = LocationProvider.getInstance(cr);
    ...
  16. Replies
    3
    Views
    2,187

    Re: What are the key codes for qwerty keys ?

    Thanks for your response.
    How usual is this ? I guess phones with Symbian but what about Windows Mobile phones ?

    Alex.
  17. Replies
    3
    Views
    2,187

    What are the key codes for qwerty keys ?

    Just like:


    public static final int UP = -1;
    public static final int DOWN = -2;
    public static final int LEFT = -3;
    public static final int RIGHT = -4;

    What...
  18. Re: Http Connection stream only sends 2048 bytes

    Graham, i love you !

    I was never good at using streams, i always skipped them, i should really start learning how to use them.

    It's working, and the complete code is:
    J2ME client code:

    ...
  19. Re: Http Connection stream only sends 2048 bytes

    I appreciate your help, i just tried both your suggestions but it's still not working.
  20. Re: Http Connection stream only sends 2048 bytes

    This is my servlet code:



    ServletInputStream in = request.getInputStream();
    byte[] data = null;
    int chunkSize = 512;
    int index = 0;
    int...
  21. Http Connection stream only sends 2048 bytes

    Hi, i'm having some trouble sending a byte array via http connection stream to servlet, here is my client code:


    byte[] bytes = ImageByteArray.getByteArrayFromImage(img); ...
  22. Replies
    4
    Views
    1,652

    Re: Retrieving an image from a web service ?

    Yes, thank you.

    I do have another question: this is the best way to transfer files, but is this the only way ?

    Alex
  23. Replies
    4
    Views
    1,652

    Re: Retrieving an image from a web service ?

    Maybe i should rephrase :)

    What are the options to exchange files between a J2ME application and a web service ?

    Are MTOM, SOAP with Attachments available ? I also read about sending files to a...
  24. Replies
    4
    Views
    1,652

    Retrieving an image from a web service ?

    So far i've been sending base64 with the pixel data, but this doesn't work so well.

    Is there any other way to get an image from a web service ? If yes, where do i start ?

    Thanks,
    Alex
  25. Re: Strange exception that only occurs the first time i call a WS operation

    No, but i only get this exception when i run the emulator. On the actual device it works fine.

    I always try the operation twice :)
Results 1 to 25 of 59
Page 1 of 3 1 2 3
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved