×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    158

    On gorilla test of our mobile application realted to network connection and close

    Hi,

    We are trying gorilla testing of our mobile application feature, which is supposed to connect to a server and upload some data.
    User would have option to cancel this operation in between.

    When we do initate connection open and cancel rapidly and repeate open again immediately..

    In all the nokia phones, N73, N70 and 6600 after 10 such times, 11th time connection fails..

    We are closing all the opened connections properly.

    Has any one observed similar behaviours and any leads on what else is wrong.

    Regards,
    Raja Nagendra Kumar,
    C.T.O
    www.tejasoft.com

  2. #2
    Registered User
    Join Date
    Nov 2005
    Posts
    158

    Re: On gorilla test of our mobile application realted to network connection and close

    The 11th time though connection fails.. we see no exception beeing thrown on connection.open.. This is hurting the logic of providing a message to the user

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: On gorilla test of our mobile application realted to network connection and close

    Quote Originally Posted by nagkumar View Post
    cancel rapidly and repeate open again immediately.
    How you are canceling the connection and then again opening the same...
    I guess that if you are talking about that canceling that happens at the time of the prompt like "Allow user to access the .."
    Then if you are pressing No then..again you can not open the connection without exiting the application..
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  4. #4
    Registered User
    Join Date
    Nov 2005
    Posts
    158

    Re: On gorilla test of our mobile application realted to network connection and close

    Ours is a singed midlet and has no problems as the user configured to allow all.

    We are canceling by form command which in turn calls the out and in close() methods. of the InputStream, OutputStream and connection object

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

    Re: On gorilla test of our mobile application realted to network connection and close

    How are you calling close() on connections and streams when they are not open yet? From a different thread?

    Until Connection.open() returns, the connection is not open. Closing it will do nothing, and it will still continue to open.

    I'm surprised the limit is ten... it used to be much higher...

  6. #6
    Registered User
    Join Date
    Nov 2005
    Posts
    158

    Re: On gorilla test of our mobile application realted to network connection and close

    Great.. I see good clues from you reply raj. May be I need to get out of previous open call on cancel. Let me try this.

Similar Threads

  1. reset or close a bluetooth connection
    By eskrishna in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-05-29, 14:16
  2. Close HTTP Connection bug ???
    By cars2004 in forum Mobile Java General
    Replies: 11
    Last Post: 2006-08-26, 01:35
  3. Close HTTp Connection in N6230i
    By cars2004 in forum Mobile Java General
    Replies: 1
    Last Post: 2005-06-24, 10:46
  4. Close HTTp Connection in N6230i
    By cars2004 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-06-24, 09:29
  5. How to discover a connection close
    By jacobckh in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-10-21, 09: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
  •  
×