Setting up Blackberry development environment without Eclipse

For setting up of Blackberry environment there are some prerequisites :

  • Set ANT_HOME, JAVA_HOME Environment Variables.

The next step is BlackBerry Code Signing  :

Here is the link to register for blackberry code signing https://www.blackberry.com/SignedKeys/

Installing the signing keys :

You will receive RBB, RRT and RCR keys. To install them you will need to follow this process for each one csi files:

1.  Double-click on the attachment
2.  If a dialog box appears that states a private key cannot be found, complete steps 3 through 6 before you continue. Otherwise, proceed to step 7.
3.  Click “Yes” to create a new key pair file.
4.  Type a password for your private key, and type it again to confirm.
5.  Click “Ok”
6.  Move your mouse to generate data for a new private key.
7.  In the “Registration PIN” field, type the PIN number that you supplied on the signature key request form.
8.  In the Private Key password field, type a password of at least 8 characters. This is your
private key password, which protects your private key. Please remember this password asyou will be prompted for it each time signing is attempted.
9.  Click “Register”.
10. Click “Exit”.

When  registering  with  the  signing  authority,  ensure  that  you  have  correctly  entered  your registration PIN number.  If you enter an incorrect PIN 5 times, your keys will be deactivated. The same password must be specified for all keys on the same PC.

All three signing keys have to be installed on the same PC otherwise the signing keys will not work.

Now you are all ready for the development and deployment of blackberry application.

 

Blackberry

Tutorial creating a Android project using command line.

To create an Android project, you must use the android tool which comes with the latest android  SDK package. When you create a new project with android, it will generate a project directory with some default application files, stub files, configuration files and a build file.

First you need to download Android SDK. SDK starter package is not a full development environment—it includes only the core SDK Tools, which you can use to download the rest of the SDK components (such as the latest Android platform).

If you haven’t already, get the latest version of the SDK starter package from the SDK download page.

Once the SDK is downloaded.

In all development environments, follow these steps to access the Android SDK and AVD Manager tool from the command line:

  1. Navigate to the <sdk>/tools/ directory.
  2. Execute the android tool command with no options.

To download components, use the graphical UI of the Android SDK and AVD Manager to browse the SDK  path and select new or updated components.

Once all the components are installed. We can create our android project.

To create a new Android project, open a command-line, navigate to the tools/ directory of your SDK and run:

android create project –target 1 –name MyAndroidApp –path ./MyAndroidAppProject –activity MyAndroidAppActivity –package com.example.myandroid

target is the “build target” for your application. It corresponds to an Android platform library (including any add-ons, such as Google APIs) that you would like to build your project against. To see a list of available targets and their corresponding IDs, execute: android list targets. If no target are found we have install latest Api for android.

name is the name for your project. This is optional. If provided, this name will be used for your .apk filename when you build your application.
path is the location of your project directory. If the directory does not exist, it will be created for you.

activity is the name for your default Activity class. This class file will be created for you inside <path_to_your_project>/src/<your_package_namespace_path>/ . This will also be used for your .apk filename unless you provide a name.

package is the package namespace for your project, following the same rules as for packages in the Java programming language.

For More detailed information you can visit http://tinyurl.com/4ttxsdd

Android