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.
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.
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.
The Test Scenarios will vary from application to application depending its type.
Below are some of the scenarios captured for general testing of any mobile application.
No.
Module
Sub-Module
Test Case Description
Expected Result
1
Installation
Verify that application can be Installed Successfully. Check all the three types of installation like via via USB Cable, via OTA, via Bluetooth
Application should be able to install successfully.
2
Uninstallation
Verify that application can be uninstalled successfully.
User should be able to uninstall the application successfully.
3
Network Test Cases
Verify the behavior of application when there is Network problem and user is performing operations for data call.
User should get proper error message like “Network error. Please try after some time”
4
Verify that user is able to establish data call when Network is back in action.
User should be able to establish data call when Network is back in action.
Verify the type of network used like GPRS, Wi-fi etc
For blackberry applications verify the type of server used during data connection like BIS or BES
5
Voice Call Handling
Call Accept
Verify that user can accept Voice call at the time when application is running and can resume back in application from the same point.
User should be able to accept Voice call at the time when application is running and can resume back in application from the same point.
6
Call Rejection
Verify that user can reject the Voice call at the time when application is running and can resume back in application from the same point.
User should be able to reject the Voice call at the time when application is running and can resume back in application from the same point.
7
Call Establish
Verify that user can establish a Voice call in case when application data call is running in background.
User should be able to establish a Voice call in case when application data call is running in background.
8
SMS Handling
Verify that user can get SMS alert when application is running.
User should be able to get SMS alert when application is running.
9
Verify that user can resume back from the same point after reading the SMS.
User should be able to resume back from the same point after reading the SMS.
10
Unmapped keys
Verify that unmapped keys are not working on any screen of application.
Unmapped keys should not work on any screen of application.
11
Application Logo
Verify that application logo with Application Name is present in application manager and user can select it.
Application logo with Application name should be present in application manager and user can select it.
12
Splash
Verify that when user selects application logo in application manager splash is displayed.
When user selects application logo in application manager splash should be displayed.
13
Note that Splash do not remain for fore than 3 seconds.
Splash should not remain for fore than 3 seconds.
14
Low Memory
Verify that application displays proper error message when device memory is low and exits gracefully from the situation.
Application should display proper error message when device memory is low and exits gracefully from the situation.
15
Clear Key
Verify that clear key should navigate the user to previous screen.
Clear key should navigate the user to previous screen.
16
End Key
Verify that End Key should navigate the user to native OEM screen.
End Key should navigate the user to native OEM screen.
17
Visual Feedback
Verify that there is visual feedback when response to any action takes more than 3 seconds.
There should be visual feedback given when response time for any action is more than 3 second.
18
Continual Keypad Entry
Verify that continual key pad entry do not cause any problem.
Continual key pad entry should not cause any problem in application.
19
Exit Application
Verify that user is able to exit from application with every form of exit modes like Flap, Slider, End Key or Exit option in application and from any point.
User should be able to exit with every form of exit modes like Flap,Slider,End Key or Exit option in application and from any point.
20
Charger Effect
Verify that when application is running then inserting and removing charger do not cause any problem and proper message is displayed when charger is inserted in device.
When application is running then inserting and removing charger should not cause any problem and proper message should be displayed when charger is inserted in device.
21
Low Battery
Verify that when application is running and battery is low then proper message is displayed to the user.
When application is running and battery is low then proper message is displayed to the user telling user that battery is low.
22
Removal of Battery
Verify that removal of battery at the time of application data call is going on do not cause interruption and data call is completed after battery is inserted back in the device.
Removal of battery at the time of application data call is going on should not cause interruption and data call should be completed after battery is inserted back in the device.
23
Battery Consumption
Verify that application does not consume battery excessively.
The application should not consume battery excessively.
24
Application Start/ Restart
1. Find the application icon and select it 2. “Press a button” on the device to launch the app. 3.Observe the application launch In the timeline defined
Application must not take more than 25s to start.
25
Application Side Effects
Make sure that your application is not causing other applications of device to hamper.
Installed application should not cause other applications of device to hamper.
26
External incoming communication – infrared
Application should gracefully handle the condition when incoming communication is made via Infra Red [Send a file using Infrared (if applicable) to the device application presents the user]
When the incoming communication enters the device the application must at least respect one of the following: a) Go into pause state, after the user exits the communication, the application presents the user with a continue option or is continued automatically from the point it was suspended at b) Give a visual or audible notification The application must not crash or hung.
27
Application permissions
Changing the application permissions to Custom, Deny and Allow states for different services like Persistent store, interaction , connections etc.
The application should behave appropriately according to the access permission given to it.
28
View Mode
Changing the view mode from mobile view to desktop view and vice versa, should work fine.
Also changing the view mode from portrait view to landscape view and vice versa, should work fine.
29
Connection Type
Application should work correctly with all six types of connectiontype like
E.g. for Blackberry devices there can be six types of connections like
* BES using MDS
* BIS
* Direct TCP
* Wi-Fi. Very handy when you are waiting in airport or flying.
* WAP 1.x gateway
* WAP 2.0 gateway
30
SIM Card
Check the application with or without inserting SIM