error net_rim_bb_browser_field_api when download blackberry file - blackberry

I had this error when downloading a blackberry app from a webserver, as I make the user download it over the air:
this appication requires the following module : net_rim_bb_browser_field_api
I had created my app with blackberry - eclipse and uploaded .cod and .jad files from deliverables\Web .

I think the most probable reason is your application has been compiled with newer SDK than it is supported by your device.
Please note that BlackBerry device RIM OS version has to be equal or bigger than java SDK version you have used upon compilation of your application.
For instance, if you have used RIM BlackBerry java SDK version 5.0, then your application will run on the devices with RIM OS version: 5.0, 6.x, 7.x.
It won't run on devices with RIM OS older than 5.0 (versions 4.6, 4.5, 4.3, etc).
And it won't run on new BB 10 platform. But there is another reason. BB 10 is not compatible with RIM java SDK for BlackBerry.
You get your error because code of the downloading application has references to a class, located in net_rim_bb_browser_field_api module, which is not present on your blackberry device.

Related

Error while importing BlackBerry project in Eclipse - BlackBerry JRE 4.7.0[unbound]

I am new in BlackBerry application development. I have installed "BlackBerry Plug-ins for Eclipse version 7.1" successfully. Now I am trying to import one existing project into Eclipse, it is showing the following error:
Build path entry is missing: org.eclipse.jdt.lau...de.BlackBerryVMInstallType/BlackBerry JRE 4.7.0
what is the reason for this?
If you have only installed the OS 7.1 plugin, then you won't be able to target OS 4.7.
You'll need to also install the SDK for OS 4.7. To do that, in Eclipse, go to the Help menu, then Install New Software..., then select the Work With: pull-down menu, and pick the BlackBerry Eclipse Plugin site.
Then, in the center of the window, you'll select the SDKs (OS Versions) you want to directly target:
As you see, I'm using the Mac Eclipse Plugin, and it doesn't even show OS 4.7 ... I can't remember if the Windows versions still supports 4.7 (I think it might offer a 4.5 plugin). Basically, all the 4.7 devices out there should be eligible for free upgrades to 5.0, so I don't know that it's worth it to support 4.7 anymore. Just support OS 5.0+.
Once you're sure that you have the correct SDK, then in the window you show in your screenshot, try removing that OS 4.7 library. Then, use the Add Library.. button, select JRE System Library and pick the BlackBerry JRE 5.0.0 (it may be in the Alternate JRE menu):
After you do that, try cleaning and rebuilding your project.

Blackberry - how to use an older component pack?

I am a Blackberry newbie. I develop on Mac OS Lion. I just installed the latest component pack for blackberry. However, the device that I am going to develop for has Blackberry 4.6 installed. So it is unable to run any of the new samples provided by the RIM component pack. How do I obtain an older version on eclipse?
You can install additional BlackBerry SDK versions via the BlackBerry's update site. Follow this guide, BlackBerry Java Plug-in for Eclipse Update Site, to learn how. According to this guide, as for today, the available BlackBerry SDK versions that can be downloaded via the update site are:
7.1
7.0
6.0
5.0
4.5 (Available for Windows only)
Also check this guide, BlackBerry Plug-in for Eclipse.

Blackberry SDK 7 on a Blackberry 6 phone

I am having a lot of issues installing my BlackBerry app to my phone. The app has been signed but still says that there is an error of attempting to access a secure API. However, I realise my eclipse is using the 7 sdk whereas my phone is running blackberry 6. Could this be the issue?
How would I go about changing this in eclipse?
First you will need to install the BlackBerry JRE 6.0.0 Plugin into your instance of Eclipse by adding BlackBerry Java Plugin - http://www.blackberry.com/go/eclipseUpdate/3.6/java to your list of 'Available Software Sites' in Eclipse->Help->Install new software.
Then when you have that installed, you will be able to right click on JRE System Library [BlackBerry JRE 7.0.0] in your project, select Properties and change to JRE 6.0.0.
Then re-package, sign and install on your OS6 device

Dreamweaver + PhoneGap + Xcode App build nightmare

The issue is that I cannot now successfully build my Dreamweaver + PhoneGap App in Xcode for release in the iTunes App Store.
Background - I have been building an app using Dreamweaver and the built-in PhoneGap. To start with everything was working, including the emulator which started via Dreamweaver and the Xcode build. I have an early version of the app running on my iPhone right now with no problem.
After installing Lion on release, I started to encounter problems in that the App would not start in the emulator straight from Dreamweaver, but produced a fail message. However it did make an App bundle which could then be opened from Xcode itself. That was fine, but unfortunately now the App will not build or run at all in the emulator or my 'phone, which seems to stem from me doing a Clean in Xcode which I haven't done for a while. Very frustrating as it has been 3 months work and I was just about to release it on iTunes.I would be really grateful for ideas - the full buildlog.log is here http://bit.ly/tbYzVU
You may notice in your build log the following error on Line 39, which appears many times in your log:
ERROR: The requested SDK ("4.3") is not installed.
The version of PhoneGap you're using in Dreamweaver is looking for the iOS 4.3 Simulator at:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
However, when upgrading to Mac OS X 10.7 "Lion" and presumably installing Xcode 4.2 from the AppStore, you probably only have the iOS 5 SDK. From the Xcode release notes:
What's New in Version 4.2.1
Features and enhancements in previous Xcode updates:
Xcode 4.2 includes SDKs for Mac OS X 10.7 Lion and iOS 5.
To verify what SDKs (Software Developer Kits) you have on your computer, open the following directory in the Finder:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
It's likely that all you need to do is adjust which SDK Dreamweaver is targeting when building or emulating your app.
In your situation, you'll want to change your Site/App's SDK from iOS 4 to iOS 5.
From the Dreamweaver Help section for Packaging Web Applications, refer to Creating an Application Package (Mac OS):
Select Site > Mobile Applications > Configure Application Framework
Confirm iOS Developer Tools Path is configured to /Developer
Select Site > Mobile Applications > Application Settings
Under Select Target OS Version, for "iPhone/iPod Touch/iPad, choose 5.0
Build your App using Site > Mobile Applications > Emulate and Build

BlackBerry 4.2 JDE for Eclipse

I have developed an app for Blackberry 5.0. Now I am trying to make the app available for 4.2 version onwards.
I have used Blackberry 1.1 plugin for eclipse 3.5, but I can't get the 4.2 JDE to show up in my Eclipse update list - using URL http://www.blackberry.com/go/eclipseUpdate/3.5/java
I manually downloaded the 4.2 component pack and installed it. I have created a new project and added 4.2 jar file to the User path that is in the installation directory. There are two issues:
1) It does not seem to be working and also I can't get a cod file in the deliverables folder when I build the project.
2) The simulator that is provided with the jde doesnt seem to be working. I can't even launch the simulator. Should I download 4.2 simulators from BB?
I don't think Blackberry Eclipse Plugin 1.1 works with 4.2 component pack. The previous version worked.
1.1 supports only jde 4.5 and higher.

Resources