Discussion Board

Results 1 to 9 of 9

Hybrid View

  1. #1
    Registered User rekha2103's Avatar
    Join Date
    Feb 2011
    Posts
    11
    Hi all,
    I have made a j2me application which works on a http network but the response i get from the server is slow.
    And the user need to wait for few seconds before he gets a response and is re-directed to another page(form).
    Do i need to add a gauge for letting the user wait till he is re-directed to other page..is it good to add gauge after every page(form)...how do i solve this problem?
    is there any alternative available?

  2. #2
    Registered User vexed's Avatar
    Join Date
    Feb 2011
    Location
    Panama City Beach, FL
    Posts
    14
    Adding gauges are good so the user doesnt think its a bum app that is just going to timeout. You could also build a flash loader for it also. But as far as one from every page. Not such a good idea. The app will seem laggy and not receive good ratings. May I suggest moving your webserver to a more centralized backbone? There are many free services that you can use that are in more centralized locations for mobile phones to access quicker.

  3. #3
    Registered User johnf1_coolguy's Avatar
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    30
    Yes you can use a gauge on alert for each http request saying that some process in goin on and after some time throw a timeout for the connection,because user cant wait for so long. its better to give a timeout and to make the user feel comfort in retrying the request than to wait for the response!

  4. #4
    Registered User rekha2103's Avatar
    Join Date
    Feb 2011
    Posts
    11
    thank you for the help..i'll surely add gauges

  5. #5
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    Quote Originally Posted by rekha2103 View Post
    Hi all,
    I have made a j2me application which works on a http network but the response i get from the server is slow.
    And the user need to wait for few seconds before he gets a response and is re-directed to another page(form).
    Do i need to add a gauge for letting the user wait till he is re-directed to other page..is it good to add gauge after every page(form)...how do i solve this problem?
    is there any alternative available?
    Is all the forms or the pages of your application depends on the server response ? If yes.. then the app will useless in the scenarios of non availability of data network.
    Which is the case for browser based, so for providing better user experience to the end users... try to add some offline capabilities to you app.

    Server response is slow.... are you trying to generate the entire UI markup on the server side and then pushing it the client... try to minimize the data packets or the server response size for better User experience.
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

  6. #6
    Registered User rekha2103's Avatar
    Join Date
    Feb 2011
    Posts
    11
    Hi,Amithabh
    Yes,i need to ping the server for all my requests....for validation....to retrieve data and display to the user...
    i have no choice on that.

  7. #7
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    Quote Originally Posted by rekha2103 View Post
    Hi,Amithabh
    Yes,i need to ping the server for all my requests....for validation....to retrieve data and display to the user...
    i have no choice on that.
    I would still suggest to reduce the packet size of your server response, try to club few request together, move some validations to clientside if possible (/w static rules).
    You can also try to keep a network socket connection open (to avoid handshake time for every network call) and reuse the same pipe to get more data or client/server interaction when needed.
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

  8. #8
    Registered User bhanuchandar.k's Avatar
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868
    Hi Amitabh,

    I have few question :
    reduce the packet size of your server response
    What does this means ? Is it reducing the entire data size or Configuring the smaller MTU ?

    Which one will be the better smaller MTU or bigger MTU for faster data transfer.

  9. #9
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    I meant reduce the entire data size.

    I should not have used term packet size here, bigger MTU will be faster.

    Adding some type of catching infrastructure might also help.
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. HTTP request problem
    By Asif Nazir in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-04-09, 09:28
  2. Http request/response problem
    By mrekha01 in forum Symbian C++
    Replies: 3
    Last Post: 2007-02-01, 17:09
  3. Http request/response problem
    By mrekha01 in forum Symbian C++
    Replies: 4
    Last Post: 2007-02-01, 09:51
  4. Http get request problem
    By white_dragon in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-12-08, 10:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved