tag:blogger.com,1999:blog-7089791904082017982024-03-14T02:45:29.180-07:00BlackBerry Developers GroupSiddharth Ajmerahttp://www.blogger.com/profile/02041414135638207288noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-708979190408201798.post-51030598645678084252013-10-16T23:26:00.001-07:002013-10-16T23:28:50.404-07:00 BlackBerry 10 Code Signing Guide for Contractors with Multiple Clients<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<center>
<img src="http://rimdevblog.files.wordpress.com/2013/10/blackberry-code-signing-keys.jpg?w=550&h=322" />
</center>
Contractors creating applications for multiple clients will need to
make use of multiple developer certificates and BlackBerry Code Signing
Keys or BlackBerry ID Tokens. It is important to note that upgrades to
an application must be signed with the same BlackBerry Signing Account
as the previous version, otherwise the <a href="http://supportforums.blackberry.com/t5/Testing-and-Deployment/Application-Upgrade-Appears-as-a-New-Separate-Application/ta-p/1122645">application upgrade would be installed as a separate application</a>.<br />
<br />
<span id="more-16463"></span><br />
This blog post outlines the recommended procedure for managing this
situation, which protects both the contractor and client company who
owns the application. We’ll cover BlackBerry ID Tokens and BlackBerry
Code Signing Keys. If you are developing using a BlackBerry 10.2 or
higher SDK, it is recommended to use BlackBerry ID Tokens. If you are
developing for the BlackBerry PlayBook or using an SDK lower than
version 10.2, you need to use a BlackBerry Code Signing Key. Note that
if both are present on your system, the BlackBerry ID Token will be used
for version 10.2+ SDKs and the BlackBerry Code Signing key will be used
by older SDKs.<br />
<br />
For this tutorial, we’re going to assume you are starting from a
clean computer that does not have any existing BlackBerry ID Tokens or
BlackBerry Code Signing keys installed. If you have keys installed
already, follow the instructions in the article <a href="http://supportforums.blackberry.com/t5/Testing-and-Deployment/Backup-and-Restore-BlackBerry-Code-Signing-Keys/ta-p/837925">Backup and Restore BlackBerry Code Signing Keys</a> to back up your existing files and then erase those files from your computer to prepare to configure new ones.<br />
<br />
<b>Using BlackBerry ID Tokens</b><br />
If you are developing using a BlackBerry 10.2 or higher SDK, it is
recommended to use BlackBerry ID tokens. Step one would be to have your
client log into their BlackBerry ID account and <a href="https://developer.blackberry.com/codesigning/">download a BlackBerry ID Token</a>. This
puts them in control, enabling them to supply future contractors with a
token that can be used to sign upgrades of their application. You
shouldn’t be held liable for a lost or missing BlackBerry ID Token. Once
they have their token they can email it to you along with the password
they chose when downloading the token. You’ll need to save the token in
the directory listed below:<br />
<ul>
<li>Windows Vista®, Windows 7® and Windows 8®: %HOMEPATH%\AppData\Local\Research In Motion</li>
<li>Windows® XP: %HOMEPATH%\Local Settings\Application Data\Research In Motion</li>
<li>Mac OS: ~/Library/Research In Motion</li>
<li>Unix / Linux: ~/.rim</li>
</ul>
After receiving the BlackBerry ID token, you’ll need to create a developer certificate with your client’s name.<br />
<br />
<b>Creating a Developer Certificate using a BlackBerry IDE</b><br />
To create a developer certificate using a BlackBerry IDE, click on
the Window menu, choose Preferences, expand BlackBerry,
select Signing and click on the Create Certificate button. When creating
the developer certificate use the same password as the BlackBerry ID
Token. This should create an author.p12 file in the same location you
saved the BlackBerry ID token.<br />
<br />
<b>Creating a Developer Certificate Using the Command Line</b><br />
To create a developer certificate using the command line, execute the
command below. Use the same password as the BlackBerry ID token.<br />
<br />
<br />
<div>
<pre><span style="background-color: #999999;">blackberry-keytool -genkeypair -storepass 'your_password' -dname </span></pre>
<pre><span style="background-color: #999999;">"cn='company_name'"</span></pre>
</div>
<br />
Replace <your_password> with the password you wish to use. It
is recommended to use the same password as the BlackBerry ID
token. Replace <company_name> with your client’s company name.
This should create an author.p12 file in the same location you saved the
BlackBerry ID token.</company_name></your_password><br />
<br />
<b>Using BlackBerry Code Signing Keys</b><br />
If you are developing using a BlackBerry 10.2 or higher SDK, it is
recommended to use BlackBerry ID tokens. If you are developing using an
older version of BlackBerry SDK, you will need to use BlackBerry Code
Signing Keys.<br />
<br />
<b>Is this Your Client’s First BlackBerry Application?</b><br />
If this is your client’s first BlackBerry application, they need to
start fresh. The first step is to either have your client request or <a href="https://www.blackberry.com/SignedKeys/codesigning.html">request on their behalf a BlackBerry Code Signing key</a> using their company name. Once received, install the code signing keys. Refer to the <a href="https://developer.blackberry.com/CodeSigningHelp/">Code Signing help pages</a> for instructions for installing keys for your SDK.<br />
<br />
After they have been configured, back up the code signing keys and
send a copy of them to your client. They can be backed up using the
procedure outlined in this article: <a href="http://supportforums.blackberry.com/t5/Testing-and-Deployment/Backup-and-Restore-BlackBerry-Code-Signing-Keys/ta-p/837925">Backup and Restore BlackBerry Code Signing Keys</a>.<br />
<br />
<b>Your Client has Existing BlackBerry Applications</b><br />
If your client has existing BlackBerry 10 or BlackBerry PlayBook
applications they would already have a BlackBerry Code Signing key. Have
them send you a backup of their key which you can <a href="http://supportforums.blackberry.com/t5/Testing-and-Deployment/Backup-and-Restore-BlackBerry-Code-Signing-Keys/ta-p/837925">restore</a>.</div>
Siddharth Ajmerahttp://www.blogger.com/profile/02041414135638207288noreply@blogger.com0tag:blogger.com,1999:blog-708979190408201798.post-18719356231721746212013-10-16T08:25:00.001-07:002013-10-16T12:39:03.479-07:00 LinkedIn App for BlackBerry 10 Gets an Update: Explore Your Professional Network & Content on the Move <div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div style="text-align: center;">
</div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTqnMhUMAF5aTaqRexxtIiE_6dLyYQdy4Vpg7kGiT3WcmhOcwwtRA" /> </div>
<div style="text-align: center;">
If you’re a business professional, there’s a good chance you’re already familiar with <a href="http://www.linkedin.com/" target="new">LinkedIn</a>,
the premier professional social networking site that now boasts more
than 200 million members. A LinkedIn profile is pretty much required
these days, but if you haven’t jumped on the bandwagon yet, now’s a
perfect time to start: LinkedIn has just released <a href="http://blck.by/15F3NZr" target="new">version 10.1.5</a> of their app for <a href="http://web.blackberry.com/software/smartphones/blackberry-10-os.html" target="new">BlackBerry 10</a>, which comes with a whole host of great new features that will have you networking more effectively than ever. </div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
</div>
</div>
<br />
<center>
<div>
<img src="http://rimbizblog.files.wordpress.com/2013/09/liapp1.jpg?w=307&h=511" /><br />
<a href="http://bizblog.blackberry.com/2013/10/updated-linkedin-app-for-blackberry-10/"><b>Read more on the Inside BlackBerry for Business Blog</b></a></div>
</center>
</div>
Siddharth Ajmerahttp://www.blogger.com/profile/02041414135638207288noreply@blogger.com0