BlackBerry SDK 5.0 Issue - blackberry

I developed a Hello World application using Black Berry Eclipse plug-in. When I rant it on any BlackBerry simulator of which platform version is greater than or equal to 5.0 then the Hello World application is not found listed in the default application list. However, I can run the application from Options > Application : Search (Thridparty) and switch application. How can I make my application come to the default application list on any BlackBerry simulator with platform version is 5.0 or greater.
My Hello World application is built for the JRE BlackBerry JRE 5.0.0
Can any one help....
Thanks,
Benoy Bose

The application is located in the Downloads folder on the phone.
If this is not what you are looking for has an answer, please clarify your question.

Related

Ripple Emulator does not creating any .COD package for blackberry 6& 7

I add the ripple emulator through google chrome
I enable the ripple emulator through google chrome
I have a more doubts on this place. I install the BLACK BERRY Web-works sdk from this link: https://developer.blackberry.com/html5/download/. Is this web-works SDK is supported for blackberry 6,7 environment & 10?
BlackBerry 10 Environment native structure is getting from web-works sdk. Blackberry 10 is building successfully. so Blackberry 10 .For creating a bar package I followed total procedure by using blackberry web-works sdk web-tool. So BAR FILE is created successfully
So I have a doubt on Blackberry 6 & 7 Environment .[In mobilefirst platform foundation 7.0 blackberry 6 & 7 environment is created and build successfully ,But it does not asking any environment variables for web-works_home
so I am following through ripple emulator for creating .cod package?
Ripple emulator extensions from google chrome is not working fine. Is not showing start or stop services . I want to create .cod file. Please suggests some steps for Blackberry 6 & 7 environment structure.
I have a more doubts on this place. I install the BLACK BERRY Web-works sdk from this link: https://developer.blackberry.com/html5/download/. Is this web-works SDK is supported for blackberry 6,7 environment & 10?
The links clearly mention only BlackBerry 10, hence it is only supported for BlackBerry 10.
If you want to build a .cod file for your BlackBerry 6 & 7 then you need the WebWorks SDK for BlackBerry 6 & 7.
Have you read the following tutorial, which instructions how to install the correct SDK? https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/setting-up-your-development-environment/setting-blackberry-6-7-development-environment/
Delete your current SDK installations and follow the instructions in the tutorial above and the tutorials that follow it.

IBM Worklight - Blackberry App not working in OS 6.0 or 7.1

Blackberry app working in OS 5.0 but not working in OS 6.0 or 7.1
Following steps I follow in ripple:
Selected platform webworks 2.0.0
In Build option clicked on settings and entered new SDK path.
Entered native folders path in Project Root
gave a name in Archive name
entered a path in output folder
ENtered password in password field
still getting error while packaging "CreateProcessW: The system cannot find the file specified."
So still packaging the app manually and the app is working in OS 5.0 but not in OS
I have used Worklight 5.0.6.2 and 5.0.5 to develop app and in both the case the app is working only in OS 5.0
Using:
Worklight 5.0.5/5.0.6.2
BlackBerry SDK v2.3.1.5
"BlackBerry" platform in Ripple
The reason it works in the Ripple emulator is because all that emulator does is load the web resources of the application, which essentially is just like previewing the application using Worklight Console instead.
I am guessing that the following may help (it helped me get Ripple back into working condition):
Copy the BlackBerry SDK from Program files to C:\ (also remove any spaces in the folders path)
Make sure your Java is also in C:\
Navigate to the bin\ folder of the SDK in its new location
Open the file bbwp.properties file and edit the Java path to its new location in C:\
Check if Ripple now signs your application
In addition to the above, make sure that the "platform" you've chosen is "WebWorks 2.0.0". That's the correct platform when using BlackBerry 6/7.
In the Settings window in Ripple, you need to:
point to the new SDK location from above.
The path field needs to point to the native folder of your Worklight's BlackBerry environment.
And of course you need to specify output folder location, name, signing keys password, ...
Try to package and sign again using Ripple.
I do hope of course, that you've read the Getting Started training material about BlackBerry?
Setting up your BlackBerry 6 and 7 development environment
Previewing your application on BlackBerry 6 and 7
General information when developing for BlackBerry 6 and 7

App not deploying on BlackBerry Simulator 4.2 with Eclipse 3.7

I am developing a BlackBerry application with Eclipse 3.7 (Indigo) and the BlackBerry Eclipse plugin. My application is not deploying on the BlackBerry Simulator 4.2.0.46.
If I close and clear the simulator and run the project, it is working but after all not deploying the app on the simulator.
BlackBerry OS 4.2 is very old. You really do not need to target OS 4.2. It is quite rare. Look at 4.5 or 4.6 as a minimum these days. WhatsApp, one of the most popular third party apps for BlackBerry, does not support anything earlier than OS 4.6.
In your question, you say "If I close and clear the simulator and run the project, it is working but after all not deploying the app on the simulator." When you say 'it is working' what do you mean? It seems it isn't working, as you want to deploy your app, so the wording there is confusing.

net_rim_json_org not found

I have created one application in j2me, I have used json parsing in that application. I can build it SUCCESSFULLY.
Parsing import: C:\Program Files\Research In Motion\BlackBerry JDE 6.0.0/lib/net_rim_api.jar(net_rim_json_org.cod)
BUILD SUCCESSFUL (total time: 1 minute 3 seconds)
But when imported application on blackberry 9000 v5.0, and trying to open it it showing
net_rim_json_org not found
My question is, it's showing that net_rim_api.jar (net_rim_json_org.cod) imported but when I am trying on device its showing error - why is this happening?
I also faced this problem and have managed to solve like as described below.
package org.json.me is built-in in JDE 6.0.0 but not in JDE 5.0.0 or below.
So, you need to add that package yourself.
You can download the package from github.
If you want to write the same code for both JDE 6 and JDE 5 and make your application work on both JDE 6 and JDE 5, then you can rename that package to something like org.json.whatever .... and in your code wherever you need to use org.json.me.JSONArray , org.json.me.JSONObject .... you just use org.json.whatever.JSONArray, org.json.whatever.JSONObject etc. Thus you can make your code JDE-version independent for JSON parsing.
More on json parsing in the SO question "Json parser for Blackberry OS 5"
You have compiled your application with SDK 6.0 and are trying to launch it on device with SDK 5.0
SDK version == JDE version you have used.
Error you get means that device OS ver. 5.0 does not have this library, that exists in device OS ver. 6.0
Note that, if you compile your app with SDK 6.0 it will run properly on devices with OS versions 6.0 and 7.0, but not on devices with OS 5.0 and older.
In you build settings==> order and export, you are exporting that library or not. If not then please check the checkbox and your application works fine

BlackBerry Application compatibility wiht smartphone and normal phone

I am new to BB development.recently i have developed a simple application using JDE eclipse plugin ( Blackberry JRE 5.0.0.0 ). I have tested this simple application on default simulator i.e. BlackBerry Simulator 9550 , a smartphone simulator.
But when i have tried to test this same application on other simulators i.e. 8520,8900,9630,9700 ( simulators only with keypads, no touchscreen support ),My application just hanged.
Since i am new to the BB development world , any help on how to make my application backward compatible with non touch screen device ,is appreciated..
faithfully
Dharmesh
Solved .
it was a JDE compatibility error. changing a version of JDE has solved my probelm

Resources