<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Nokia 6230 developer analysis</title>
	<atom:link href="http://billday.com/2004/04/10/nokia-6230-developer-analysis/feed/" rel="self" type="application/rss+xml" />
	<link>http://billday.com/2004/04/10/nokia-6230-developer-analysis/</link>
	<description>Thoughts on software development and mobility</description>
	<pubDate>Tue, 06 Jan 2009 13:45:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yair Barzilai</title>
		<link>http://billday.com/2004/04/10/nokia-6230-developer-analysis/comment-page-1/#comment-137</link>
		<dc:creator>Yair Barzilai</dc:creator>
		<pubDate>Wed, 11 Aug 2004 01:42:36 +0000</pubDate>
		<guid isPermaLink="false">/?p=116#comment-137</guid>
		<description>Hello,
My WML site sends a WML deck to 6230 browser.
A &lt;code&gt;do type="accept" ...&lt;/code&gt; paragraph with label ="send" ... is NOT presented or effective in any way, while it IS on a lot of other phones' browsers.

Thanks for any advice !!
YAir B.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
My WML site sends a WML deck to 6230 browser.<br />
A <code>do type="accept" ...</code> paragraph with label =&#8221;send&#8221; &#8230; is NOT presented or effective in any way, while it IS on a lot of other phones&#8217; browsers.</p>
<p>Thanks for any advice !!<br />
YAir B.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: schien wang</title>
		<link>http://billday.com/2004/04/10/nokia-6230-developer-analysis/comment-page-1/#comment-53</link>
		<dc:creator>schien wang</dc:creator>
		<pubDate>Tue, 18 May 2004 05:56:19 +0000</pubDate>
		<guid isPermaLink="false">/?p=116#comment-53</guid>
		<description>Why this program make VM of Nokia 6230 broke reboot&#65311;

package de.skkoeln.j2me;

import java.io.*;
import javax.microedition.lcdui.*;

import javax.microedition.midlet.*;
import javax.microedition.pki.CertificateException;

public class HTTPMIDlet
extends MIDlet
implements CommandListener, Runnable {
private static final int DEFAULT_COMMAND_PRIORITY = 1;
private static final Command EXIT_COMMAND = new Command("Exit", Command.EXIT,
DEFAULT_COMMAND_PRIORITY);

javax.microedition.lcdui.Form form;
javax.microedition.lcdui.Gauge gauge;
public HTTPMIDlet() {
form = new javax.microedition.lcdui.Form("J2EESOFT");
}

public void run() {

String reason;
try {
javax.microedition.io.HttpsConnection con = (
javax.microedition.io.HttpsConnection)
javax.microedition.io.Connector.open(
"https://nexus.passport.com/rdr/pprdr.asp");
/*in = con.openInputStream();
StringBuffer responseBuf;
long length = con.getLength();
if (length &gt; 0) {
responseBuf = new StringBuffer( (int) length);
}
else {
responseBuf = new StringBuffer();
}
int ch;
while ( (ch = in.read()) != -1) {
responseBuf.append( (char) ch);
}
String responseStr = responseBuf.toString();
String rewrittenUrl = con.getHeaderField("X-RewrittenURL");
String readServer = con.getHeaderField("Server");

if (rewrittenUrl != null) {
String url = rewrittenUrl;
}*/
//System.out.println(responseStr);
/*
int readResponseCode = con.getResponseCode();
TextBox textBox = new TextBox("ResponseCode",
Integer.toString(readResponseCode),
1000, TextField.UNEDITABLE);
textBox.addCommand(EXIT_COMMAND);
textBox.setCommandListener(this);
Display.getDisplay(this).setCurrent(textBox);
for (int i = 0; i &lt; 1000; i++) {
System.out.println(i);
}

Form waitForm = new Form("HTTPS SK TEST...");
Gauge gauge = new Gauge("Testing HTTPS...", false, Gauge.INDEFINITE,
Gauge.CONTINUOUS_RUNNING);
waitForm.append(gauge);
Display.getDisplay(this).setCurrent(waitForm);
for (int i = 0; i &lt; 500; i++) {
System.out.println(i);
}*/
String PassportURLs = con.getHeaderField("PassportURLs");
TextBox textBox = new TextBox("PassportURLs Info", PassportURLs,
PassportURLs.length(), TextField.UNEDITABLE);
textBox.addCommand(EXIT_COMMAND);
textBox.setCommandListener(this);
Display.getDisplay(this).setCurrent(textBox);

}
catch (CertificateException certEx) {
switch (certEx.getReason()) {
case CertificateException.BAD_EXTENSIONS:
reason = "Certificate contains unrecognized extensions";
break;
case CertificateException.BROKEN_CHAIN:
reason =
"Certificate was not issuied by next certificate in the chain";
break;
case CertificateException.CERTIFICATE_CHAIN_TOO_LONG:
reason = "Too long certificate chain";
break;
case CertificateException.EXPIRED:
reason = "Certificate has already expired";
break;
case CertificateException.INAPPROPRIATE_KEY_USAGE:
reason = "Certificate usage not acceptable";
break;
case CertificateException.MISSING_SIGNATURE:
reason = "Certificate does not contain a signature";
break;
case CertificateException.NOT_YET_VALID:
reason = "Attempte to use a Certificate not valid yet";
break;
case CertificateException.ROOT_CA_EXPIRED:
reason = "Certificate's root CA has expired";
break;
case CertificateException.SITENAME_MISMATCH:
reason = "Certificate's referred sitename is incorrect";
break;
case CertificateException.UNAUTHORIZED_INTERMEDIATE_CA:
reason = "One of the certificates in the chain is not authorized";
break;
case CertificateException.UNRECOGNIZED_ISSUER:
reason = "Certificate's issuer is unrecognized";
break;
case CertificateException.UNSUPPORTED_PUBLIC_KEY_TYPE:
reason = "The type of the public key is not supported";
break;
case CertificateException.UNSUPPORTED_SIGALG:
reason = "Certificate's signature algorithm is not supported";
break;
case CertificateException.VERIFICATION_FAILED:
reason = "Certificate could not be validated";
break;
default:
reason = "Unknown reason";
break;
}
TextBox bx = new TextBox("Fehler", reason, reason.toString().length(),
TextField.UNEDITABLE);
Display.getDisplay(this).setCurrent(bx);

}
catch (IOException ex) {
reason = ex.getMessage();
TextBox bx = new TextBox("Https Test Result", reason, reason.length(),
TextField.UNEDITABLE);
Display.getDisplay(this).setCurrent(bx);

}
}

public void commandAction(Command cmd, Displayable source) {
if (cmd == EXIT_COMMAND) {
try {
destroyApp(false);
}
catch (MIDletStateChangeException ex) {
}
notifyDestroyed();
}
}

protected void destroyApp(boolean p1) throws MIDletStateChangeException {
}

protected void startApp() throws MIDletStateChangeException {
Form waitForm = new Form("HTTPS SK TEST...");
Gauge gauge = new Gauge("Testing HTTPS...", false, Gauge.INDEFINITE,
Gauge.CONTINUOUS_RUNNING);
waitForm.append(gauge);
Display.getDisplay(this).setCurrent(waitForm);
Thread t = new Thread(this);
t.start();
}

protected void pauseApp() {
}
}

Pls help me, thanks

Schien Wang</description>
		<content:encoded><![CDATA[<p>Why this program make VM of Nokia 6230 broke reboot&#65311;</p>
<p>package de.skkoeln.j2me;</p>
<p>import java.io.*;<br />
import javax.microedition.lcdui.*;</p>
<p>import javax.microedition.midlet.*;<br />
import javax.microedition.pki.CertificateException;</p>
<p>public class HTTPMIDlet<br />
extends MIDlet<br />
implements CommandListener, Runnable {<br />
private static final int DEFAULT_COMMAND_PRIORITY = 1;<br />
private static final Command EXIT_COMMAND = new Command(&#8221;Exit&#8221;, Command.EXIT,<br />
DEFAULT_COMMAND_PRIORITY);</p>
<p>javax.microedition.lcdui.Form form;<br />
javax.microedition.lcdui.Gauge gauge;<br />
public HTTPMIDlet() {<br />
form = new javax.microedition.lcdui.Form(&#8221;J2EESOFT&#8221;);<br />
}</p>
<p>public void run() {</p>
<p>String reason;<br />
try {<br />
javax.microedition.io.HttpsConnection con = (<br />
javax.microedition.io.HttpsConnection)<br />
javax.microedition.io.Connector.open(<br />
&#8220;https://nexus.passport.com/rdr/pprdr.asp&#8221;);<br />
/*in = con.openInputStream();<br />
StringBuffer responseBuf;<br />
long length = con.getLength();<br />
if (length > 0) {<br />
responseBuf = new StringBuffer( (int) length);<br />
}<br />
else {<br />
responseBuf = new StringBuffer();<br />
}<br />
int ch;<br />
while ( (ch = in.read()) != -1) {<br />
responseBuf.append( (char) ch);<br />
}<br />
String responseStr = responseBuf.toString();<br />
String rewrittenUrl = con.getHeaderField(&#8221;X-RewrittenURL&#8221;);<br />
String readServer = con.getHeaderField(&#8221;Server&#8221;);</p>
<p>if (rewrittenUrl != null) {<br />
String url = rewrittenUrl;<br />
}*/<br />
//System.out.println(responseStr);<br />
/*<br />
int readResponseCode = con.getResponseCode();<br />
TextBox textBox = new TextBox(&#8221;ResponseCode&#8221;,<br />
Integer.toString(readResponseCode),<br />
1000, TextField.UNEDITABLE);<br />
textBox.addCommand(EXIT_COMMAND);<br />
textBox.setCommandListener(this);<br />
Display.getDisplay(this).setCurrent(textBox);<br />
for (int i = 0; i < 1000; i++) {<br />
System.out.println(i);<br />
}</p>
<p>Form waitForm = new Form(&#8221;HTTPS SK TEST&#8230;&#8221;);<br />
Gauge gauge = new Gauge(&#8221;Testing HTTPS&#8230;&#8221;, false, Gauge.INDEFINITE,<br />
Gauge.CONTINUOUS_RUNNING);<br />
waitForm.append(gauge);<br />
Display.getDisplay(this).setCurrent(waitForm);<br />
for (int i = 0; i < 500; i++) {<br />
System.out.println(i);<br />
}*/<br />
String PassportURLs = con.getHeaderField(&#8221;PassportURLs&#8221;);<br />
TextBox textBox = new TextBox(&#8221;PassportURLs Info&#8221;, PassportURLs,<br />
PassportURLs.length(), TextField.UNEDITABLE);<br />
textBox.addCommand(EXIT_COMMAND);<br />
textBox.setCommandListener(this);<br />
Display.getDisplay(this).setCurrent(textBox);</p>
<p>}<br />
catch (CertificateException certEx) {<br />
switch (certEx.getReason()) {<br />
case CertificateException.BAD_EXTENSIONS:<br />
reason = &#8220;Certificate contains unrecognized extensions&#8221;;<br />
break;<br />
case CertificateException.BROKEN_CHAIN:<br />
reason =<br />
&#8220;Certificate was not issuied by next certificate in the chain&#8221;;<br />
break;<br />
case CertificateException.CERTIFICATE_CHAIN_TOO_LONG:<br />
reason = &#8220;Too long certificate chain&#8221;;<br />
break;<br />
case CertificateException.EXPIRED:<br />
reason = &#8220;Certificate has already expired&#8221;;<br />
break;<br />
case CertificateException.INAPPROPRIATE_KEY_USAGE:<br />
reason = &#8220;Certificate usage not acceptable&#8221;;<br />
break;<br />
case CertificateException.MISSING_SIGNATURE:<br />
reason = &#8220;Certificate does not contain a signature&#8221;;<br />
break;<br />
case CertificateException.NOT_YET_VALID:<br />
reason = &#8220;Attempte to use a Certificate not valid yet&#8221;;<br />
break;<br />
case CertificateException.ROOT_CA_EXPIRED:<br />
reason = &#8220;Certificate&#8217;s root CA has expired&#8221;;<br />
break;<br />
case CertificateException.SITENAME_MISMATCH:<br />
reason = &#8220;Certificate&#8217;s referred sitename is incorrect&#8221;;<br />
break;<br />
case CertificateException.UNAUTHORIZED_INTERMEDIATE_CA:<br />
reason = &#8220;One of the certificates in the chain is not authorized&#8221;;<br />
break;<br />
case CertificateException.UNRECOGNIZED_ISSUER:<br />
reason = &#8220;Certificate&#8217;s issuer is unrecognized&#8221;;<br />
break;<br />
case CertificateException.UNSUPPORTED_PUBLIC_KEY_TYPE:<br />
reason = &#8220;The type of the public key is not supported&#8221;;<br />
break;<br />
case CertificateException.UNSUPPORTED_SIGALG:<br />
reason = &#8220;Certificate&#8217;s signature algorithm is not supported&#8221;;<br />
break;<br />
case CertificateException.VERIFICATION_FAILED:<br />
reason = &#8220;Certificate could not be validated&#8221;;<br />
break;<br />
default:<br />
reason = &#8220;Unknown reason&#8221;;<br />
break;<br />
}<br />
TextBox bx = new TextBox(&#8221;Fehler&#8221;, reason, reason.toString().length(),<br />
TextField.UNEDITABLE);<br />
Display.getDisplay(this).setCurrent(bx);</p>
<p>}<br />
catch (IOException ex) {<br />
reason = ex.getMessage();<br />
TextBox bx = new TextBox(&#8221;Https Test Result&#8221;, reason, reason.length(),<br />
TextField.UNEDITABLE);<br />
Display.getDisplay(this).setCurrent(bx);</p>
<p>}<br />
}</p>
<p>public void commandAction(Command cmd, Displayable source) {<br />
if (cmd == EXIT_COMMAND) {<br />
try {<br />
destroyApp(false);<br />
}<br />
catch (MIDletStateChangeException ex) {<br />
}<br />
notifyDestroyed();<br />
}<br />
}</p>
<p>protected void destroyApp(boolean p1) throws MIDletStateChangeException {<br />
}</p>
<p>protected void startApp() throws MIDletStateChangeException {<br />
Form waitForm = new Form(&#8221;HTTPS SK TEST&#8230;&#8221;);<br />
Gauge gauge = new Gauge(&#8221;Testing HTTPS&#8230;&#8221;, false, Gauge.INDEFINITE,<br />
Gauge.CONTINUOUS_RUNNING);<br />
waitForm.append(gauge);<br />
Display.getDisplay(this).setCurrent(waitForm);<br />
Thread t = new Thread(this);<br />
t.start();<br />
}</p>
<p>protected void pauseApp() {<br />
}<br />
}</p>
<p>Pls help me, thanks</p>
<p>Schien Wang</p>
]]></content:encoded>
	</item>
</channel>
</rss>
