Saturday, July 10, 2010

Memory types in BlackBerry devices

BlackBerry devices include the following types of memory:

Memory

Description

flash

The BlackBerry operating system and all application modules are stored persistently in flash memory. When a BlackBerry device user turns on the BlackBerry device, the core operating system and the BlackBerry® Java Application modules use approximately 10 MB to 15 MB of flash memory, depending on the version. Flash memory can store the BlackBerry device user's email messages, organizer data, and other personal information, as well as the data that a BlackBerry Java Application stores in memory.

SRAM

SRAM controls the transient data objects and runtime processes.

MicroSD expandible memory card

The microSD card stores media files, documents, and persistent data from a BlackBerry Java Application.

Installing android applications on simulator / device

Basically these are the steps to install android application in simulator/device.

* Via USB Cable to simulator/device from computer
* Install from Android Market


******** Via USB Cable to device from computer *********

Pre-Requisite: There should be Android SDK installed on the computer.
The tool you need is adb.exe.

1. Type adb in a command shell will display all the options, adb.exe is SDK tool used to install applications and interface with the device.

2. Connect Your Android Phone to your computer using USB cable. You need to install Drivers for this. This driver is required for adb to interface with an android phone using USB cable.

3. Go to Android Settings / SD card & Phone storage and disable "Use for USB storage". You can enable it again later after you installed your third-party application.

4. Go to Settings/Application settings and enable Unknown sources.

5. Connect the device to your computer using the USB cable and install the driver you downloaded in step 2. After installing the driver you should see ADB Inteface in Windows Device Manager.

6. If you made it this far, download the APK file to a local folder on your computer, something like C:\MyAPKs will work fine and install it using ADB. Open prompt and run the below command to install the application.

> adb install .apk if your application is in tools folder, otherwise

> adb install Path_of_Your_Application

Now enjoy with your application !!!


******** Via USB Cable to simulator from computer*********


PreRequisite: There should be Android SDK installed on the computer.

From one command prompt:

1. First create a virtual device the below command

> android create avd -n -t 2

2. Run the created virtual device using the below command

> emulator -avd

3. The created virtual device will be opened.

4. Copy the application file (.apk file) to the tools folder under the SDK installation folder or some other folder.

5. Open another command prompt and run the below command to install the application.

> adb install .apk if your application is in tools folder, otherwise

> adb install Path_of_Your_Application

6. Application will be installed on the virtual device/emulator.


***********Install from Android Market************


1. Install and open the Apps Installer application from the "Android Market".

2. This opens a view showing *.apk application names in the sdcard root directory.(note, if no AppNames are listed you have no .apk files in the root directory of the SDCard)

3. Touch the app name to initiate installation of the app.

4. The app is now installed.

Installing J2ME applications on devices

Installing J2ME applications on devices.

Basically there are three steps to install J2ME applications in device.

• via USB Cable
• via OTA
• via Bluetooth

************Install the application via USB Cable:*************

1. Connect Device with PC, with the help of Cable Cord .

2. Open Device Memory or Memory Card folder of Device.

3. Copy Jad, Jar files of Application from PC and paste them in Device Memory or Memory card folder.

4. Disconnect the connected device.

5. Open Device Memory or Memory card folder in device.

6. Click on the Jar file of the Application for installing the application in device.

7. Allow all the permission which device ask at the time of installing the app.

8. Set the Device permission for application from Application Settings , Permission like :Network Connection , User’s Read Write data , Ask for Permissions.

9. Open Application Manager Screen of Device.

10. Click on Application Logo.

11. Application opens.


***********Install the Application through Bluetooth:*************

1. Switch on Bluetooth in device (Settings->Connectivity->Bluetooth)

2. Switch on computer/laptop bluetooth.

3. Select the Jad, Jar files of Application.

4. Search the Device on which you want to send Application Files.

5. Select the Device and send Application Jad, Jar file from computer/laptop with the help of Bluetooth.

6. Application’s Files are received through message.

7. Click on Jar file Message in Inbox of your device.

8. Application Installation process gets started.

9. Allow all the permission which device ask at the time of installing app.

10. Set the Device permission for application from Application Settings , Permission like :Network Connection , User’s Read Write data , Ask for Permissions.

11. Open Application Manager Screen of Device.

12. Click on Application Logo.

13. Application opens.

*************Install the Application through OTA (Over The Air):************

1. Open Device WAP Browser.

2. Enter the link of the site for downloading the application.

3. After opening the site, select the link which points to the JAD file of the application (JAD file is nothing but the manifest file and contains information about the application like App Name, Vendor Name, App Size etc)

4. Download the JAD file and then the Jar file.

5. Application Jar file gets downloaded on device and automatically start the installation process.