Click to See Complete Forum and Search --> : display application on mobile screen
rajiv.birari
10-01-2008, 03:17 AM
Hello Friends
I am trying to write handheld.css file to macth application pages on mobile screen but I am newer for CSS and handheld concept.
please help me to write handheld file means which attribute and which class are define in handheld.css file.
If u have any other option/Suggestion to showing web pages on mobile screen
please suggest me.
My Basic Problem is
my application developed on jsp+html pages it's display on web browser perfectly
but I want display on mobile screen but it is not display proper manner
page display on mobile on top left space and remaing page showing black
it's not matching mobile screen size
Regards
RKB
Khalid Ali
10-03-2008, 01:38 PM
That is not a fun task because of the fact that you will have to take into account all different types of mobile devices, and what level of css support each individual device's wap/xHtml browser has implemented.
I would say use the bare minimum css (level 1) support in your pages if the the browser request is coming from a hand held device.
rajiv.birari
10-06-2008, 12:06 AM
That is not a fun task because of the fact that you will have to take into account all different types of mobile devices, and what level of css support each individual device's wap/xHtml browser has implemented.
I would say use the bare minimum css (level 1) support in your pages if the the browser request is coming from a hand held device.
Hello Khalid
thanks for ur reply
but I just want to show application on that mobile which are supporting on Java application.
RKB
Khalid Ali
10-06-2008, 03:40 PM
right and just as I mentioned in my prev post. Here is a line from your post
"my application developed on jsp+html pages it's display on web browser perfectly"
this means that your content is displayed in HTML (jsp is only server side has no bearing on the content once its sent back to browser), what you need to do is in your (may be in jsp) see where the request is coming from,
1. if from an http browser, then let the current system take care of it
2. If its coming from a hand held device then insert specifically formatted css file in the page.
rajiv.birari
10-07-2008, 12:56 AM
right and just as I mentioned in my prev post. Here is a line from your post
"my application developed on jsp+html pages it's display on web browser perfectly"
this means that your content is displayed in HTML (jsp is only server side has no bearing on the content once its sent back to browser), what you need to do is in your (may be in jsp) see where the request is coming from,
1. if from an http browser, then let the current system take care of it
2. If its coming from a hand held device then insert specifically formatted css file in the page.
Hello Khalid,
I am using html code but I am writting html code using JSP object "out"
for example -
out.println("<html><body></body></html>");
I am developing all JSP that way (not normal html code)
Can out.println support mobile display becz as per my knowleage most of the mobile are not support HTML and javascript code. they are support WML and XHTML.
Regards
RKB
Khalid Ali
10-07-2008, 02:03 PM
all new mobile devices support xHTML which is essentially html but only a well formed document.
So if you follow strict dtd standards in your html you should be ok. Using jsp still means all normal html code (because thats what you are sending to browser).
As far as mobile devices browsers are concerned, all they care is what type of content they are being served, it does not matter if the content was generated using JSP, ASP, PHP or by any other means.