<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Markus' Blog &#187; iPhone</title>
	<atom:link href="http://markus.heberling.net/lang/en/tag/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://markus.heberling.net</link>
	<description>Dies und Das und Jenes</description>
	<lastBuildDate>Mon, 31 May 2010 15:12:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>LWUIT on MicroEmulator on iPhone</title>
		<link>http://markus.heberling.net/lang/en/2009/03/10/lwuit-on-microemulator-on-iphone</link>
		<comments>http://markus.heberling.net/lang/en/2009/03/10/lwuit-on-microemulator-on-iphone#comments</comments>
		<pubDate>Tue, 10 Mar 2009 22:03:21 +0000</pubDate>
		<dc:creator>Markus</dc:creator>
				<category><![CDATA[J2ME]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[LWUIT]]></category>
		<category><![CDATA[MicroEmulator]]></category>

		<guid isPermaLink="false">http://markus.heberling.net/?p=52&amp;lang=en</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I tried to run the LWUIT Demo with my MicroEmulator iPhone port. Here are some screenshots:</p>
<p>First Try. Got the clipping slightly wrong&#8230;</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-ccee40dd-a14e-4448-82be-5d3d93cf3265.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-ccee40dd-a14e-4448-82be-5d3d93cf3265.jpeg" alt="" width="200" height="300" /></a></p>
<p>After a quick fix, clipping correct, but no text&#8230;</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-1d563d12-1015-40da-8f2c-92bb7f5d180f.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-1d563d12-1015-40da-8f2c-92bb7f5d180f.jpeg" alt="" width="200" height="300" /></a></p>
<p>Changing to another theme&#8230;</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-77e0e182-e931-4339-9438-5f5461325d89.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-77e0e182-e931-4339-9438-5f5461325d89.jpeg" alt="" width="200" height="300" /></a></p>
<p>&#8230; the text is there!</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-b43a5b2d-5e09-4a1e-803c-285850bae42c.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-b43a5b2d-5e09-4a1e-803c-285850bae42c.jpeg" alt="" width="200" height="300" /></a></p>
<p>Menu is workin.</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-5eda3203-36bf-461f-a575-6de1ef7a9deb.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-5eda3203-36bf-461f-a575-6de1ef7a9deb.jpeg" alt="" width="200" height="300" /></a></p>
<p>Setting some dialog properties, and&#8230;</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-5c617b4f-5d45-4591-9828-bd6a34bda8db.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-5c617b4f-5d45-4591-9828-bd6a34bda8db.jpeg" alt="" width="200" height="300" /></a></p>
<p>&#8230; displaying it.</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-0dd98932-c55f-49d0-8d7c-015bb40abcb6.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-0dd98932-c55f-49d0-8d7c-015bb40abcb6.jpeg" alt="" width="200" height="300" /></a></p>
<p>Some more screenshots&#8230;</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-54b4c93c-8554-4b22-9228-81b3361c92e7.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-54b4c93c-8554-4b22-9228-81b3361c92e7.jpeg" alt="" width="200" height="300" /></a></p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-10fa8b24-8982-4dab-bdb3-ff854e3ef0d0.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-10fa8b24-8982-4dab-bdb3-ff854e3ef0d0.jpeg" alt="" width="200" height="300" /></a></p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-00e3fa17-4922-4fdf-8832-2f1e33fd9d18.jpeg" rel="lightbox[52]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-00e3fa17-4922-4fdf-8832-2f1e33fd9d18.jpeg" alt="" width="200" height="300" /></a></p>
<p>Performance is slow as hell, not all graphics are rendered properly, but its working at least.</p>
<p><a href="http://markus.heberling.net/wp-uploads/2009/03/p-480-320-b43a5b2d-5e09-4a1e-803c-285850bae42c.jpeg" rel="lightbox[52]"><br />
</a></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.2';
var flattr_uid = '11334';
var flattr_url = 'http://markus.heberling.net/lang/en/2009/03/10/lwuit-on-microemulator-on-iphone';
var flattr_btn = 'compact';
var flattr_hide = 0;
var flattr_lng = 'de_DE';
var flattr_cat = 'text';
var flattr_tle = 'LWUIT on MicroEmulator on iPhone';
var flattr_dsc = 'I tried to run the LWUIT Demo with my MicroEmulator iPhone port. Here are some screenshots:  First Try. Got the clipping slightly wrong...    After a quick fix, clipping correct, but no text...    Changing to another theme...    ... the text is there!    Menu is workin.    Setting some dialog properties, and...    ... displaying it.    Some more screenshots...        Performance is slow as hell, not all graphics are rendered properly, but its working at least.';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://markus.heberling.net/lang/en/2009/03/10/lwuit-on-microemulator-on-iphone/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>MicroEmulator on iPhone</title>
		<link>http://markus.heberling.net/lang/en/2008/11/24/microemulator-on-iphone</link>
		<comments>http://markus.heberling.net/lang/en/2008/11/24/microemulator-on-iphone#comments</comments>
		<pubDate>Mon, 24 Nov 2008 14:00:31 +0000</pubDate>
		<dc:creator>Markus</dc:creator>
				<category><![CDATA[J2ME]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[MicroEmulator]]></category>

		<guid isPermaLink="false">http://markus.heberling.net/?p=41&amp;lang=en</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I have started porting microemulator to (jailbroken) iPhones. Here are some first screenshots.</p>
<p><a href="http://markus.heberling.net/wp-uploads/2008/11/p-480-320-ab498607-95ad-4bb9-a92a-29a7e3a30547.jpeg" rel="lightbox[41]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2008/11/p-480-320-ab498607-95ad-4bb9-a92a-29a7e3a30547.jpeg" alt="" width="200" height="300" /></a></p>
<p><a href="http://markus.heberling.net/wp-uploads/2008/11/p-480-320-e7833334-39a9-4aed-bb3b-5762bee20535.jpeg" rel="lightbox[41]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2008/11/p-480-320-e7833334-39a9-4aed-bb3b-5762bee20535.jpeg" alt="" width="200" height="300" /></a></p>
<p><a href="http://markus.heberling.net/wp-uploads/2008/11/p-480-320-51c0fa32-1de9-40c0-9072-3dd4134cc456.jpeg" rel="lightbox[41]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2008/11/p-480-320-51c0fa32-1de9-40c0-9072-3dd4134cc456.jpeg" alt="" width="200" height="300" /></a></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.2';
var flattr_uid = '11334';
var flattr_url = 'http://markus.heberling.net/lang/en/2008/11/24/microemulator-on-iphone';
var flattr_btn = 'compact';
var flattr_hide = 0;
var flattr_lng = '';
var flattr_cat = 'text';
var flattr_tle = 'MicroEmulator on iPhone';
var flattr_dsc = 'I have started porting microemulator to (jailbroken) iPhones. Here are some first screenshots.';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://markus.heberling.net/lang/en/2008/11/24/microemulator-on-iphone/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Using Maven2 to build Cydia Packages for the iPhone</title>
		<link>http://markus.heberling.net/lang/en/2008/08/31/using-maven2-to-build-cydia-packages-for-the-iphone</link>
		<comments>http://markus.heberling.net/lang/en/2008/08/31/using-maven2-to-build-cydia-packages-for-the-iphone#comments</comments>
		<pubDate>Sun, 31 Aug 2008 16:30:48 +0000</pubDate>
		<dc:creator>Markus</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://markus.heberling.net/?p=35&amp;lang=de</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><span lang="en">I am using Maven2 for most Java projects. So I wanted to use it for Phone-Java development, too. This is a little tutorial on how it can be done.</span></p>
<p><span lang="en">iPhone Cydia Packages are Debian .deb files really and luckily there is the <a href="http://wiki.evolvis.org/mvn-pkg-plugin/index.php/Main_Page">mvn-pkg-plugin</a>&nbsp;that supports creating .deb files with Maven2. Unfortunatly the current version has a <a href="http://evolvis.org/tracker/index.php?func=detail&amp;aid=186&amp;group_id=30&amp;atid=169">bug</a>, so that it won&#8217;t work out of the box for creating iPhone packages. So you have to grab the latest svn-snapshot and apply the following patch.</span></p>
<p> <br />
<span lang="en"></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p35code1'); return false;">View Code</a> DIFF</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p351"><td class="code" id="p35code1"><pre class="diff" style="font-family:monospace;">Index: src/main/java/de/tarent/maven/plugins/pkg/map/Parser.java
===================================================================
<span style="color: #888822;">--- src/main/java/de/tarent/maven/plugins/pkg/map/Parser.java	<span style="">&#40;</span>revision <span style="">132</span><span style="">&#41;</span></span>
<span style="color: #888822;">+++ src/main/java/de/tarent/maven/plugins/pkg/map/Parser.java	<span style="">&#40;</span>working copy<span style="">&#41;</span></span>
<span style="color: #440088;">@@ -<span style="">62</span>,<span style="">7</span> +<span style="">62</span>,<span style="">7</span> @@</span>
&nbsp;
       if <span style="">&#40;</span>auxMapDocument != null<span style="">&#41;</span>
         <span style="">&#123;</span>
<span style="color: #991111;">-          s = new State<span style="">&#40;</span>packageMapDocument<span style="">&#41;</span>;</span>
<span style="color: #00b000;">+          s = new State<span style="">&#40;</span>auxMapDocument<span style="">&#41;</span>;</span>
&nbsp;
           s.nextMatch<span style="">&#40;</span>&quot;package-maps&quot;<span style="">&#41;</span>;
           parsePackageMaps<span style="">&#40;</span>s<span style="">&#41;</span>;</pre></td></tr></table></div>

<p></span><br />
 </p>
<p><span lang="en">After applying the atch and doing a &#8220;mvn install&#8221;, we can start with the real work. Download the tutorial files from&nbsp;<a href="http://markus.heberling.net/wp-uploads/2008/08/hellomaven.zip">here</a>. I will explain the contents of the archive later. For now unzip it and do a &#8220;mvn package&#8221; in its directory. It will compain about some missing dependencies, so grab the missing jars from your iPhone and install them in your Maven reposiory as directed in the error message. After you have done that another &#8220;mvn package&#8221; shoud produce a .deb file in the target subdirectory. You can upload this to your iphone and install it with dpkg. After a restart of the SpringBoard a new icon HelloMaven should be on your screen, that should start the demo program.</span></p>
<p><span lang="en">Now some explanation of how it works. The main part is done in the pom.xml. Here is the relavant excerpt form this file:</span><br />
<span lang="en"></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p35code2'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p352"><td class="code" id="p35code2"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;plugin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>de.tarent.maven.plugins<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>maven-pkg-plugin<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;defaultDistro<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>iphoneos<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/defaultDistro<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;shortDescription<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Arindal Tune Helper<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/shortDescription<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;defaults<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mainClass<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>HelloJava<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/mainClass<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;section<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>example<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/section<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;architecture<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>iphoneos-arm<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/architecture<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;datadir<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/Applications/HelloMaven.app
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/datadir<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dataFiles<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dataFile<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;from<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Info.plist<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/from<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dataFile<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dataFile<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;from<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>icon.png<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/from<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dataFile<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dataFile<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;from<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Starter<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/from<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dataFile<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dataFiles<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;postinstScript<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>postInst.sh<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/postinstScript<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;prermScript<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>preRm.sh<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/prermScript<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/defaults<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;auxPackageMapURL<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>file:${basedir}/pm-iphoneos.xml
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/auxPackageMapURL<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;executions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;execution<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;phase<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>package<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/phase<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;goals<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;goal<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>pkg<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/goal<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/goals<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/execution<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/executions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/plugin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p></span><br />
<span lang="en">The first important part is the defaultDistro tag. Here we tell the plugin, that we want to build a package for the iPhone. Unfortunatly there are no default iPhone mappings contained in the plugin. That is why we have the auxPackageMapURL tag, that tells the plugin where to look for the Maven-to-Cydia-Package-Mapping. Most other things should be pretty self explaining.</span></p>
<p><span lang="en">The files in the dataFiles Section have to reside in src/main/auxfiles icon.png and Info.plist should be pretty clear. The Starter entry needs some explanation though. The plugin automatically generates a start script in /usr/bin. This is good enough for console applications, but if you want to start a GUI-App some more work is needed. The Starter script sets the Java executable path to /Applications/Appname.app/Java and calls the generated script after that. For this to work the starter Script has to get executable permissions and jamvm has to be linked to /Applications/Appname.app/Java. This is done in the postInst.sh script. For more info about those scripts and what you can do there refer to the Debian documentation.</span></p>
<p><span lang="en">This should be enough to get you started, if cou have questions, please feel free to post them in the comments.</span></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.2';
var flattr_uid = '11334';
var flattr_url = 'http://markus.heberling.net/lang/en/2008/08/31/using-maven2-to-build-cydia-packages-for-the-iphone';
var flattr_btn = 'compact';
var flattr_hide = 0;
var flattr_lng = '';
var flattr_cat = 'text';
var flattr_tle = 'Using Maven2 to build Cydia Packages for the iPhone';
var flattr_dsc = 'I am using Maven2 for most Java projects. So I wanted to use it for Phone-Java development, too. This is a little tutorial on how it can be done.  iPhone Cydia Packages are Debian .deb files really and luckily there is the mvn-pkg-plugin&nbsp;that supports creating .deb files with Maven2. Unfortunatly the current version has a bug, so that it won\'t work out of the box for creating iPhone packages. So you have to grab the latest svn-snapshot and apply the following patch.    Index: src/main/java/de/tarent/maven/plugins/pkg/map/Parser.java =================================================================== --- src/main/java/de/tarent/maven/plugins/pkg/map/Parser.java	(revision 132) +++ src/main/java/de/tarent/maven/plugins/pkg/map/Parser.java	(working copy) @@ -62,7 +62,7 @@         if (auxMapDocument != null)          { -          s = new State(packageMapDocument); +          s = new State(auxMapDocument);             s.nextMatch(\"package-maps\");            parsePackageMaps(s);    After a';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://markus.heberling.net/lang/en/2008/08/31/using-maven2-to-build-cydia-packages-for-the-iphone/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone Java First Try</title>
		<link>http://markus.heberling.net/lang/en/2008/08/04/iphone-java-first-try</link>
		<comments>http://markus.heberling.net/lang/en/2008/08/04/iphone-java-first-try#comments</comments>
		<pubDate>Mon, 04 Aug 2008 08:11:57 +0000</pubDate>
		<dc:creator>Markus</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://markus.heberling.net/lang/en/2008/08/04/iphone-java-first-try</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><span lang="en">Made my first tries with Java on a jailbreaked iPhone 3G. Here is a screenshot of some drawing routines. Its reacting on touch events, too. Will write more about it later.</span></p>

<p><a href="http://markus.heberling.net/wp-uploads/2008/08/p-480-320-b5d6b91f-ce60-4348-8e7c-094a5604d10e.jpeg" rel="lightbox[34]"><img class="alignnone size-full wp-image-364" src="http://markus.heberling.net/wp-uploads/2008/08/p-480-320-b5d6b91f-ce60-4348-8e7c-094a5604d10e.jpeg" alt="photo" width="200" height="300" /></a></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.2';
var flattr_uid = '11334';
var flattr_url = 'http://markus.heberling.net/lang/en/2008/08/04/iphone-java-first-try';
var flattr_btn = 'compact';
var flattr_hide = 0;
var flattr_lng = '';
var flattr_cat = 'text';
var flattr_tle = 'iPhone Java First Try';
var flattr_dsc = 'Made my first tries with Java on a jailbreaked iPhone 3G. Here is a screenshot of some drawing routines. Its reacting on touch events, too. Will write more about it later.  So die ersten Versuche mit iPhone Java Entwicklung sind gemacht. Hier mal ein Screenshot von ein paar Grafikausgaben. Reagiert auch schon auf Touch Events. Spaeter mehr davon.';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://markus.heberling.net/lang/en/2008/08/04/iphone-java-first-try/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
