You Are Here:

Community: Developer Discussion Boards

#1 Old can make a network operation without GUI in j2me application - 2007-06-21, 09:12

Join Date: Mar 2003
Posts: 85
Location: Hyderabad.
Send a message via MSN to Basu Send a message via Yahoo to Basu
Basu
Offline
Regular Contributor
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.
Reply With Quote

#2 Old Re: can make a network operation without GUI in j2me application - 2007-06-21, 13:33

Join Date: Aug 2006
Posts: 307
axs
Offline
Regular Contributor
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.
Reply With Quote

#3 Old Re: can make a network operation without GUI in j2me application - 2007-06-21, 14:56

Join Date: Mar 2003
Posts: 85
Location: Hyderabad.
Send a message via MSN to Basu Send a message via Yahoo to Basu
Basu
Offline
Regular Contributor
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.
Reply With Quote

#4 Old Re: can make a network operation without GUI in j2me application - 2007-06-23, 11:30

Join Date: Aug 2006
Posts: 307
axs
Offline
Regular Contributor
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.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a j2me application secure atiqe Mobile Java Networking & Messaging & Security 2 2007-05-22 19:21
6620 doesn't suspend j2me application when answering an incoming call? mmacvicar Mobile Java General 1 2006-03-08 05:41
Capability of J2ME application to disable Nokia 6600 inbuilt features like microphone akansha18 Mobile Java General 1 2003-10-17 09:45
Start a J2ME application by OTA hbfornies Mobile Java Networking & Messaging & Security 1 2003-09-24 18:14
Start a J2ME application by OTA hbfornies Mobile Java General 1 2003-09-23 11:01

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia