<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/microemulator/patches/" rel="alternate"/><link href="https://sourceforge.net/p/microemulator/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/microemulator/patches/</id><updated>2009-07-10T20:37:43Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Android Form.delete(int) implementation</title><link href="https://sourceforge.net/p/microemulator/patches/39/" rel="alternate"/><published>2009-07-10T20:37:43Z</published><updated>2009-07-10T20:37:43Z</updated><author><name>kruch</name><uri>https://sourceforge.net/u/kruch/</uri></author><id>https://sourceforge.net3c11c7039c496d7fca4986ac37634d477626f79a</id><summary type="html">&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;</summary></entry><entry><title>ChoiceGroup getString impl incomplete</title><link href="https://sourceforge.net/p/microemulator/patches/38/" rel="alternate"/><published>2009-07-10T20:33:45Z</published><updated>2009-07-10T20:33:45Z</updated><author><name>kruch</name><uri>https://sourceforge.net/u/kruch/</uri></author><id>https://sourceforge.netf7090d015162b120a8226a9a88e07764dbbcd2ab</id><summary type="html">&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;</summary></entry><entry><title>Android: Form.delete(int) implementation</title><link href="https://sourceforge.net/p/microemulator/patches/37/" rel="alternate"/><published>2009-07-10T19:24:33Z</published><updated>2009-07-10T19:24:33Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netef63465763720d445d20608ee868d7eb94741a98</id><summary type="html">&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;</summary></entry><entry><title>Android: Form.delete(int) implementation</title><link href="https://sourceforge.net/p/microemulator/patches/36/" rel="alternate"/><published>2009-07-10T15:58:23Z</published><updated>2009-07-10T15:58:23Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net70e27f87f9003a52f263d17d62ab7cc3f0dfc150</id><summary type="html">&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;</summary></entry><entry><title>HttpURLConnection implementation issue</title><link href="https://sourceforge.net/p/microemulator/patches/35/" rel="alternate"/><published>2009-02-18T12:19:12Z</published><updated>2009-02-18T12:19:12Z</updated><author><name>Marcin Erdmann</name><uri>https://sourceforge.net/u/erdi84/</uri></author><id>https://sourceforge.netcb2f62329a6f97bdc8097f0974e755836ec9359e</id><summary type="html">&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;</summary></entry><entry><title>ADD: Android: drawArc() and fillArc() methods implementation</title><link href="https://sourceforge.net/p/microemulator/patches/34/" rel="alternate"/><published>2008-12-30T12:43:05Z</published><updated>2008-12-30T12:43:05Z</updated><author><name>Maksim Solodovnikov</name><uri>https://sourceforge.net/u/solmaks/</uri></author><id>https://sourceforge.net5af57da0d3aa80417573647cd255f58a83ddd56d</id><summary type="html">&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;</summary></entry><entry><title>FIX: Android: Invalid anchor positioning during drawing text</title><link href="https://sourceforge.net/p/microemulator/patches/33/" rel="alternate"/><published>2008-12-10T15:50:15Z</published><updated>2008-12-10T15:50:15Z</updated><author><name>Maksim Solodovnikov</name><uri>https://sourceforge.net/u/solmaks/</uri></author><id>https://sourceforge.net9f8e64cf316b043b9931c1ff91deff6c579c42e8</id><summary type="html">&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;</summary></entry><entry><title>Support paint for CustomItem</title><link href="https://sourceforge.net/p/microemulator/patches/32/" rel="alternate"/><published>2008-09-02T15:16:42Z</published><updated>2008-09-02T15:16:42Z</updated><author><name>pascal</name><uri>https://sourceforge.net/u/pascallambert/</uri></author><id>https://sourceforge.net134d6ae9ddb0b26687fa2797db705148a88715d0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Basic implementation to support paint(...) for CustomItem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>--quit param</title><link href="https://sourceforge.net/p/microemulator/patches/31/" rel="alternate"/><published>2008-07-23T20:21:11Z</published><updated>2008-07-23T20:21:11Z</updated><author><name>pascal</name><uri>https://sourceforge.net/u/pascallambert/</uri></author><id>https://sourceforge.net7fc0719004fbb4ac3cc44179d709c138efddac80</id><summary type="html">&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;</summary></entry><entry><title>Put calls to hideNotify on the EventDispatcher</title><link href="https://sourceforge.net/p/microemulator/patches/30/" rel="alternate"/><published>2008-07-11T19:14:53Z</published><updated>2008-07-11T19:14:53Z</updated><author><name>Will Jordan</name><uri>https://sourceforge.net/u/necrosaro/</uri></author><id>https://sourceforge.netf0ca81494399545052211522c2043d86d7c196a5</id><summary type="html">&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;</summary></entry></feed>