×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    18

    java MIDlet wont connect via 3G but will connect to internet via WiFi

    We have built a java MIDlet that connects to a database on the internet. The application run fine and can connect to the db over WiFi however the same application will not connect via 3G. I am using a E71 but have been advise by testers that the application works fine on an e51 ?! I have tried setting my default access point etc but i still cant seem to make a connetion. Could this be an issue with how the 3G access point handles the packets ? any advice would be much appreciated

    thanks

    John

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java MIDlet wont connect via 3G but will connect to internet via WiFi

    What kind of connection do you use (HttpConnection, SocketConnection, ...)?

    Are both devices using the same operator, and both using a 3G connection?

    If you install Opera Mini (http://mini.opera.com), does it work?

    Cheers,
    Graham.

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    18

    Re: java MIDlet wont connect via 3G but will connect to internet via WiFi

    appologies for the late response to your question, the applicaiton initiates an http connecton back to a internet server. The app connects and authenticates fine using a wifi connection but when no wifi is avaliable it wont connect over GPRS.

  4. #4
    Registered User
    Join Date
    Apr 2009
    Posts
    18

    Re: java MIDlet wont connect via 3G but will connect to internet via WiFi

    i forgot to mention that we have pinned the applcation to use just a WAP connection, in case this issue is because our testphone has a number of wifi assosiations

  5. #5
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java MIDlet wont connect via 3G but will connect to internet via WiFi

    Quote Originally Posted by grahamhughes View Post
    Are both devices using the same operator, and both using a 3G connection?

    If you install Opera Mini (http://mini.opera.com), does it work?
    Would still be useful to know the answers to these two.

    Also: is the URL you are using for the connection using a domain name or an IP address?

    Graham.

  6. #6
    Registered User
    Join Date
    Apr 2009
    Posts
    18

    Re: java MIDlet wont connect via 3G but will connect to internet via WiFi

    graham

    hi, to answer yes mini opera does work and so do a number of other apps such as tinytwitter. also i can confirm that the app uses domain resolution to find our server.

    thanks

    john

  7. #7
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java MIDlet wont connect via 3G but will connect to internet via WiFi

    Hmmm... I'm at a bit of a loss. My favoured explanation would be that there is some screwy setting on that handset.

    If you can distill the HTTP connection code down to a minimal example (that still fails), and post it here, we can take a look. But I suspect your code is fine, and will work fine on a fresh E71.

    Graham.

Similar Threads

  1. Nokia 6300 Midlet can't connect
    By aebch in forum Mobile Java Networking & Messaging & Security
    Replies: 9
    Last Post: 2008-10-10, 22:17
  2. Trojan installation onto previous trusted Midlet suite?
    By guillermoTell in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-05-07, 08:40
  3. Accessing Internet from a midlet
    By lekkie in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-02-19, 13:28
  4. Midlet connecting via internet APN instead of WAP APN
    By roarl in forum Mobile Java General
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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