<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://uberthings.com/teaching/wiki/index.php?action=history&amp;feed=atom&amp;title=MediaInformationMidlet</id>
	<title>MediaInformationMidlet - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://uberthings.com/teaching/wiki/index.php?action=history&amp;feed=atom&amp;title=MediaInformationMidlet"/>
	<link rel="alternate" type="text/html" href="https://uberthings.com/teaching/wiki/index.php?title=MediaInformationMidlet&amp;action=history"/>
	<updated>2026-05-30T21:20:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://uberthings.com/teaching/wiki/index.php?title=MediaInformationMidlet&amp;diff=1777&amp;oldid=prev</id>
		<title>Deprimer at 10:45, 8 February 2007</title>
		<link rel="alternate" type="text/html" href="https://uberthings.com/teaching/wiki/index.php?title=MediaInformationMidlet&amp;diff=1777&amp;oldid=prev"/>
		<updated>2007-02-08T10:45:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:45, 8 February 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  * This file is probably copyrighted by Apress. It&amp;#039;s freely available online and I&amp;#039;m going to attribute it, so let&amp;#039;s hope they don&amp;#039;t sue me.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  * This file is probably copyrighted by Apress. It&amp;#039;s freely available online and I&amp;#039;m going to attribute it, so let&amp;#039;s hope they don&amp;#039;t sue me.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  *  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  *  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Deprimer</name></author>
	</entry>
	<entry>
		<id>https://uberthings.com/teaching/wiki/index.php?title=MediaInformationMidlet&amp;diff=1776&amp;oldid=prev</id>
		<title>Deprimer at 10:45, 8 February 2007</title>
		<link rel="alternate" type="text/html" href="https://uberthings.com/teaching/wiki/index.php?title=MediaInformationMidlet&amp;diff=1776&amp;oldid=prev"/>
		<updated>2007-02-08T10:45:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/*&lt;br /&gt;
 * This file is probably copyrighted by Apress. It&amp;#039;s freely available online and I&amp;#039;m going to attribute it, so let&amp;#039;s hope they don&amp;#039;t sue me. &lt;br /&gt;
 * &lt;br /&gt;
 * It&amp;#039;s from the wonderful Beginning J2ME book by Jonathan Knudsen and Sing Li. Go buy it now.   &lt;br /&gt;
 * &lt;br /&gt;
 */&lt;br /&gt;
import javax.microedition.lcdui.*;&lt;br /&gt;
import javax.microedition.midlet.*;&lt;br /&gt;
import javax.microedition.media.*;&lt;br /&gt;
&lt;br /&gt;
public class MediaInformationMIDlet&lt;br /&gt;
    extends MIDlet&lt;br /&gt;
    implements CommandListener {&lt;br /&gt;
  private Form mInformationForm;&lt;br /&gt;
  &lt;br /&gt;
  public void startApp() {&lt;br /&gt;
    if (mInformationForm == null) {&lt;br /&gt;
      mInformationForm =&lt;br /&gt;
          new Form(&amp;quot;Content types and protocols&amp;quot;);&lt;br /&gt;
      String[] contentTypes =&lt;br /&gt;
          Manager.getSupportedContentTypes(null);&lt;br /&gt;
      for (int i = 0; i &amp;lt; contentTypes.length; i++) {&lt;br /&gt;
        String[] protocols =&lt;br /&gt;
            Manager.getSupportedProtocols(contentTypes[i]);&lt;br /&gt;
        for (int j = 0; j &amp;lt; protocols.length; j++) {&lt;br /&gt;
          StringItem si = new StringItem(contentTypes[i] + &amp;quot;: &amp;quot;,&lt;br /&gt;
              protocols[j]);&lt;br /&gt;
          si.setLayout(Item.LAYOUT_NEWLINE_AFTER);&lt;br /&gt;
          mInformationForm.append(si);&lt;br /&gt;
        }&lt;br /&gt;
      }&lt;br /&gt;
      Command exitCommand = new Command(&amp;quot;Exit&amp;quot;, Command.EXIT, 0);&lt;br /&gt;
      mInformationForm.addCommand(exitCommand);&lt;br /&gt;
      mInformationForm.setCommandListener(this);&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    Display.getDisplay(this).setCurrent(mInformationForm);&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  public void pauseApp() {}&lt;br /&gt;
&lt;br /&gt;
  public void destroyApp(boolean unconditional) {}&lt;br /&gt;
  &lt;br /&gt;
  public void commandAction(Command c, Displayable s) {&lt;br /&gt;
    notifyDestroyed();&lt;br /&gt;
  }&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Deprimer</name></author>
	</entry>
</feed>