<?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>Android Development &#187; application</title>
	<atom:link href="http://www.androiddevelopment.org/tag/application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.androiddevelopment.org</link>
	<description>Applications made for Android</description>
	<lastBuildDate>Fri, 06 Aug 2010 01:57:39 +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>How to earn money with your application through the Android Market</title>
		<link>http://www.androiddevelopment.org/2009/01/20/how-to-earn-money-with-your-application-through-the-android-market/</link>
		<comments>http://www.androiddevelopment.org/2009/01/20/how-to-earn-money-with-your-application-through-the-android-market/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 00:23:57 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Distribution]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[commercial]]></category>
		<category><![CDATA[earn]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[market]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[sell]]></category>

		<guid isPermaLink="false">http://www.androiddevelopment.org/2009/01/20/how-to-earn-money-with-your-application-through-the-android-market/</guid>
		<description><![CDATA[
			
				
			
		

Attention! Capitalistic content following!
Since the Android Market has been started it does support free applications in their store market. Though Google announced that we will be able to add commercial products soon &#8212; the actual question is: When?

Until now nothing happened at this front and therefore, I guess it might still take a while before [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.androiddevelopment.org%2F2009%2F01%2F20%2Fhow-to-earn-money-with-your-application-through-the-android-market%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.androiddevelopment.org%2F2009%2F01%2F20%2Fhow-to-earn-money-with-your-application-through-the-android-market%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img src='http://www.androiddevelopment.org/wp-content/uploads/2009/01/picture-2.png' alt='Android Market' align="left" vspace="15" hspace="15" /><br />
<strong style="color:red;">Attention! Capitalistic content following!</strong></p>
<p>Since the <a href="http://www.android.com/market/" target="_blank">Android Market</a> has been <a href="http://www.androiddevelopment.org/2008/10/31/android-market-kicks-off/">started</a> it does support free applications in their <del datetime="2009-01-19T09:39:44+00:00">store</del> market. Though Google <a href="http://www.androiddevelopment.org/2008/12/31/distribute-your-android-apps-in-more-countries-and-offer-priced-software-on-android-market/">announced</a> that we will be able to add commercial products soon &#8212; the actual question is: When?<br />
<img src='http://www.androiddevelopment.org/wp-content/uploads/2009/01/johnny_automatic_bag_of_money.png' alt='US Dollar' align="right" vspace="15" hspace="15" /><br />
Until now nothing happened at this front and therefore, I guess it might still take a while before developers can earn some money with their applications. However, the Android Market is being used very heavily already &#8212; free software is popular everywhere! So users keep downloading applications from the Market massively. In order to <strong>make some cents</strong> out of this in future (when commercial products can be sold) you must be up with your application already!</p>
<p>My point is: you need to start grabbing potential customers now, even though they do not spend any money on applications &#8212; yet. </p>
<p>Of course, I don&#8217;t want you to give your developed apps away for free. Most applications took a long time to develop and you (or your company) spent a lot of time and put in quite some effort to create this neat peace of software. This all creates costs on the developer&#8217;s side (if you are not a student who is programming for fun without the need to make a living &#8212; again: yet) which needs to be compensated at some point. </p>
<p><strong>How you grab potential customers</strong></p>
<p>The application you want to sell might be finished already (don&#8217;t forget to <a href="http://www.androiddevelopment.org/2009/01/19/signing-an-android-application-for-real-life-mobile-device-usage-installation/">sign</a> it!). It is too valuable to give it away for free but you want users already &#8211; for selling the full version to them later or just to get some feedback. The best way to get users using your application is the Android Market. Hence, you need to be in there!</p>
<p>Create a demo/trial version of your application. There are plenty of ways on how to create a demo version. However, as we do not know at which date commercial applications will be available on the Android Market I suggest to &#8220;cripple&#8221; your full version in order to demonstrate your applications capabilities. A time limitation might be possible too but due to the uncertain time line I would just prefer &#8220;crippling&#8221;. Though, I am not a fan of that, usually.</p>
<p>Once you have done this you can upload your application to the Android Market at: <a href="http://market.android.com/publish/" target="_blank">http://market.android.com/publish/</a></p>
<p><center><img src='http://www.androiddevelopment.org/wp-content/uploads/2009/01/picture-3.png' alt='Android Market Installs / Downloads' /></center></p>
<p>Now you just wait and let the installation / download counter increase minute by minute (image above is 6 hours after program upload!). Once the Android Market supports commercial applications you can upload your full version, change the application&#8217;s preferences to &#8220;commercial&#8221; / &#8220;paid&#8221; content and charge a little fee like say $2. Let us do some maths here for getting a rough idea on what this can bring. In case you gained 20,000 active installations after 2 months, you are having 20,000 users of your application. Meaning: 20,000 users really like your app &#8211; though it is crippled. Let us assume half of them (10,000 users) would really spend $2 on the full version. Once you release your full version you will get $20,000 instantly with the release and you are a happy developer! </p>
<p><center><img src='http://www.androiddevelopment.org/wp-content/uploads/2009/01/artfavor_stylized_dollar_bill_money.png' alt='The Dollar Bill' /></center></p>
<p>To be honest, developing applications is not just about money. It is a lifestyle &#8211; an art! However, even <a href="http://en.wikipedia.org/wiki/Vincent_van_Gogh" target="_blank">artists</a> have to eat sometimes or spend money on <a href="http://en.wikipedia.org/wiki/Absinthe" target="_blank">Absynthe</a> in the evening; so we need some bucks too. I think $2 for a nice app is nearly nothing and everyone can afford this. Just to honor hard work of programming.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.androiddevelopment.org/2009/01/20/how-to-earn-money-with-your-application-through-the-android-market/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Signing an Android Application for Real Life Mobile Device Usage / Installation</title>
		<link>http://www.androiddevelopment.org/2009/01/19/signing-an-android-application-for-real-life-mobile-device-usage-installation/</link>
		<comments>http://www.androiddevelopment.org/2009/01/19/signing-an-android-application-for-real-life-mobile-device-usage-installation/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 08:07:18 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Distribution]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[APK]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[jarsigner]]></category>
		<category><![CDATA[keytool]]></category>
		<category><![CDATA[sign]]></category>

		<guid isPermaLink="false">http://www.androiddevelopment.org/2009/01/19/signing-an-android-application-for-real-life-mobile-device-usage-installation/</guid>
		<description><![CDATA[
			
				
			
		

If you want to publish an Android application you first need to write it   
The result of your programming will be an .APK file which is the actual program binary of your application. However, the .APK file your compiler creates can only be used with the emulator on your desktop PC or Mac. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.androiddevelopment.org%2F2009%2F01%2F19%2Fsigning-an-android-application-for-real-life-mobile-device-usage-installation%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.androiddevelopment.org%2F2009%2F01%2F19%2Fsigning-an-android-application-for-real-life-mobile-device-usage-installation%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img src='http://www.androiddevelopment.org/wp-content/uploads/2009/01/certificate_android.gif' alt='Android Certificate' align="right" vspace="15" hspace="15" /><br />
If you want to publish an Android application you first need to <a href="http://www.androiddevelopment.org/2008/10/21/android-development-demo-dialanumber-how-to-write-your-own-very-first-android-program-made-simple/">write</a> it <img src='http://www.androiddevelopment.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>The result of your programming will be an <a href="http://en.wikipedia.org/wiki/APK_(file_format)" target="_blank">.APK file</a> which is the actual program binary of your application. However, the .APK file your compiler creates can only be used with the <a href="http://www.androiddevelopment.org/2008/11/11/how-to-create-and-use-the-sd-card-with-the-android-emulator/">emulator</a> on your desktop PC or Mac. You <strong>cannot</strong> use the same .APK file to install and run your app on your Android phone (like the <a href="http://www.androiddevelopment.org/2008/12/09/android-t-mobile-htc-g1-phone-for-developers-sim-lock-free/">G1</a>, <a href="http://www.androiddevelopment.org/2008/12/05/kogan-agora-2nd-official-android-os-powered-mobile-phone/">Kogan Agora</a>, or <a href="http://www.androiddevelopment.org/2008/12/24/more-android-powered-mobile-smartphones-from-htc-samsung-garmin/">else</a>). </p>
<p><strong>Why is that?</strong> Well, Google wants to protect its phone users from installing and running fraudulent software on their devices. Therefore, each and every application needs to be signed with a valid certificate that ensures where the application comes from. Meaning: the developer (you!) signs the application with his/her certificate to make sure it is always traceable where the application comes from. There are a bunch of more reasons to this so lets check out what Google is saying about this topic:</p>
<blockquote><p>The important points to understand about signing Android applications are:</p>
<ul>
<li>All applications must be signed. The system will not install an application that is not signed.</li>
<li>You can use self-signed certificates to sign your applications. No certificate authority is needed.</li>
<li>When you are ready to publish your application, you must sign it with a suitable private key. You can not publish an application that is signed with the default key generated by the SDK tools. </li>
<li>The system tests a signer certificate&#8217;s expiration date only at install time. If an application&#8217;s signer certificate expires after the application is installed, the application will continue to function normally.</li>
<li>You can use standard tools — Keytool and Jarsigner — to generate keys and sign your application .apk files.</li>
</ul>
</blockquote>
<p><big><strong>3 Easy Steps for getting what you need to sign Applications</strong></big><br />
(this needs to be done once only)</p>
<ol>
<li><strong>Create a keystore with your own keys and certificates</strong><br />
First of all you need to create a keystore which stores your certificate. A certificate is always created by the developer himself without any interaction from Google. This actually means that Google does not approve certificates before you can use them for signing your application. (Note: other companies like RIM, Nokia/Symbian, Windows Mobile do such things.) </p>
<p>Once you installed a <a href="http://java.sun.com" target="_blank">Java SDK</a> you can use the default <code>keytool</code> application to create your own keystore. A Java SDK is installed by default on Mac OS X machines and can also be installated additionally on your Windows PC or Linux machine. If you have Java SDK running on your system just go to any prompt and type in the following:</p>
<p><strong>Windows: START&raquo;Command</strong><br />
<code>$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -validity 10000</code></p>
<p><strong>Windows: Mac: Terminal</strong><br />
<code>$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -validity 10000</code></p>
<p>You will be asked to enter a password for your keystore. Choose it <a href="http://www.google.com/custom?hl=en&#038;newwindow=1&#038;client=pub-8860937912500921&#038;cof=FORID:11%3BAH:left%3BCX:Web%2520Search%3BL:http://www.google.com/coop/intl/en-US/images/custom_search_sm.gif%3BLH:65%3BLP:1%3BVLC:%23551a8b%3BGFNT:%23666666%3BDIV:%23cccccc%3B&#038;ad=w9&#038;cx=014406601618691980581:jznskdza4yk&#038;adkw=AELymgW98-Gij5kHLpGkIWBWMymMjokCOmWOTKXWH7t2gU5hOcKxW80ssAzMAsedKucxYjNC4WPfRgsG_xi80vxhhXo3-gltCH8ckXpgDgo2JnVj6b7nuhU&#038;rurl=http://www.s4bb.net/search.html%3Fcx%3D014406601618691980581%253Ajznskdza4yk%26cof%3DFORID%253A11%26q%3Dhow%2Bto%2Bchoose%2Bthe%2Bright%2Bpassword%26sa%3DSearch%26google_rsg%3D__hbRhj_jvCUO0E81k3s79Qxhz4k0%3D&#038;q=how+to+choose+the+right+password&#038;start=0&#038;sa=N" target="_blank">wisely</a> and remember it! You will need it every time you sign an APK file. Follow the instructions and finalize the creation of your keystore.
	</li>
<li><strong>Place the keys at a location that makes sense</strong><br />
Choosing the right place for your keystore is quite important. Let&#8217;s imagine you write more than one application so it would not make that much sense to put this keystore into the project directory of the application you are currently working with. As I am using <a href="http://www.amazon.com/dp/B000FK88JK?tag=s4bbltd-20&#038;camp=14573&#038;creative=327641&#038;linkCode=as1&#038;creativeASIN=B000FK88JK&#038;adid=038M31M1ZDTJK7BYX84C&#038;" target="_blank">Mac OS X Leopard</a> and <a href="http://www.eclipse.org" target="_blank">Eclipse</a> I got a project directory like <code>/Users/YOUR_NAME/Documents/workspace/DialANumber</code>. However, as mentioned before a more global approach might make so I copied the keystore to the directory:</p>
<p><code>/Users/YOUR_NAME/Documents/workspace/androidkeys</code></p>
<p>So we got our keystore prepared for signing now.
	</li>
<li><strong>Write a short script to make your life easier</strong><br />
Just to make the life easier I wrote a short script which can be used each time to sign your Android APK file. You can download it below and place it in the same directory you placed the keystore at (see point 2).</p>
<p><strong>Download:</strong> <a href='http://www.androiddevelopment.org/wp-content/uploads/2009/01/signing-script-example.zip' title='Signing Script for Easy APK Signing'>Signing Script for Easy .APK Signing</a>
	</li>
</ol>
<p>Once you have done this we are ready for signing our application!</p>
<p><big><strong>3 Easy Steps for getting your Application signed</strong></big><br />
(this needs to be done each time you build a binary that is going to be published)</p>
<ol>
<li><strong>Build your application</strong>
<p>Right click your Android project in Eclipse and select <code>Android Tools &raquo; Export Unsigned Application Package...</code>. Follow the instructions and remember the directory your placed the .APK file at. E.g. <code>cd /Users/YOUR_NAME/Documents/workspace/DialANumber/deploy/</code>
	</li>
<li><strong>Go to your keystore &amp; script directory</strong>
<p><code>cd /Users/YOUR_NAME/Documents/workspace/androidkeys/</code>
	</li>
<li><strong>Sign your application</strong><br />
In your androidkeys directory you need to execute:</p>
<p><code>./sign-mac-example.sh ../DialANumber/deploy/DialANumber.apk<br />
Enter passphrase: </code></p>
<p>After you entered your passphrase the application should be signed.
	</li>
</ol>
<p>You can now upload your app to your server and install it on an Android phone or you can even publish it on the <a href="http://market.android.com/publish" target="_blank">Android Market</a>!</p>
<p><strong>Sources:</strong></p>
<ul>
<li><a href="http://code.google.com/android/devel/sign-publish.html" target="_blank">Android Documentation</a></li>
<li><a href="http://www.anddev.org/viewtopic.php?p=11318" target="_blank">Anddev.org howto</a></li>
</ul>
<p>P.S.: The complete signing process (the part you need to do each time you sign an app) could be integrated better into Eclipse. I hope Google improves this in future. They could add an entry like <code>Android Tools &raquo; Export Signed Application Package...</code> so the developer just needs to enter the passphrase in a GUI dialog. This would make everyone&#8217;s life much easier. Perhaps a bored Eclipse PlugIn developer might want to write a plugin for this? It would make many people happy I guess <img src='http://www.androiddevelopment.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.androiddevelopment.org/2009/01/19/signing-an-android-application-for-real-life-mobile-device-usage-installation/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
