It may be a little off topic, but actually on too... have you looked into pywurfl. http://wurfl.sourceforge.net/ This tool has been a great use for us with our mobile users. It is also the reason I wanted to have rendering thumbnails on the fly. So depending on the screen it sends an optimized image just for that phone. Regards, Jason
On Sat, 2009-07-11 at 14:43 -0700, John Divon wrote: > Hi All, > Thanks for all the replies! > > The point is that I can estimate the time the page is loaded if I am > using python time object at the controller, save it into the session > and then, at the end of the page, diff it with another python time > object. > > However, this solution estimates only the time the page is loaded - > which is usually very fast. Apparently, what I need to know is how > much time it took the user to see the page.... on some old mobile > devices, it takes up to 30 secs. before the page is displayed > (including opening the wap link) and I need to know if this is the > case. > > In addition, I am actually serving http pages and not wap pages - > don't know yet if this is an issue with response time since basically, > the connection with old phones is wap. > > BTW - I can see the phone model by using request.env.http_user_agent > > Thank you all. > > > > > > On Jul 12, 12:29 am, Jonathan Lundell <jlund...@pobox.com> wrote: > > On Jul 11, 2009, at 1:29 PM, John Divon wrote: > > > > > I have an application that serves mobile users as well. > > > For the mobile users, I need to be able to find out if loading the > > > page takes too much time. > > > I know that the user uses his mobile to view the page since it is a > > > specific page that has been pushed to his mobile. > > > > > How can I know the time it took the page to be displayed on the user's > > > mobile phone, and if it was successfully displayed? > > > > One possibility is to use JQuery to send back an AJAX message via the > > load event. > > > > See this:http://docs.jquery.com/Events/load > > > > (Don't confuse 'load' with 'ready'; the latter fires as soon as the > > DOM is built, and before all the other stuff has been loaded.) > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---