Editing Microemulator
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | + | =Jave SE and Java ME= | |
- | + | ||
- | + | ||
- | + | ||
Download and untar/unzip | Download and untar/unzip | ||
- | # microemulator-2.0. | + | # microemulator-2.0.3.zip from [http://www.microemu.org/ microemu] |
# ejre-1_6_0_10-ea-b39-linux-armv6-vfp-eabi-min-eval-30_jul_2009.tar.gz from [http://java.sun.com/javase/downloads/embedded.jsp Sun JaveSE ARMv6 Headful] | # ejre-1_6_0_10-ea-b39-linux-armv6-vfp-eabi-min-eval-30_jul_2009.tar.gz from [http://java.sun.com/javase/downloads/embedded.jsp Sun JaveSE ARMv6 Headful] | ||
- | + | ==Makefile== | |
- | + | ||
- | + | ||
- | + | ||
clean: | clean: | ||
echo cleaning... | echo cleaning... | ||
Line 15: | Line 9: | ||
install: | install: | ||
cp -r ejre1.6.0_10 $(DESTDIR)/opt/ | cp -r ejre1.6.0_10 $(DESTDIR)/opt/ | ||
- | cp -r microemulator-2.0. | + | cp -r microemulator-2.0.3 $(DESTDIR)/opt/ |
cp microemulator.desktop $(DESTDIR)/usr/share/applications/hildon/ | cp microemulator.desktop $(DESTDIR)/usr/share/applications/hildon/ | ||
- | cp $(DESTDIR)/opt/microemulator-2.0. | + | cp $(DESTDIR)/opt/microemulator-2.0.3/devices/microemu-device-resizable.jar $(DESTDIR)/home/user/.microemulator/ |
cp config2.xml $(DESTDIR)/home/user/.microemulator/ | cp config2.xml $(DESTDIR)/home/user/.microemulator/ | ||
- | + | ==microemulator.desktop== | |
- | + | [Desktop Entry] | |
- | + | Encoding=UTF-8 | |
- | + | Version=0.1 | |
- | + | Type=Application | |
- | [Desktop Entry] | + | Name=MicroEmulator |
- | Encoding=UTF-8 | + | Exec=/opt/ejre1.6.0_10/bin/java -jar /opt/microemulator-2.0.3/microemulator.jar |
- | Version=0.1 | + | Icon=microemulator |
- | Type=Application | + | X-HildonDesk-ShowInToolbar=true |
- | Name=MicroEmulator | + | X-Osso-Type=application/x-executable |
- | Exec=/opt/ejre1.6.0_10/bin/java -jar /opt/microemulator-2.0. | + | |
- | Icon=microemulator | + | |
- | X-HildonDesk-ShowInToolbar=true | + | |
- | X-Osso-Type=application/x-executable | + | |
- | + | ||
==config2.xml== | ==config2.xml== | ||
- | + | <config> | |
- | + | <files> | |
- | <config> | + | <recentJadDirectory>/home/user/MyDocs/</recentJadDirectory> |
- | + | </files> | |
- | + | <system-properties> | |
- | + | <system-property VALUE="MIDP-2.0" NAME="microedition.profiles"/> | |
- | + | <system-property VALUE="CLDC-1.0" NAME="microedition.configuration"/> | |
- | + | <system-property VALUE="true" NAME="avetana.forceNativeLibrary"/> | |
- | + | </system-properties> | |
- | + | <devices> | |
- | + | <device DEFAULT="true"> | |
- | + | <name>Resizable device</name> | |
- | + | <filename>microemu-device-resizable.jar</filename> | |
- | + | <descriptor>org/microemu/device/resizable/device.xml</descriptor> | |
- | + | <rectangle> | |
- | + | <x>0</x> | |
- | + | <y>0</y> | |
- | + | <width>800</width> | |
- | + | <height>378</height> | |
- | + | </rectangle> | |
- | + | </device> | |
- | + | </devices> | |
- | + | <windows> | |
- | + | <main ONSTART="true"> | |
- | + | <x>0</x> | |
- | + | <y>0</y> | |
- | + | <width>800</width> | |
- | + | <height>480</height> | |
- | + | </main> | |
- | + | </windows> | |
- | + | </config> | |
- | + | ==debian/javame.postinst== | |
- | </config> | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
: first run as root... to start timebomb (aka trial period) | : first run as root... to start timebomb (aka trial period) | ||
- | + | #!/bin/sh | |
- | #!/bin/sh | + | /opt/ejre1.6.0_10/bin/java -version 2> /dev/null |
- | /opt/ejre1.6.0_10/bin/java -version 2> /dev/null | + | chown -R user:users /home/user/.microemulator/ |
- | chown -R user:users /home/user/.microemulator/ | + | exit 0 |
- | exit 0 | + | |
- | + | ||
- | + | ---- | |
- | + |
Learn more about Contributing to the wiki.