Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it OK to leave GPRS connection open?

 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a midlet that makes occassional contact with a server via GPRS.

For each contact, I've noticed quicker performance if I leave the httpconnection open all the time (so only close it when the midlet exits).

But I'm wondering if this is good practice, or if anyone has any words of warning, etc?

Cheers,
James
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic