Detecting screen size
is it possible to detect the user screen size eg. 800X600 then direct them to a web site depending on thier screeen size if so how would this be done ?
i have very little java experiacne
so please make as clear as possible
thanking u in advance
Maybe this will do, though you are talking about resolution and this one is more of the size of the screen.
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
The Dimension class has the getWidth(), getHeight() methods, and other methods that would help you get what you want when it comes to size and stuff.
Check the classes responsible, as there must be something that handles your question directly.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center