<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/microemulator/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/microemulator/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 10 Jul 2009 20:37:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/microemulator/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Android Form.delete(int) implementation</title><link>https://sourceforge.net/p/microemulator/patches/39/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Android Form.delete(int) is not implementated. Proposed implementation attached.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kruch</dc:creator><pubDate>Fri, 10 Jul 2009 20:37:43 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3c11c7039c496d7fca4986ac37634d477626f79a</guid></item><item><title>ChoiceGroup getString impl incomplete</title><link>https://sourceforge.net/p/microemulator/patches/38/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Android "codepath" for ChoiceGroup getString(int) is not implemented. Patch attached.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kruch</dc:creator><pubDate>Fri, 10 Jul 2009 20:33:45 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf7090d015162b120a8226a9a88e07764dbbcd2ab</guid></item><item><title>Android: Form.delete(int) implementation</title><link>https://sourceforge.net/p/microemulator/patches/37/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="index-androidformuijava"&gt;Index: AndroidFormUI.java&lt;/h1&gt;
&lt;p&gt;--- AndroidFormUI.java  (revision 2109)&lt;br /&gt;
+++ AndroidFormUI.java  (working copy)&lt;br /&gt;
@@ -97,8 +97,12 @@&lt;br /&gt;
return appendTransfer;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;-       public void delete(int itemNum) {&lt;br /&gt;
-               System.out.println("delete(int itemNum)");&lt;br /&gt;
+       public void delete(final int itemNum) {&lt;br /&gt;
+               activity.post(new Runnable() {&lt;br /&gt;
+                       public void run() {&lt;br /&gt;
+                               listView.removeViewAt(itemNum);&lt;/p&gt;
&lt;p&gt;+                       }&lt;br /&gt;
+               });&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public void deleteAll() {&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 10 Jul 2009 19:24:33 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netef63465763720d445d20608ee868d7eb94741a98</guid></item><item><title>Android: Form.delete(int) implementation</title><link>https://sourceforge.net/p/microemulator/patches/36/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="index-androidformuijava"&gt;Index: AndroidFormUI.java&lt;/h1&gt;
&lt;p&gt;--- AndroidFormUI.java  (revision 2109)&lt;br /&gt;
+++ AndroidFormUI.java  (working copy)&lt;br /&gt;
@@ -97,8 +97,12 @@&lt;br /&gt;
return appendTransfer;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;-       public void delete(int itemNum) {&lt;br /&gt;
-               System.out.println("delete(int itemNum)");&lt;br /&gt;
+       public void delete(final int itemNum) {&lt;br /&gt;
+               activity.post(new Runnable() {&lt;br /&gt;
+                       public void run() {&lt;br /&gt;
+                               listView.removeViewAt(itemNum);&lt;/p&gt;
&lt;p&gt;+                       }&lt;br /&gt;
+               });&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public void deleteAll() {&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 10 Jul 2009 15:58:23 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net70e27f87f9003a52f263d17d62ab7cc3f0dfc150</guid></item><item><title>HttpURLConnection implementation issue</title><link>https://sourceforge.net/p/microemulator/patches/35/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;According to this javadoc:&lt;br /&gt;
&lt;a href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/HttpURLConnection.html#getHeaderFieldKey\" rel="nofollow"&gt;http://java.sun.com/j2se/1.5.0/docs/api/java/net/HttpURLConnection.html#getHeaderFieldKey\&lt;/a&gt;(int) "Some implementations may treat the 0th header field as special, i.e. as the status line returned by the HTTP server". This is the case for Sun's java implementation for Linux. In J2ME there is no such "special" fields, so 0th header is always 0th header, not a return code or anything else. Some libraries relay on this, like for example Mobile Ajax for J2ME (https://meapplicationdevelopers.dev.java.net/mobileajax.html) when parsing response headers. We are using this library in our project, so to make Microemulator compatible with J2ME in this matter I'm providing this small patch. It adds one to header index if the 0th header key is null and 0th header value is not null.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcin Erdmann</dc:creator><pubDate>Wed, 18 Feb 2009 12:19:12 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netcb2f62329a6f97bdc8097f0974e755836ec9359e</guid></item><item><title>ADD: Android: drawArc() and fillArc() methods implementation</title><link>https://sourceforge.net/p/microemulator/patches/34/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Problem:&lt;br /&gt;
Calls to javax.microedition.lcdui.Graphics.drawArc() and javax.microedition.lcdui.Graphics.fillArc() methods were ignored.&lt;/p&gt;
&lt;p&gt;Reason:&lt;br /&gt;
drawArc() and fillArc() methods in org.microemu.android.device.AndroidDisplayGraphics class were not implemented.&lt;/p&gt;
&lt;p&gt;Resolution:&lt;br /&gt;
Patch attached.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maksim Solodovnikov</dc:creator><pubDate>Tue, 30 Dec 2008 12:43:05 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net5af57da0d3aa80417573647cd255f58a83ddd56d</guid></item><item><title>FIX: Android: Invalid anchor positioning during drawing text</title><link>https://sourceforge.net/p/microemulator/patches/33/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Problem:&lt;br /&gt;
Calls to javax.microedition.lcdui.Graphics.drawString() method from midlets output incorrectly positioned text to display.&lt;/p&gt;
&lt;p&gt;Reason:&lt;br /&gt;
org.microemu.android.device.AndroidDisplayGraphics.drawString() method does not use metrics from currently active font when translating J2ME anchors to Android anchors.&lt;/p&gt;
&lt;p&gt;Resolution:&lt;br /&gt;
Patch attached.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maksim Solodovnikov</dc:creator><pubDate>Wed, 10 Dec 2008 15:50:15 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9f8e64cf316b043b9931c1ff91deff6c579c42e8</guid></item><item><title>Support paint for CustomItem</title><link>https://sourceforge.net/p/microemulator/patches/32/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Basic implementation to support paint(...) for CustomItem.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pascal</dc:creator><pubDate>Tue, 02 Sep 2008 15:16:42 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net134d6ae9ddb0b26687fa2797db705148a88715d0</guid></item><item><title>--quit param</title><link>https://sourceforge.net/p/microemulator/patches/31/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I found useful to exit the Emulator when we terminate the midlet.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pascal</dc:creator><pubDate>Wed, 23 Jul 2008 20:21:11 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7fc0719004fbb4ac3cc44179d709c138efddac80</guid></item><item><title>Put calls to hideNotify on the EventDispatcher</title><link>https://sourceforge.net/p/microemulator/patches/30/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The call to hideNotify() in Display.clean() should be sent to the Event Dispatcher rather than called directly, in order to satisfy the serial event delivery requirement in the MIDP spec. Otherwise hideNotify() may be called before previous application events placed in the queue are completed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Will Jordan</dc:creator><pubDate>Fri, 11 Jul 2008 19:14:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf0ca81494399545052211522c2043d86d7c196a5</guid></item></channel></rss>