Automatic Android Code Signing in Unity

Create a new folder in your project called Editor
Within that folder create a new C# script called something like PreloadSigningAlias.cs
Copy and paste the code below into the script and save it.
Replace KEYSTORE_PASS with the password to your keystore
Replace ALIAS_NAME with the name of your android alias
Replace ALIAS_PASSWORD with the password for your alias.
Save again.
Build project.
Done.
 NOTE: I recently changed from a windows laptop to a macbook and had to set this up again. During that process I discovered I couldn’t select the .jks key store file I had created with android. To fix this I had to rename the file so it had a .keystore extension. 

using UnityEngine;
using UnityEditor;
using System.IO;
[InitializeOnLoad]
public class PreloadSigningAlias
{
 static PreloadSigningAlias ()
 {
  PlayerSettings.Android.keystorePass = "KEYSTORE_PASS";
  PlayerSettings.Android.keyaliasName = "ALIAS_NAME";
  PlayerSettings.Android.keyaliasPass = "ALIAS_PASSWORD";
 }
}

Learn to program for the Blackberry Playbook with code samples. Intro.

I’m trying to teach myself ActionScript to be able to develop applications for the Blackberry Playbook.
After a bit of a false start when I was tried jumping in at the deep end and trying to pull information out of a SQL Lite database, I decided that I should probably stop, go back to the beginning and start with something simple, and then and work my way up.

I decided that as I went I would share my little code sample with everyone in a series of posts in case they help out someone else also.

Here’s what you need to follow along:

Install them in the order listed above. You also need to add the path to the Tablet OS SDK into your systems PATH environment variable.