Re: Get Device Screen Size - J2ME

Abhinav Holkar <[email protected]> Thu, 28 Aug 2008 13:00:02 +0530
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
--_000_B8B01CF080ADE24BA0284FB8D2C4EBC227857F86D6mail1impetusc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Hi Ankit,
                      Please use  " Displayable.getWidth() / getHeight()...=
." .


Best regards,
Abhinav
Impetus
-----Original Message-----
From: A mailing list for KVM discussion [mailto:[email protected]] =
On Behalf Of Ankit Shah
Sent: Thursday, August 28, 2008 12:41 PM
To: [email protected]
Subject: Get Device Screen Size - J2ME

Hi,

I am developing application for MIDP 2.0 based devices and and i would like=
 to fetch mobile device screen size programmatically. Is there any way thro=
ugh which i can get device screen size/resolution?

Any help and support is much appreciated. Thank you.

Best Regards,
Ankit
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 To unsubscribe, send email to [email protected] and include in the bod=
y of the message "signoff KVM-INTEREST". For general help, send email to li=
[email protected] and include in the body of the message "help".

________________________________
NOTE: This message may contain information that is confidential, proprietar=
y, privileged or otherwise protected by law. The message is intended solely=
 for the named addressee. If received in error, please destroy and notify t=
he sender. Any use of this email is prohibited when received in error. Impe=
tus does not represent, warrant and/or guarantee, that the integrity of thi=
s communication has been maintained nor that the communication is free of e=
rrors, virus, interception or interference.

Impetus is the winner of the Economic Times Intel Smart Workplace Awards 20=
08 and the CNBC emerging India 2008. Visit www.impetus.com for details.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".

--_000_B8B01CF080ADE24BA0284FB8D2C4EBC227857F86D6mail1impetusc_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"Section1">
<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span=
 style=3D"font-size:
10.0pt;font-family:Arial;color:navy">&nbsp;</span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span=
 style=3D"font-size:
10.0pt;font-family:Arial;color:navy">Hi Ankit,</span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span=
 style=3D"font-size:
10.0pt;font-family:Arial;color:navy">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; Please use &nbsp;&#8220;
<b><span style=3D"font-weight:bold">Displayable.getWidth() / getHeight()</s=
pan></b>&#8230;.&#8221; .</span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span=
 style=3D"font-size:
10.0pt;font-family:Arial;color:navy">&nbsp;</span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span=
 style=3D"font-size:
10.0pt;font-family:Arial;color:navy">&nbsp;</span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span=
 style=3D"font-size:
10.0pt;font-family:Arial;color:navy">Best regards,</span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" color=3D"navy" face=3D"Arial"><span=
 style=3D"font-size:
10.0pt;font-family:Arial;color:navy">Abhinav</span></font></p>
<p class=3D"MsoNormal"><b><i><font size=3D"2" color=3D"navy" face=3D"Arial"=
><span style=3D"font-size:10.0pt;font-family:Arial;color:navy;font-weight:b=
old;
font-style:italic">Impetus</span></font></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><font size=3D"2" face=3D"=
Tahoma"><span style=3D"font-size:10.0pt;font-family:Tahoma">-----Original M=
essage-----<br>
<b><span style=3D"font-weight:bold">From:</span></b> A mailing list for KVM=
 discussion [mailto:[email protected]]
<b><span style=3D"font-weight:bold">On Behalf Of </span></b>Ankit Shah<br>
<b><span style=3D"font-weight:bold">Sent:</span></b> </span></font><font si=
ze=3D"2" face=3D"Tahoma"><span style=3D"font-size:10.0pt;font-family:Tahoma=
">Thursday, August 28, 2008</span></font><font size=3D"2" face=3D"Tahoma"><=
span style=3D"font-size:
10.0pt;font-family:Tahoma">
</span></font><font size=3D"2" face=3D"Tahoma"><span style=3D"font-size:10.=
0pt;font-family:Tahoma">12:41 PM</span></font><font size=3D"2" face=3D"Taho=
ma"><span style=3D"font-size:10.0pt;font-family:Tahoma"><br>
<b><span style=3D"font-weight:bold">To:</span></b> [email protected]=
M<br>
<b><span style=3D"font-weight:bold">Subject:</span></b> Get Device Screen S=
ize - J2ME</span></font></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><font size=3D"3" face=3D"=
Times New Roman"><span style=3D"font-size:12.0pt">&nbsp;</span></font></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-right:0in;margin-bottom:12.0pt;margi=
n-left:
.5in">
<font size=3D"3" face=3D"Verdana"><span style=3D"font-size:12.0pt;font-fami=
ly:Verdana">Hi,<br>
<br>
I am developing application for MIDP 2.0 based devices and and i would like=
 to fetch mobile device screen size programmatically.</span></font>
<font face=3D"Verdana"><span style=3D"font-family:Verdana">Is there any way=
 through which i can get device screen size/resolution?<br>
<br>
Any help and support is much appreciated. Thank you.<br>
<br>
Best Regards,<br>
Ankit<br clear=3D"all">
</span></font></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><font size=3D"3" face=3D"=
Times New Roman"><span style=3D"font-size:12.0pt">=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D To unsubscribe, send em=
ail to [email protected] and include in
 the body of the message &quot;signoff KVM-INTEREST&quot;. For general help=
, send email to [email protected] and include in the body of the messag=
e &quot;help&quot;.
</span></font></p>
</div>
<br>
<hr>
<font face=3D"Arial" color=3D"Gray" size=3D"1">NOTE: This message may conta=
in information that is confidential, proprietary, privileged or otherwise p=
rotected by law. The message is intended solely for the named addressee. If=
 received in error, please destroy and
 notify the sender. Any use of this email is prohibited when received in er=
ror. Impetus does not represent, warrant and/or guarantee, that the integri=
ty of this communication has been maintained nor that the communication is =
free of errors, virus, interception
 or interference.<br>
<br>
Impetus is the winner of the Economic Times Intel Smart Workplace Awards 20=
08 and the CNBC emerging India 2008. Visit www.impetus.com for details.<br>
</font>
</body>
</html>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".

--_000_B8B01CF080ADE24BA0284FB8D2C4EBC227857F86D6mail1impetusc_--