Remove unnecessary files + move manifest attributes to gradle.properties and move class Hello to the net.example package.

This commit is contained in:
pixtaded 2024-02-17 15:13:07 +03:00
parent 4504b05be8
commit 263c7bfea9
27 changed files with 15 additions and 1087 deletions

View File

@ -12,13 +12,13 @@ dependencies {
jar {
manifest {
attributes(
'MIDlet-Vendor': 'pixtaded',
'MIDlet-Version': '1.0',
'MicroEdition-Configuration': 'CLDC 1.0',
'MIDlet-Name': 'Hello',
'MIDlet-Description': 'Test MIDlet',
'MIDlet-Vendor': MIDletVendor,
'MIDlet-Version': MIDletVersion,
'MicroEdition-Configuration': MicroEditionConfiguration,
'MIDlet-Name': MIDletName,
'MIDlet-Description': MIDletDescription,
'MicroEdition-Profile': 'MicroEdition-Profile',
'MIDlet-1': 'Hello,/icon.png,Hello'
'MIDlet-1': MIDletName + ',' + icon + ',' + mainClass
)
}
}

7
gradle.properties Normal file
View File

@ -0,0 +1,7 @@
MIDletVendor=pixtaded
MIDletVersion=1.0
MicroEditionConfiguration=CLDC 1.0
MIDletName=Hello
MIDletDescription=Test MIDlet
icon=/icon.png
mainClass=net.example.Hello

View File

@ -1,14 +0,0 @@
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: 14.2-b01 (Sun Microsystems Inc.)
License: GNU Library or Lesser General Public License (LGPL)
Description: MicroEmulator, Java 2 Micro Edition (J2ME) CLDC/MIDP Emul
ator
Main-Class: org.microemu.app.Main
Implementation-URL: http://www.microemu.org/
Implementation-Version: 2.0.4
Implementation-Build: 2.0.4.62
SVN-Revision: ${scm.revision}
Built-By: microemu-build
Build-Date: 2010-01-14 11:01:27

View File

@ -1,5 +0,0 @@
#Generated by Maven
#Thu Jan 14 11:00:13 EST 2010
version=2.0.4
groupId=org.microemu
artifactId=microemu-cldc

View File

@ -1,82 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0">
<!-- @version $Revision: 2281 $ ($Author: skarzhevskyy $) $Date: 2010-01-14 10:50:10 -0500 (Thu, 14 Jan 2010) $ -->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.microemu</groupId>
<artifactId>microemu</artifactId>
<version>2.0.4</version><!--me-version-->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>microemu-cldc</artifactId>
<name>microemu-cldc</name>
<description>cldc interfaces</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.sf.jour</groupId>
<artifactId>jour-instrument</artifactId>
<scope>test</scope>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>${pyx4meVersion}</version>
<executions>
<execution>
<phase>package</phase>
<goals><goal>proguard</goal></goals>
</execution>
</executions>
<configuration>
<proguardInclude>${basedir}/proguard.conf</proguardInclude>
<attach>true</attach>
<attachArtifactClassifier>4applet</attachArtifactClassifier>
<libs>
<lib>${javaRunTimeJar}</lib>
</libs>
</configuration>
</plugin>
<plugin>
<groupId>net.sf.jour</groupId>
<artifactId>jour-maven-plugin</artifactId>
<version>${jourVersion}</version>
<executions>
<execution>
<goals>
<goal>signatureVerify</goal>
</goals>
<configuration>
<allowAPIextension>false</allowAPIextension>
<level>protected</level>
<signature>${basedir}/src/test/resources/cldcapi_10_11-javax.microedition.io-signature.xml</signature>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,5 +0,0 @@
#Generated by Maven
#Thu Jan 14 11:00:51 EST 2010
version=2.0.4
groupId=org.microemu
artifactId=microemu-javase-swing

View File

@ -1,44 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0">
<!-- @version $Revision: 2281 $ ($Author: skarzhevskyy $) $Date: 2010-01-14 10:50:10 -0500 (Thu, 14 Jan 2010) $ -->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.microemu</groupId>
<artifactId>microemu</artifactId>
<version>2.0.4</version><!--me-version-->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>microemu-javase-swing</artifactId>
<name>microemu-javase-swing</name>
<description>javase-swing</description>
<dependencies>
<dependency>
<groupId>org.microemu</groupId>
<artifactId>microemu-javase</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Used for ready for applet Preprocessor should only in pakaged jar -->
<dependency>
<groupId>org.microemu</groupId>
<artifactId>microemu-injected</artifactId>
<version>${project.version}</version>
<classifier>inject</classifier>
<optional>true</optional>
</dependency>
<dependency>
<groupId>sun</groupId>
<artifactId>applet-jsobject</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>

View File

@ -1,5 +0,0 @@
#Generated by Maven
#Thu Jan 14 11:00:47 EST 2010
version=2.0.4
groupId=org.microemu
artifactId=microemu-javase

View File

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0">
<!-- @version $Revision: 2281 $ ($Author: skarzhevskyy $) $Date: 2010-01-14 10:50:10 -0500 (Thu, 14 Jan 2010) $ -->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.microemu</groupId>
<artifactId>microemu</artifactId>
<version>2.0.4</version><!--me-version-->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>microemu-javase</artifactId>
<name>microemu-javase</name>
<description>javase</description>
<dependencies>
<dependency>
<groupId>org.microemu</groupId>
<artifactId>microemu-midp</artifactId>
<version>${project.version}</version>
</dependency>
<!-- moved to microemu-javase-swing and swt -->
<!--
<dependency>
<groupId>org.microemu</groupId>
<artifactId>microemu-injected</artifactId>
<version>${project.version}</version>
<classifier>inject</classifier>
</dependency>
-->
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -1,5 +0,0 @@
#Generated by Maven
#Thu Jan 14 11:00:22 EST 2010
version=2.0.4
groupId=org.microemu
artifactId=microemu-midp

View File

@ -1,89 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0">
<!-- @version $Revision: 2281 $ ($Author: skarzhevskyy $) $Date: 2010-01-14 10:50:10 -0500 (Thu, 14 Jan 2010) $ -->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.microemu</groupId>
<artifactId>microemu</artifactId>
<version>2.0.4</version><!--me-version-->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>microemu-midp</artifactId>
<name>microemu-midp</name>
<description>midp</description>
<dependencies>
<dependency>
<groupId>org.microemu</groupId>
<artifactId>microemu-cldc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.jour</groupId>
<artifactId>jour-instrument</artifactId>
<scope>test</scope>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>${pyx4meVersion}</version>
<executions>
<execution>
<phase>package</phase>
<goals><goal>proguard</goal></goals>
</execution>
</executions>
<configuration>
<proguardInclude>${basedir}/proguard.conf</proguardInclude>
<attach>true</attach>
<attachArtifactClassifier>4applet</attachArtifactClassifier>
<libs>
<lib>${javaRunTimeJar}</lib>
</libs>
</configuration>
</plugin>
<!-- TODO enable when javax.microedition.rms.RecordListener fixed.
<plugin>
<groupId>net.sf.jour</groupId>
<artifactId>jour-maven-plugin</artifactId>
<version>${jourVersion}</version>
<executions>
<execution>
<goals>
<goal>signatureVerify</goal>
</goals>
<configuration>
<allowAPIextension>false</allowAPIextension>
<level>protected</level>
<signature>${basedir}/src/test/resources/midpapi20-signature.xml</signature>
</configuration>
</execution>
</executions>
</plugin>
-->
</plugins>
</build>
</project>

View File

@ -1,6 +0,0 @@
#$Id: build.version 2285 2010-01-14 15:59:48Z microemu-build@pyx4j.com $
# When you increment a build.version in this file You need to set build.buildNum=0
# This way the first build will start from 01
#Thu Jan 14 10:59:48 EST 2010
build.version=2.0.4
build.buildNum=62

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

View File

@ -1,450 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<device name="Default device"
xmlns="http://www.microemu.org/2.0.2/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.microemu.org/2.0.2/ http://www.microemu.org/2.0.2/device.xsd">
<!-- @version $Id: device.xml 1474 2007-11-02 21:31:41Z vlads $ -->
<!--
Cellphone illustration is created base on art work of David Luscombe http://www.istockphoto.com/fontmonster/
Screen-Size=FullScreenModeCanvas: 176x220; like Sony-Ericsson K750
Normal Canvas: 176x176 like on Sony-Ericsson, There are 22 pix on Top and 22 on Bottom
-->
<system-properties>
<system-property name="microedition.platform" value="MicroEmulator-2.0" />
</system-properties>
<img name="normal" src="normal.png" />
<img name="over" src="over.png" />
<img name="pressed" src="pressed.png" />
<display>
<iscolor>true</iscolor>
<numcolors>65536</numcolors>
<numalphalevels>256</numalphalevels>
<foreground>000000</foreground>
<background>ffffff</background>
<rectangle>
<x>26</x>
<y>44</y>
<width>176</width>
<height>220</height>
</rectangle>
<paintable>
<x>0</x>
<y>22</y>
<width>176</width>
<height>176</height>
</paintable>
<icon name="up">
<paintable>
<x>78</x>
<y>206</y>
<width>12</width>
<height>12</height>
</paintable>
<img name="normal" src="up.png" />
<img name="pressed" src="up-pressed.png" />
</icon>
<icon name="down">
<paintable>
<x>88</x>
<y>206</y>
<width>12</width>
<height>12</height>
</paintable>
<img name="normal" src="down.png" />
<img name="pressed" src="down-pressed.png" />
</icon>
<status name="input">
<paintable>
<!-- 22/2-7 -->
<x>4</x>
<y>4</y>
<width>14</width>
<height>7</height>
</paintable>
<img name="123" src="123.png" />
<img name="ABC" src="abc_upper.png" />
<img name="abc" src="abc_lower.png" />
</status>
</display>
<fonts hint="antialiasing">
<font face="system" style="plain" size="small">
<system name="SansSerif" style="plain" size="9" />
</font>
<font face="system" style="plain" size="medium">
<system name="SansSerif" style="plain" size="11" />
</font>
<font face="system" style="plain" size="large">
<system name="SansSerif" style="plain" size="13" />
</font>
<font face="system" style="bold" size="small">
<system name="SansSerif" style="bold" size="9" />
</font>
<font face="system" style="bold" size="medium">
<system name="SansSerif" style="bold" size="11" />
</font>
<font face="system" style="bold" size="large">
<system name="SansSerif" style="bold" size="13" />
</font>
<font face="system" style="italic" size="small">
<system name="SansSerif" style="italic" size="9" />
</font>
<font face="system" style="italic" size="medium">
<system name="SansSerif" style="italic" size="11" />
</font>
<font face="system" style="italic" size="large">
<system name="SansSerif" style="italic" size="13" />
</font>
<font face="system" style="bold,italic" size="small">
<system name="SansSerif" style="bold,italic" size="9" />
</font>
<font face="system" style="bold,italic" size="medium">
<system name="SansSerif" style="bold,italic" size="11" />
</font>
<font face="system" style="bold,italic" size="large">
<system name="SansSerif" style="bold,italic" size="13" />
</font>
<font face="monospace" style="plain" size="small">
<system name="Monospaced" style="plain" size="9" />
</font>
<font face="monospace" style="plain" size="medium">
<system name="Monospaced" style="plain" size="11" />
</font>
<font face="monospace" style="plain" size="large">
<system name="Monospaced" style="plain" size="13" />
</font>
<font face="monospace" style="bold" size="small">
<system name="Monospaced" style="bold" size="9" />
</font>
<font face="monospace" style="bold" size="medium">
<system name="Monospaced" style="bold" size="11" />
</font>
<font face="monospace" style="bold" size="large">
<system name="Monospaced" style="bold" size="13" />
</font>
<font face="monospace" style="italic" size="small">
<system name="Monospaced" style="italic" size="9" />
</font>
<font face="monospace" style="italic" size="medium">
<system name="Monospaced" style="italic" size="11" />
</font>
<font face="monospace" style="italic" size="large">
<system name="Monospaced" style="italic" size="13" />
</font>
<font face="monospace" style="bold,italic" size="small">
<system name="Monospaced" style="bold,italic" size="9" />
</font>
<font face="monospace" style="bold,italic" size="medium">
<system name="Monospaced" style="bold,italic" size="11" />
</font>
<font face="monospace" style="bold,italic" size="large">
<system name="Monospaced" style="bold,italic" size="13" />
</font>
<font face="proportional" style="plain" size="small">
<system name="SansSerif" style="plain" size="9" />
</font>
<font face="proportional" style="plain" size="medium">
<system name="SansSerif" style="plain" size="11" />
</font>
<font face="proportional" style="plain" size="large">
<system name="SansSerif" style="plain" size="13" />
</font>
<font face="proportional" style="bold" size="small">
<system name="SansSerif" style="bold" size="9" />
</font>
<font face="proportional" style="bold" size="medium">
<system name="SansSerif" style="bold" size="11" />
</font>
<font face="proportional" style="bold" size="large">
<system name="SansSerif" style="bold" size="13" />
</font>
<font face="proportional" style="italic" size="small">
<system name="SansSerif" style="italic" size="9" />
</font>
<font face="proportional" style="italic" size="medium">
<system name="SansSerif" style="italic" size="11" />
</font>
<font face="proportional" style="italic" size="large">
<system name="SansSerif" style="italic" size="13" />
</font>
<font face="proportional" style="bold,italic" size="small">
<system name="SansSerif" style="bold,italic" size="9" />
</font>
<font face="proportional" style="bold,italic" size="medium">
<system name="SansSerif" style="bold,italic" size="11" />
</font>
<font face="proportional" style="bold,italic" size="large">
<system name="SansSerif" style="bold,italic" size="13" />
</font>
</fonts>
<input>
<haspointerevents>true</haspointerevents>
<haspointermotionevents>true</haspointermotionevents>
<hasrepeatevents>true</hasrepeatevents>
<softbutton name="SOFT1" alignment="LEFT">
<rectangle>
<x>16</x>
<y>282</y>
<width>60</width>
<height>35</height>
</rectangle>
<paintable>
<x>1</x>
<y>203</y>
<width>69</width>
<height>16</height>
</paintable>
<font face="system" style="plain" size="medium" />
<command>BACK</command>
<command>EXIT</command>
<command>CANCEL</command>
<command>STOP</command>
</softbutton>
<softbutton name="SOFT2" alignment="RIGHT">
<rectangle>
<x>154</x>
<y>282</y>
<width>60</width>
<height>35</height>
</rectangle>
<paintable>
<x>106</x>
<y>203</y>
<width>69</width>
<height>16</height>
</paintable>
<font face="system" style="plain" size="medium" />
<command>OK</command>
<command>SCREEN</command>
<command>ITEM</command>
<command>HELP</command>
</softbutton>
<button name="LEFT">
<polygon>
<point x="74" y="301" />
<point x="89" y="279" />
<point x="103" y="301" />
<point x="89" y="322" />
</polygon>
</button>
<button name="RIGHT">
<polygon>
<point x="140" y="280" />
<point x="154" y="300"/>
<point x="140" y="320" />
<point x="126" y="300"/>
</polygon>
</button>
<button name="UP">
<rectangle>
<x>97</x>
<y>274</y>
<width>36</width>
<height>14</height>
</rectangle>
</button>
<button name="DOWN">
<rectangle>
<x>97</x>
<y>311</y>
<width>36</width>
<height>14</height>
</rectangle>
</button>
<button name="SELECT">
<rectangle>
<x>101</x>
<y>288</y>
<width>25</width>
<height>23</height>
</rectangle>
</button>
<button name="0">
<chars>
<char></char>
<char>0</char>
</chars>
<rectangle>
<x>87</x>
<y>432</y>
<width>55</width>
<height>31</height>
</rectangle>
</button>
<button name="1">
<chars>
<char>.</char>
<char>,</char>
<char>?</char>
<char>!</char>
<char>:</char>
<char>;</char>
<char>-</char>
<char>+</char>
<char>#</char>
<char>*</char>
<char>(</char>
<char>)</char>
<char>'</char>
<char>"</char>
<char>_</char>
<char>@</char>
<char>&amp;</char>
<char>$</char>
<char>%</char>
<char>/</char>
<char>&lt;</char>
<char>&gt;</char>
<char>=</char>
<char>1</char>
</chars>
<chars input="123">
<char>1</char>
<char>.</char>
<char>-</char>
<char>(</char>
<char>)</char>
<char>+</char>
</chars>
<rectangle>
<x>19</x>
<y>324</y>
<width>55</width>
<height>34</height>
</rectangle>
</button>
<button name="2">
<chars>
<char>a</char>
<char>b</char>
<char>c</char>
<char>2</char>
</chars>
<rectangle>
<x>88</x>
<y>328</y>
<width>56</width>
<height>31</height>
</rectangle>
</button>
<button name="3">
<chars>
<char>d</char>
<char>e</char>
<char>f</char>
<char>3</char>
</chars>
<rectangle>
<x>156</x>
<y>323</y>
<width>54</width>
<height>32</height>
</rectangle>
</button>
<button name="4">
<chars>
<char>g</char>
<char>h</char>
<char>i</char>
<char>4</char>
</chars>
<rectangle>
<x>18</x>
<y>358</y>
<width>58</width>
<height>32</height>
</rectangle>
</button>
<button name="5">
<chars>
<char>j</char>
<char>k</char>
<char>l</char>
<char>5</char>
</chars>
<rectangle>
<x>87</x>
<y>362</y>
<width>59</width>
<height>34</height>
</rectangle>
</button>
<button name="6">
<chars>
<char>m</char>
<char>n</char>
<char>o</char>
<char>6</char>
</chars>
<rectangle>
<x>155</x>
<y>357</y>
<width>54</width>
<height>33</height>
</rectangle>
</button>
<button name="7">
<chars>
<char>p</char>
<char>q</char>
<char>r</char>
<char>s</char>
<char>7</char>
</chars>
<rectangle>
<x>17</x>
<y>393</y>
<width>55</width>
<height>32</height>
</rectangle>
</button>
<button name="8">
<chars>
<char>t</char>
<char>u</char>
<char>v</char>
<char>8</char>
</chars>
<rectangle>
<x>87</x>
<y>397</y>
<width>54</width>
<height>31</height>
</rectangle>
</button>
<button name="9">
<chars>
<char>w</char>
<char>x</char>
<char>y</char>
<char>z</char>
<char>9</char>
</chars>
<rectangle>
<x>156</x>
<y>393</y>
<width>56</width>
<height>31</height>
</rectangle>
</button>
<button name="ASTERISK">
<chars>
<char>*</char>
<char>+</char>
</chars>
<rectangle>
<x>18</x>
<y>428</y>
<width>54</width>
<height>32</height>
</rectangle>
</button>
<button name="POUND" modeChange="true">
<rectangle>
<x>156</x>
<y>427</y>
<width>55</width>
<height>32</height>
</rectangle>
</button>
</input>
</device>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 B

View File

@ -1,325 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<device name="Resizable device"
xmlns="http://www.microemu.org/2.0.2/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.microemu.org/2.0.2/ http://www.microemu.org/2.0.2/device.xsd">
<!-- img is used here for the backward compatibility, can be removed in version 3 -->
<img name="normal" src="normal.png" />
<display resizable="true">
<iscolor>true</iscolor>
<numcolors>65536</numcolors>
<numalphalevels>256</numalphalevels>
<foreground>000000</foreground>
<background>ffffff</background>
<rectangle>
<x>0</x>
<y>0</y>
<width>176</width>
<height>220</height>
</rectangle>
<paintable>
<x>0</x>
<y>22</y>
<width>176</width>
<height>176</height>
</paintable>
<icon name="up">
<paintable>
<x>78</x>
<y>206</y>
<width>12</width>
<height>12</height>
</paintable>
<img name="normal" src="/org/microemu/device/default/up.png"/>
<img name="pressed" src="/org/microemu/device/default/up-pressed.png"/>
</icon>
<icon name="down">
<paintable>
<x>88</x>
<y>206</y>
<width>12</width>
<height>12</height>
</paintable>
<img name="normal" src="/org/microemu/device/default/down.png"/>
<img name="pressed" src="/org/microemu/device/default/down-pressed.png"/>
</icon>
<status name="input">
<paintable>
<x>4</x>
<y>4</y>
<width>14</width>
<height>7</height>
</paintable>
<img name="123" src="/org/microemu/device/default/123.png"/>
<img name="ABC" src="/org/microemu/device/default/abc_upper.png"/>
<img name="abc" src="/org/microemu/device/default/abc_lower.png"/>
</status>
</display>
<fonts hint="antialiasing">
<font face="system" style="plain" size="small">
<system name="SansSerif" style="plain" size="10"/>
</font>
<font face="system" style="plain" size="medium">
<system name="SansSerif" style="plain" size="12"/>
</font>
<font face="system" style="plain" size="large">
<system name="SansSerif" style="plain" size="14"/>
</font>
<font face="system" style="bold" size="small">
<system name="SansSerif" style="bold" size="10"/>
</font>
<font face="system" style="bold" size="medium">
<system name="SansSerif" style="bold" size="12"/>
</font>
<font face="system" style="bold" size="large">
<system name="SansSerif" style="bold" size="14"/>
</font>
<font face="system" style="italic" size="small">
<system name="SansSerif" style="italic" size="10"/>
</font>
<font face="system" style="italic" size="medium">
<system name="SansSerif" style="italic" size="12"/>
</font>
<font face="system" style="italic" size="large">
<system name="SansSerif" style="italic" size="14"/>
</font>
<font face="system" style="bold,italic" size="small">
<system name="SansSerif" style="bold,italic" size="10"/>
</font>
<font face="system" style="bold,italic" size="medium">
<system name="SansSerif" style="bold,italic" size="12"/>
</font>
<font face="system" style="bold,italic" size="large">
<system name="SansSerif" style="bold,italic" size="14"/>
</font>
<font face="monospace" style="plain" size="small">
<system name="Monospaced" style="plain" size="10"/>
</font>
<font face="monospace" style="plain" size="medium">
<system name="Monospaced" style="plain" size="12"/>
</font>
<font face="monospace" style="plain" size="large">
<system name="Monospaced" style="plain" size="14"/>
</font>
<font face="monospace" style="bold" size="small">
<system name="Monospaced" style="bold" size="10"/>
</font>
<font face="monospace" style="bold" size="medium">
<system name="Monospaced" style="bold" size="12"/>
</font>
<font face="monospace" style="bold" size="large">
<system name="Monospaced" style="bold" size="14"/>
</font>
<font face="monospace" style="italic" size="small">
<system name="Monospaced" style="italic" size="10"/>
</font>
<font face="monospace" style="italic" size="medium">
<system name="Monospaced" style="italic" size="12"/>
</font>
<font face="monospace" style="italic" size="large">
<system name="Monospaced" style="italic" size="14"/>
</font>
<font face="monospace" style="bold,italic" size="small">
<system name="Monospaced" style="bold,italic" size="10"/>
</font>
<font face="monospace" style="bold,italic" size="medium">
<system name="Monospaced" style="bold,italic" size="12"/>
</font>
<font face="monospace" style="bold,italic" size="large">
<system name="Monospaced" style="bold,italic" size="14"/>
</font>
<font face="proportional" style="plain" size="small">
<system name="SansSerif" style="plain" size="10"/>
</font>
<font face="proportional" style="plain" size="medium">
<system name="SansSerif" style="plain" size="12"/>
</font>
<font face="proportional" style="plain" size="large">
<system name="SansSerif" style="plain" size="14"/>
</font>
<font face="proportional" style="bold" size="small">
<system name="SansSerif" style="bold" size="10"/>
</font>
<font face="proportional" style="bold" size="medium">
<system name="SansSerif" style="bold" size="12"/>
</font>
<font face="proportional" style="bold" size="large">
<system name="SansSerif" style="bold" size="14"/>
</font>
<font face="proportional" style="italic" size="small">
<system name="SansSerif" style="italic" size="10"/>
</font>
<font face="proportional" style="italic" size="medium">
<system name="SansSerif" style="italic" size="12"/>
</font>
<font face="proportional" style="italic" size="large">
<system name="SansSerif" style="italic" size="14"/>
</font>
<font face="proportional" style="bold,italic" size="small">
<system name="SansSerif" style="bold,italic" size="10"/>
</font>
<font face="proportional" style="bold,italic" size="medium">
<system name="SansSerif" style="bold,italic" size="12"/>
</font>
<font face="proportional" style="bold,italic" size="large">
<system name="SansSerif" style="bold,italic" size="14"/>
</font>
</fonts>
<input>
<haspointerevents>true</haspointerevents>
<haspointermotionevents>true</haspointermotionevents>
<hasrepeatevents>true</hasrepeatevents>
<softbutton name="SOFT1" alignment="LEFT">
<paintable>
<x>1</x>
<y>203</y>
<width>69</width>
<height>16</height>
</paintable>
<font face="system" style="plain" size="medium"/>
<command>BACK</command>
<command>EXIT</command>
<command>CANCEL</command>
<command>STOP</command>
</softbutton>
<softbutton name="SOFT2" alignment="RIGHT">
<paintable>
<x>106</x>
<y>203</y>
<width>69</width>
<height>16</height>
</paintable>
<font face="system" style="plain" size="medium"/>
<command>OK</command>
<command>SCREEN</command>
<command>ITEM</command>
<command>HELP</command>
</softbutton>
<button name="LEFT">
</button>
<button name="RIGHT">
</button>
<button name="UP">
</button>
<button name="DOWN">
</button>
<button name="SELECT">
</button>
<button name="0">
<chars>
<char/>
<char>0</char>
</chars>
</button>
<button name="1">
<chars>
<char>.</char>
<char>,</char>
<char>?</char>
<char>!</char>
<char>:</char>
<char>;</char>
<char>-</char>
<char>+</char>
<char>#</char>
<char>*</char>
<char>(</char>
<char>)</char>
<char>'</char>
<char>"</char>
<char>_</char>
<char>@</char>
<char>&amp;</char>
<char>$</char>
<char>%</char>
<char>/</char>
<char>&lt;</char>
<char>&gt;</char>
<char>=</char>
<char>1</char>
</chars>
<chars input="123">
<char>1</char>
<char>.</char>
<char>-</char>
<char>(</char>
<char>)</char>
<char>+</char>
</chars>
</button>
<button name="2">
<chars>
<char>a</char>
<char>b</char>
<char>c</char>
<char>2</char>
</chars>
</button>
<button name="3">
<chars>
<char>d</char>
<char>e</char>
<char>f</char>
<char>3</char>
</chars>
</button>
<button name="4">
<chars>
<char>g</char>
<char>h</char>
<char>i</char>
<char>4</char>
</chars>
</button>
<button name="5">
<chars>
<char>j</char>
<char>k</char>
<char>l</char>
<char>5</char>
</chars>
</button>
<button name="6">
<chars>
<char>m</char>
<char>n</char>
<char>o</char>
<char>6</char>
</chars>
</button>
<button name="7">
<chars>
<char>p</char>
<char>q</char>
<char>r</char>
<char>s</char>
<char>7</char>
</chars>
</button>
<button name="8">
<chars>
<char>t</char>
<char>u</char>
<char>v</char>
<char>8</char>
</chars>
</button>
<button name="9">
<chars>
<char>w</char>
<char>x</char>
<char>y</char>
<char>z</char>
<char>9</char>
</chars>
</button>
<button name="ASTERISK">
<chars>
<char>*</char>
<char>+</char>
</chars>
</button>
<button name="POUND" modeChange="true">
</button>
</input>
</device>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 976 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 980 B

View File

@ -1,3 +1,5 @@
package net.example;
import javax.microedition.midlet.MIDlet;
import javax.microedition.lcdui.TextBox;
import javax.microedition.lcdui.Display;