<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Main : Thread List - Java ME</title>
    <link>http://developer.sonyericsson.com/community/community/java_me/java_me?view=discussions</link>
    <description>Latest Forum Threads in Java ME</description>
    <language>en</language>
    <pubDate>Sat, 21 Nov 2009 16:34:27 GMT</pubDate>
    <generator>Clearspace 2.5.7 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-11-21T16:34:27Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Need OS for K800i</title>
      <link>http://developer.sonyericsson.com/community/thread/50116</link>
      <description>&lt;!-- [DocumentBodyStart:33399bda-f7f0-489e-87fa-dc647c12ba97] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;My mobile is Sony Ericsson K800i. Unfortunatley the OS is currupted. Can anyone tell me where to download OS for K800i?&lt;/p&gt;&lt;p&gt;Thanks in advance...&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:33399bda-f7f0-489e-87fa-dc647c12ba97] --&gt;</description>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">k800i</category>
      <pubDate>Fri, 20 Nov 2009 11:56:05 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50116</guid>
      <dc:date>2009-11-20T11:56:05Z</dc:date>
      <clearspace:dateToText>15 hours, 24 minutes ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>KXML problem on sony ericsson</title>
      <link>http://developer.sonyericsson.com/community/thread/50119</link>
      <description>&lt;!-- [DocumentBodyStart:a89d8782-e61c-4bad-949e-95d9fcad01cc] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hi,&lt;br/&gt; &lt;br/&gt; i'm using KXML to parse a XML file. On other devices (e.g. nokia) it works perfectly but on Sony Ericsson (e.g. K550) i get an parsing error with the same code.&lt;br/&gt; &lt;br/&gt; XML structure:&lt;/p&gt;&lt;!--[CodeBlockStart:63595d57-d2c8-485f-b89c-48b98a1ca4bc]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-xml"&gt;&lt;span class="jive-xml-tag"&gt;&amp;lt;Plan version="1"&amp;gt;&lt;/span&gt;
    &lt;span class="jive-xml-tag"&gt;&amp;lt;task name="Call Marry" type="1"&amp;gt;&lt;/span&gt;
        &lt;span class="jive-xml-tag"&gt;&amp;lt;description&amp;gt;&lt;/span&gt;The description about the call&lt;span class="jive-xml-tag"&gt;&amp;lt;/description&amp;gt;&lt;/span&gt;
        &lt;span class="jive-xml-tag"&gt;&amp;lt;field name="Answers"&amp;gt;&lt;/span&gt;&lt;span class="jive-xml-tag"&gt;&amp;lt;/field&amp;gt;&lt;/span&gt;
    &lt;span class="jive-xml-tag"&gt;&amp;lt;/task&amp;gt;&lt;/span&gt;
    &lt;span class="jive-xml-tag"&gt;&amp;lt;task name="Buy food" type="1"&amp;gt;&lt;/span&gt;
        &lt;span class="jive-xml-tag"&gt;&amp;lt;description&amp;gt;&lt;/span&gt;The description about buying food&lt;span class="jive-xml-tag"&gt;&amp;lt;/description&amp;gt;&lt;/span&gt;
        &lt;span class="jive-xml-tag"&gt;&amp;lt;field name="Problems"&amp;gt;&lt;/span&gt;&lt;span class="jive-xml-tag"&gt;&amp;lt;/field&amp;gt;&lt;/span&gt;
    &lt;span class="jive-xml-tag"&gt;&amp;lt;/task&amp;gt;&lt;/span&gt;
    &lt;span class="jive-xml-tag"&gt;&amp;lt;task name="Meeting with John" type="2"&amp;gt;&lt;/span&gt;
        &lt;span class="jive-xml-tag"&gt;&amp;lt;description&amp;gt;&lt;/span&gt;The description about the meeting&lt;span class="jive-xml-tag"&gt;&amp;lt;/description&amp;gt;&lt;/span&gt;
        &lt;span class="jive-xml-tag"&gt;&amp;lt;field name="Topics"&amp;gt;&lt;/span&gt;&lt;span class="jive-xml-tag"&gt;&amp;lt;/field&amp;gt;&lt;/span&gt;
        &lt;span class="jive-xml-tag"&gt;&amp;lt;field name="Notes"&amp;gt;&lt;/span&gt;&lt;span class="jive-xml-tag"&gt;&amp;lt;(field&amp;gt;&lt;/span&gt;
    &lt;span class="jive-xml-tag"&gt;&amp;lt;/task&amp;gt;&lt;/span&gt;
&lt;span class="jive-xml-tag"&gt;&amp;lt;/Plan&amp;gt;&lt;/span&gt;



&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:63595d57-d2c8-485f-b89c-48b98a1ca4bc]--&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Parsing Code:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:cc312a28-7bc9-4181-a461-1ed3c325e5b5]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;&lt;font color="navy"&gt;&lt;b&gt;do&lt;/b&gt;&lt;/font&gt; &lt;font color="navy"&gt;{&lt;/font&gt;
      &lt;font color="navy"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/font&gt; (parser.getAttributeValue(POSITION_TYPE).equals(TYPE_ONE_FIELD)) &lt;font color="navy"&gt;{&lt;/font&gt; 
                String name = parser.getAttributeValue(FIRST_VALUE);
                String type = parser.getAttributeValue(Second_VALUE);
                parser.nextTag();
                String description = parser.nextText();
                parser.nextTag();
                String textfieldname = parser.getAttributeValue(FIRST_VALUE);           
                parser.nextTag();
                parser.nextTag();
                parser.nextTag();
                TypeOnefield t = &lt;font color="navy"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/font&gt; TypeOnefield(name, type, description, textfieldname);
                tasks.addElement(t);
     &lt;font color="navy"&gt;&lt;b&gt;else&lt;/b&gt;&lt;/font&gt; &lt;font color="navy"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/font&gt;(parser.getAttributeValue(POSITION_TYPE).equals(TYPE_TWO_FIELD))&lt;font color="navy"&gt;{&lt;/font&gt;
                String name = parser.getAttributeValue(FIRST_VALUE);
                String type = parser.getAttributeValue(Second_VALUE);
                parser.nextTag();
                String description = parser.nextText();
                parser.nextTag();
                String textfieldname1 = parser.getAttributeValue(FIRST_VALUE);
                parser.nextTag();
                parser.nextTag();
                String textfieldname2 = parser.getAttributeValue(FIRST_VALUE);
                parser.nextTag();
                parser.nextTag();
                parser.nextTag();
                TypeTwofield t = &lt;font color="navy"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/font&gt; TypeTwofield(name, type, description, textfieldname1, textfieldname2);
                tasks.addElement(t);
     &lt;font color="navy"&gt;}&lt;/font&gt;
&lt;font color="navy"&gt;}&lt;/font&gt; &lt;font color="navy"&gt;&lt;b&gt;while&lt;/b&gt;&lt;/font&gt; (!parser.getName().equals(&lt;font color="red"&gt;"Plan"&lt;/font&gt;));
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:cc312a28-7bc9-4181-a461-1ed3c325e5b5]--&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;With the parser i get the information out of the XML file and store it in the tasks vector. I return the vector later on to the view class and there it will be displayed on the phone (or not if i get a empty vector back...).&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When i run it in the Sony Ericsson emulator it works..but on the phones i get a Nullpointerexception (because the view gets no data from the parser...). But whats wrong with my parser code and why does it work on some other brands?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope you can help me...I'm running out of ideas.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Matze&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a89d8782-e61c-4bad-949e-95d9fcad01cc] --&gt;</description>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">xml</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">j2me</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">parser</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">emulator</category>
      <pubDate>Fri, 20 Nov 2009 21:59:48 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50119</guid>
      <dc:date>2009-11-20T21:59:48Z</dc:date>
      <clearspace:dateToText>1 day, 9 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>[K800i] Player.getDuration() maxed out ?</title>
      <link>http://developer.sonyericsson.com/community/thread/50106</link>
      <description>&lt;!-- [DocumentBodyStart:0fda8b74-eaaa-4877-a101-d82940951991] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have been feeding a Player a MP3 chunk :&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;ByteArrayInputStream is = new ByteArrayInputStream(passedData);&lt;br/&gt;Player newPlayer = Manager.createPlayer(is, "audio/mpeg");&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Which is working pretty good, the problem is that when I try to use getDuration() method of the Player class on one of those objects, for example :&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;long clipLength = playingPlayer.getDuration()/1000;   //in milliseconds&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I will get a maximum value of 4 seconds...&lt;/p&gt;&lt;p&gt;If I use a 1 second chunk of MP3 data, it will correctly return 1 second...&lt;/p&gt;&lt;p&gt;Same for 2, 3 and 4 seconds... After that it will always return 4 seconds...&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is this some kind of known bug ?&lt;/p&gt;&lt;p&gt;Is there a workaround ?&lt;/p&gt;&lt;p&gt;Am I doing something stupid ?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have tested it on several nokia's (N95, N97, 5800XM) and also on SE's own emulators and it works fine there &lt;img height="16px" src="http://developer.sonyericsson.com/community/images/emoticons/sad.gif" width="16px"/&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0fda8b74-eaaa-4877-a101-d82940951991] --&gt;</description>
      <pubDate>Tue, 17 Nov 2009 16:19:49 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50106</guid>
      <dc:date>2009-11-17T16:19:49Z</dc:date>
      <clearspace:dateToText>1 day, 17 hours ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>PIM, daylight saving time, problem</title>
      <link>http://developer.sonyericsson.com/community/thread/50115</link>
      <description>&lt;!-- [DocumentBodyStart:2faa8b98-73bd-464f-895d-8cacc7c4b065] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;I have an K770i, Outlook, Develop in JavaME, System shows list of next events on screen&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;pre&gt;&lt;strong&gt;What steps will reproduce the problem?&lt;/strong&gt;&lt;br/&gt;1. create a reoccurring event A in Summer (daylight saving time), repeat weekly the whole year&lt;br/&gt;2. wait until winter (standard time)&lt;br/&gt;3. create a reoccurring event B in Winter&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;What is the expected output? What do you see instead?&lt;/strong&gt;&lt;br/&gt;event A is shown like expected, &lt;br/&gt;but event B is shown one hour ahead +1h&lt;br/&gt;it seems that I need to know when the event was created and do a special handling for it.&lt;br/&gt;&lt;br/&gt;At the PIM DM I have seen last modification time. is thie the right one to use?&lt;br/&gt;&lt;br/&gt;Source can be found at:  &lt;br/&gt;&lt;/pre&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://code.google.com/p/open-today/source/browse/#svn/branches/platform7/source/src/OpenToday"&gt;http://code.google.com/p/open-today/source/browse/#svn/branches/platform7/source/src/OpenToday&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2faa8b98-73bd-464f-895d-8cacc7c4b065] --&gt;</description>
      <pubDate>Fri, 20 Nov 2009 11:44:37 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50115</guid>
      <dc:date>2009-11-20T11:44:37Z</dc:date>
      <clearspace:dateToText>1 day, 18 hours ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Questions regarding MMAPI Documentation and Implementation</title>
      <link>http://developer.sonyericsson.com/community/thread/50114</link>
      <description>&lt;!-- [DocumentBodyStart:18d1daba-cf53-4467-9d05-101e66fc4ef5] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;In the standard &lt;em&gt;Java™ Platform, Micro Edition, CLDC – MIDP 2&lt;/em&gt; documentation on page's 72 and 73 with paragraph : &lt;em&gt;Playing media files with MMAPI using progressive download&lt;/em&gt; I read the following sentences :&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;To make use of progressive download in a player application, the createPlayer method must be&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;invoked with a file scheme locator string as parameter, for example:&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Manager.createPlayer(file:///c:/sounds/song.mp3);&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Unfortunately I haven't found any documentation giving a good example of this, I did found an article on this site itself with some code snippets and some global explanation. Is there any chance that "tutorial" will be expanded into something more usefull ?&lt;/p&gt;&lt;p&gt;Also, is my understanding correct that you can use one single Player connected to an audio file and in the meantime downloading and expanding this same file ? Or are multiple sound files and Players involved ? That I cannot establish from the aforemntioned "tutorial" and/or the documentation...&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Also the next sentence is used in the documentation :&lt;/p&gt;&lt;p&gt;&lt;em&gt;Note: from JP-7 phones, progressive download according to 3GPP TS 26.234 45.3.0 is supported both&lt;br/&gt;for http download and InputStream via JSR-135.&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ok, so an InputStream or a http adress can be used instead of the "file" locator... But, is this only valid for 3GPP (so no MP3, or AAC)... So actually this is more of a video stream than an audio stream right ?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As a last point, is there any SE MMAPI implementation which can play AAC streams ?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance for any help, tips or pointers !&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:18d1daba-cf53-4467-9d05-101e66fc4ef5] --&gt;</description>
      <pubDate>Fri, 20 Nov 2009 10:39:15 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50114</guid>
      <dc:date>2009-11-20T10:39:15Z</dc:date>
      <clearspace:dateToText>1 day, 20 hours ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Set the width/height of video on SE Satio</title>
      <link>http://developer.sonyericsson.com/community/thread/50113</link>
      <description>&lt;!-- [DocumentBodyStart:e9f31c38-8fce-4c2f-a97e-530336134152] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Is there any way to set the video width and height when playing a video on a Canvas?&lt;br/&gt; &lt;br/&gt; This is a fairly simple task on other phones:&lt;br/&gt;     videoControl.setDisplaySize(width,height);&lt;br/&gt; &lt;br/&gt; But SE Satio seems to ignore it.&lt;br/&gt; &lt;br/&gt; Anybody else has similar difficulties?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e9f31c38-8fce-4c2f-a97e-530336134152] --&gt;</description>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">mmapi</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">multimedia</category>
      <pubDate>Fri, 20 Nov 2009 08:55:17 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50113</guid>
      <dc:date>2009-11-20T08:55:17Z</dc:date>
      <clearspace:dateToText>1 day, 23 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Slow contact searching</title>
      <link>http://developer.sonyericsson.com/community/thread/50085</link>
      <description>&lt;!-- [DocumentBodyStart:2c6da4ac-eeda-4a5c-9736-f087ff4af83a] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;There are parts of code. Why is it so slow on G502 (166 contacts)? Does the phone do sequential search?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;code&gt;private final Form out = new Form("PIMOutput"); &lt;/code&gt;&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;code&gt;PIM pim = PIM.getInstance();&lt;br/&gt; ContactList contactList = (ContactList)pim.openPIMList(PIM.CONTACT_LIST, PIM.READ_ONLY);&lt;br/&gt; final Contact contact = contactList.createContact();&lt;br/&gt;contact.addString(Contact.TEL, Contact.ATTR_NONE, a phone nubmer);&lt;br/&gt;out.append("create enumeration &amp;gt;");&lt;br/&gt;final Enumeration enumer = contactList.items(contact);&lt;br/&gt;out.append("&amp;lt; create enumeration");&lt;br/&gt;displayContacts(enumer);&lt;/code&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;code&gt;    private void displayContacts(Enumeration contactsEnumeration) {&lt;br/&gt;        while (contactsEnumeration.hasMoreElements()) {&lt;br/&gt;            out.append(":0");&lt;br/&gt;            final Contact contact = (Contact) contactsEnumeration.nextElement();&lt;br/&gt;            out.append(":1");&lt;br/&gt;            out.append("* "+contact.getStringArray(Contact.NAME, 0)[0]);&lt;br/&gt;            out.append(":2");&lt;br/&gt;            //out.append(": "+ contact.getString(16777218, 0)+"\n");&lt;br/&gt;        }&lt;br/&gt;    }&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2c6da4ac-eeda-4a5c-9736-f087ff4af83a] --&gt;</description>
      <pubDate>Fri, 13 Nov 2009 21:16:28 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50085</guid>
      <dc:date>2009-11-13T21:16:28Z</dc:date>
      <clearspace:dateToText>3 days, 18 hours ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Devices that is possible to get cell id</title>
      <link>http://developer.sonyericsson.com/community/thread/50105</link>
      <description>&lt;!-- [DocumentBodyStart:2eac2efe-ec3a-4cf9-ad10-12695ec32f29] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hello again,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So...in all the devices that use JP 3, 4, 5,and 6 it's impossible to use:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;System.getProperty(cellID)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And in all the devices that use JP 8 it's possible to use this code...&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My question is.... In devices that use JP 7... how can i know if the JP is aboce or over 7.3?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Becouse in the tab "Phones -&amp;gt; Java me" i can see only JP 3 4 5 6 7 8 and not 7.3...&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks.. and sorry again about my bad english&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2eac2efe-ec3a-4cf9-ad10-12695ec32f29] --&gt;</description>
      <pubDate>Tue, 17 Nov 2009 15:56:36 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50105</guid>
      <dc:date>2009-11-17T15:56:36Z</dc:date>
      <clearspace:dateToText>3 days, 18 hours ago</clearspace:dateToText>
      <clearspace:messageCount>9</clearspace:messageCount>
      <clearspace:replyCount>8</clearspace:replyCount>
    </item>
    <item>
      <title>How to: Use SE SDK with Java ME SDK 3.0 or Netbeans</title>
      <link>http://developer.sonyericsson.com/community/thread/50026</link>
      <description>&lt;!-- [DocumentBodyStart:8404aca7-5304-48e8-b2fd-1dd796b0ff18] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;I have now (see last thread) established connection between my phone and the Proxy and Device explorer.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But (I am pretty new to this environment. I am C-programmer), now I am going to integrate the phone connection into my IDE.&lt;/p&gt;&lt;p&gt;I am using Java ME platform SDK V3.0 or maybe Netbeans, whatever is best/easiest.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What is the steps to make my IDE talk to the phone?&lt;/p&gt;&lt;p&gt;Yes I AM a newbie... until now I have only programmed, and using the emulator or simply copied the JAR to my phone. This is OK, but I want to connect the IDE to my phone to have full control and debug facilities.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;Kaare&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8404aca7-5304-48e8-b2fd-1dd796b0ff18] --&gt;</description>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">sdk</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">java</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">me</category>
      <pubDate>Fri, 06 Nov 2009 09:41:59 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50026</guid>
      <dc:date>2009-11-06T09:41:59Z</dc:date>
      <clearspace:dateToText>3 days, 22 hours ago</clearspace:dateToText>
      <clearspace:messageCount>18</clearspace:messageCount>
      <clearspace:replyCount>17</clearspace:replyCount>
    </item>
    <item>
      <title>Security problems while simulating http connections over pure sockets</title>
      <link>http://developer.sonyericsson.com/community/thread/50043</link>
      <description>&lt;!-- [DocumentBodyStart:a701038b-ba95-437b-903a-d4abe31aa721] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We are experiencing problems with simulating http connections over sockets (SocketConnection).&lt;br/&gt;Our client is Sony Ericsson z610i &amp;amp; k610i (JP-7).&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We discovered that if we send a simple GET request to the server, we receive response with no problem.&lt;br/&gt;But, if we send the request with some additional data (e.g. a soap envelope), that is, content-length header field &amp;gt; 0, the device throws IOException when trying to read().&lt;br/&gt;We can't even read the response header - the exception is thrown on the first byte we try to read from the socket.&lt;br/&gt;It's important to say that in both cases the server gets the request and returns a correct answer.&lt;br/&gt;We tried to omit content-length header field, but it seams that the device filters our content, so only header fields are sent to the server in this case.&lt;br/&gt;So, we believe that although we use "pure" sockets, the underlying implementation parse our data and treats it as HTML, probably for security purposes.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;We would like to know from Sony experts if our assumption is correct, and JP-7 devices do filter and block data sent over pure sockets, when the actual data is HTTP.&lt;/li&gt;&lt;li&gt;What is the workaround?&lt;/li&gt;&lt;/ol&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Additional info:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The application is not signed.&lt;/li&gt;&lt;li&gt;Our application works perfectly on Nokia, or through WIFI connection. The problem only occurs on paid operators + JP-7.&lt;/li&gt;&lt;li&gt;We use non-standard port (8100), since we get security exception when trying to use known http port (80, 8080 etc.).&lt;/li&gt;&lt;li&gt;Our motivation to simulate http connections over sockets is the fact that terminating blocked http connection is impossible (I mean http connections that were obtained using Connector class), even when trying to close the connection from a distinct thread. A connection may be blocked in the case of network failure, which is quite common scenario. &lt;/li&gt;&lt;/ol&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We are really stuck here, any help would be appreciated.&lt;br/&gt;Thanks in advance !&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a701038b-ba95-437b-903a-d4abe31aa721] --&gt;</description>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">http_connection</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">j2me</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">javame</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">network</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">socket</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">web_services</category>
      <category domain="http://developer.sonyericsson.com/community/tags?containerType=?14&amp;container=2001">http</category>
      <pubDate>Mon, 09 Nov 2009 18:19:15 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50043</guid>
      <dc:date>2009-11-09T18:19:15Z</dc:date>
      <clearspace:dateToText>3 days, 23 hours ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Xperia X2 - JVM out-of-memory</title>
      <link>http://developer.sonyericsson.com/community/thread/50012</link>
      <description>&lt;!-- [DocumentBodyStart:2d582a20-8872-4c49-8300-4ab429c4c238] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm currently porting an Java application to X2. It's a change from a 240x320 to a 468x800 screen, so images have increased considerable.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;X2 phone spec says that Java heap size is "4 MB – 32 MB (dynamic, depending on available memory)". In fact, we have monitored memory and after loading application, Runtime.freeMemory return a value between 12-13mb.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But after some screens are created, app simply crashes with an out-of-memory error. We've monitored that each new screen loaded consumes about 600-700kb of heap, but after 4 screens loaded, application runs out of memory.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As there is soo much memory available, it's hard to assume this is a fragmentation problem.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Developers or SE staff, any suggestions?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Best regards,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Camilo.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2d582a20-8872-4c49-8300-4ab429c4c238] --&gt;</description>
      <pubDate>Thu, 05 Nov 2009 17:27:03 GMT</pubDate>
      <author>developerworldwatch@kpi-consulting.net</author>
      <guid>http://developer.sonyericsson.com/community/thread/50012</guid>
      <dc:date>2009-11-05T17:27:03Z</dc:date>
      <clearspace:dateToText>4 days, 12 hours ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
  </channel>
</rss>

