Blackberry SDK 7 on a Blackberry 6 phone - blackberry

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

Related

The device version (2.1.0.1753) does not support the API level (Blackberry Native SDK 10.2)

I have blackberry playbook with OS. Version 2.1.0.1753 i have connected with WIFI. Now when i run project it will start executing project into my playbook
but every time i got below error
Then i click on update the project's API level
Then i click ok button i got below dialog box
I do not know what should i have to do, Do i need to install all API for example
10.1, 10.0
I don't know if you have already found the solution for your problem but personally I'm using a different Blackberry NDK for Playbook development: Link to Playbook NDK
As far as i've been told the playbook os is pretty different from the blackberry z10/q10.
Playbook is 2.x and z10 is 10.0/.1/.2
Momentics is only suitable for 10.1
For publishing to playbook youll need the playbok "tablet" sdk
https://developer.blackberry.com/playbook/native/download/
Also i've been told NOT to install both sdks on the same machine. as """because weirdness happens when you have both tablet and bb10 sdks installed. it's nominally "not a bug", but merely "unsupported". """

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.

error net_rim_bb_browser_field_api when download blackberry file

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.

Blackberry plugin for eclipse?

As i am developing an where app where i need to integrate BBM in it. As per the following instructions of integrating BBM, i followed the steps & downloaded BB Plugin for Eclipse. Here by default i got BB 7.1 SDK with that eclipse which i downloaded. Now i want to install BB 5.0 & BB 6.0 to that eclipse.
As per details i got from internet i followed the following steps of installing these SDK's
In eclipse
Help --> Install New Software --> in Add Repository i gave name & location as
Name --> Blackberry plugin
Location --> http://www.blackberry.com/go/eclipseUpdate/3.6/java
But here i am getting "could not find http://www.blackberry.com/go/eclipseUpdate/3.6/java" .
So, can anyone help me with this how to install 5.0 & 6.0 to Eclipse as i downloaded from the above BB Plugin for Eclipse url........
Thanks in advance......
Use this location instead. I am using Eclipse 3.6.1 and it works for me.
http://www.blackberry.com/developers/jar/win/java
Use Eclipse to install the BlackBerry Java Plug-in.
Choose Help > Install New Software.
Click Add.
For Name, type BlackBerry Java Plug-in Update Site.
For Location, type http://www.blackberry.com/go/eclipseUpdate/mac/java.
Mac: http://www.blackberry.com/go/eclipseUpdate/mac/java
Windows: http://www.blackberry.com/developers/jar/win/java
Click OK.
Select BlackBerry Java Plug-in and at least one BlackBerry SDK. Choose the version of the BlackBerry SDK that is compatible with your intended target market.
Click Next.
Review the items being installed, and then click Next.
Review the license agreement, and then check I accept the terms of the license agreement if you agree.
Click Finish to begin the installation.
After the plug-in is updated, you'll be prompted to restart Eclipse.

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.

Resources