aspose file tools*
The moose likes Ranch Office and the fly likes mobile site - now smart detected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "mobile site - now smart detected" Watch "mobile site - now smart detected" New topic
Author

mobile site - now smart detected

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

We've had our mobile site available by special URL for almost a year now and a number of moderators have come to rely on it. That's plenty long that if there were problems, we'd know by now.

I'm happy to announce that the mobile site no longer requires a special URL. We are using detection to give you the right site. While we've tested it ourselves and it seems to work correctly, please post in this thread if that isn't the case.

If you just want to check out the mobile site and don't have a mobile device, it is still available by direct link. Or if you are on the mobile site and don't want it, there is a link at the bottom to switch back (you will have to do this each session though; post here if that is a problem and we will look at other solutions)

Logic
We are using the role that wireless devices that are not tablets get shown the mobile site by default. This means your BlackBerry and iPhone will see the mobile site, but your iPad will not.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Keith Flo
Ranch Hand

Joined: Nov 29, 2005
Posts: 128

Jeanne,

IE on Windows Phone 7 is not detected ... which is what I am using ... I get the regular home page. Which is fine ... hopefully you guys can add IE mobile ... the world is not all iPods ... (love the android devices too!)


kf
SCJP 5.0 (preparing for SCWCD)
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

I think you may be the only guy who has one of those

No, seriously, we'll check it out.


[Jess in Action][AskingGoodQuestions]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://madskristensen.net/post/Windows-Phone-7-user-agents.aspx
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

Keith,
Can you try it again?

I added this to the file:


It's more specific than I like which implies it will break at some point. If/when that happens, let us know here in the Ranch Office and we can update again.

And of course, the URL coderanch.com/mobile will continue to force the mobile view.
Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
The detection is not active when entering through www.javaranch.com?

Oh, and the mobile page is rendered slightly too wide when using Opera Mini on Android (portrait mode at 320x480 pixel).
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

Hauke Ingmar Schmidt wrote:The detection is not active when entering through www.javaranch.com?

javaranch.com does not have a mobile site. When you click the forums link, it should work.

Hauke Ingmar Schmidt wrote:Oh, and the mobile page is rendered slightly too wide when using Opera Mini on Android (portrait mode at 320x480 pixel).

Is it possible to get a screenshot of that? I don't follow what you mean. (Or a camera taking a picture of the screen.)
Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
I just meant I have to scroll horizontally, the content is not rendered to fit the width of the screen (like it is done in Android's stock browser). You can find a screenshot here. (Attachments don't work?)

Seems to be a change in behaviour with the latest Opera Mini update, some other sites had to adopt, too.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mobile site - now smart detected