×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Hyderabad.
    Posts
    99

    can make a network operation without GUI in j2me application

    hi,
    I Want to use http connection to download an image from server for this i dont want to show any GUI to the user.
    i am invoking the application using pushregistry while it is not active.
    so my dought here is whether we can use the network operations internally with out showing any GUI to the user.

    Regards,
    basu.

  2. #2
    Regular Contributor
    Join Date
    Aug 2006
    Posts
    307

    Re: can make a network operation without GUI in j2me application

    IMHO you can do it without any problems, since the J2ME application must only extend the MIDlet class, and implement its methods startApp(), pauseApp() and destroyApp(). The only thing to do is just to put networking code into a thread.

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Hyderabad.
    Posts
    99

    Re: can make a network operation without GUI in j2me application

    hi,

    i did it and texted in emulator it shows a white screen and not getting exit from the application.
    means when i run it through OTA.
    does the same behaviour occurs in mobile also.
    Is there anything more i have to do.

  4. #4
    Regular Contributor
    Join Date
    Aug 2006
    Posts
    307

    Re: can make a network operation without GUI in j2me application

    I guess the only way to test it is try running on a real device. Some mobile phones are really showing an empty white screen, and also adding the Exit command (like Sony Ericsson), but a midlet without GUI is a tricky thing.

    If also the networking code takes place in application, it would be a more polite way to explain the user what's going on through a minimalistic GUI, because downloading take time, especially in real-world networks.

Similar Threads

  1. How to make a j2me application secure
    By atiqe in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-05-22, 18:21
  2. Replies: 1
    Last Post: 2006-03-08, 04:41
  3. Replies: 1
    Last Post: 2003-10-17, 08:45
  4. Start a J2ME application by OTA
    By hbfornies in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2003-09-24, 17:14
  5. Start a J2ME application by OTA
    By hbfornies in forum Mobile Java General
    Replies: 1
    Last Post: 2003-09-23, 10:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×