<?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>HydTech &#187; publish</title>
	<atom:link href="http://hydtechblog.com/tag/publish/feed/" rel="self" type="application/rss+xml" />
	<link>http://hydtechblog.com</link>
	<description>anotha hyd anotha day</description>
	<lastBuildDate>Sun, 24 Jul 2011 22:38:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Sign apk package files for publishing in the Android market with keytool and jarsigner on Ubuntu</title>
		<link>http://hydtechblog.com/2009/08/13/sign-apk-package-files-for-publishing-in-the-android-market-with-keytool-and-jarsigner-on-ubuntu/</link>
		<comments>http://hydtechblog.com/2009/08/13/sign-apk-package-files-for-publishing-in-the-android-market-with-keytool-and-jarsigner-on-ubuntu/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 21:44:02 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[jarsigner]]></category>
		<category><![CDATA[keytool]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[market]]></category>
		<category><![CDATA[publish]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=436</guid>
		<description><![CDATA[Once you&#8217;ve completed your package with Eclipse and you want to publish it to the android market, google requires that you sign it.  For this step you need two tools.  Keytool and jarsigner can be obtained through JDK. Open up terminal and install jdk: sudo apt-get install sun-java6-jdk Use keytool to make yourself a new [...]]]></description>
			<content:encoded><![CDATA[<p>Once you&#8217;ve completed your package with Eclipse and you want to publish it to the android market, google requires that you sign it.  For this step you need two tools.  Keytool and jarsigner can be obtained through JDK.</p>
<p>Open up terminal and install jdk:</p>
<p><code>sudo apt<a href="http://hydtechblog.com">-</a>get install sun-java6-jdk</code></p>
<p>Use keytool to make yourself a new key:</p>
<p><code>keytool -genkey -v -keystore mykeystore.keystore -alias aliasname -keyalg RSA -validity 10000</code></p>
<p>genkey &#8211; generate the key<br />
v &#8211; verbose mode<br />
keystore &#8211; select name of keystore<br />
alias &#8211; creates an alias for the key<br />
keyalg &#8211; specifies the encryption algorithm used to generate the key<a href="http://hydtechblog.com">.</a> Ex: RSA, DSA<br />
validity &#8211; when should the key expire in days? (google requires like a 50 year expiry)</p>
<p>The keytool will walk you through the process of choosing a password and name.  Once the key is made, you need to sign the apk with jarsigner using this key:</p>
<p><code>jarsigner -verbose -keystore mykeystore.keystore programfile.apk aliasname</code></p>
<p>keystore &#8211; keystore containing your private key<br />
verbose &#8211; verbose mode</p>
<p>You will be prompted for your password.  You are ready to go.</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=436&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2009/08/13/sign-apk-package-files-for-publishing-in-the-android-market-with-keytool-and-jarsigner-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

