BlackBerry in Eclipse (JDE) project import
Hi all
I have a problem with importing a project of BlackBerry of P4. I installed the BlackBerry JDE for Eclipse plugins, I can create new projects, but I have problems when I import a project from P4.
In the P4 plugin, if I click on a directory, and then in the context menu, I can see the menu "import into the project", but after importation, the project is not a project of BlackBerry, is a Java project.
I don't really know how could import a BlackBerry of P4 project. If I try to import the jdp for the project, it is not possible with the P4 plugin (no menu as importation as a project).
Could you give me some advice how could import a project of P4?
Thank you and best regards,
-Ferenc
Solution:
Right-click for the project, select project sharing/team...
Kind regards
-Ferenc
Tags: BlackBerry Developers
Similar Questions
-
I use the Blackberry and Eclipse. I started with Blackberry and I think it's more simple to do tests of Blackberry Simulator. Eclipse is great to work with all coding. I work with 2 interdependent projects so I put in place a library to share some regular classes. Works fine in Blackberry. I've just set it as a library, the value of dependicies in 2 projects and import classes. I had a problem in my previous attempt with these settings and I found out it was because the library .cod file was absent when loading.
When I try to reflect the configuration in Eclipse I basically performs the same steps. Define a library project. The value 'Bibliographic project' in my other projects 'Properties' checked for my library project.
It doesn't matter how to specify the import statement I get an error message. The xxxxxxx to import cannot be resolved.
Must be other things to do?
Ingvar RTFM!
Tried to help and found the answer
-
How to debug the java application BlackBerry on Eclipse with a BlackBerry Smartphone?
Problem:
How to debug the java application BlackBerry on Eclipse with a BlackBerry Smartphone?
The following procedure:
http://docs.BlackBerry.com/en/developers/deliverables/12002/Debug_an_app_on_BB_device_656366_11.jsp
Error:
An internal error occurred during: "launch WMMS_ACC_video_test0".
java.lang.NullPointerExceptionI found that other methods of debugging.
If anyone knows how to do it please tell me.
Thank you for your attention.
http://www.BlackBerryForums.com/developer-forum/107455-debugging-live-device.html
Solution:
Start the IDE
Connect your device to the PC via USB
compile your application and load on the device
in JDE - Debug - attach to-Pocket
ignore all dialog boxes
do the breakpoint
Start your application on the device -
Impossible to debug as - >; Blackberry in Eclipse Simulator
Hello
I've implemented an application for some time using Eclipse 3.5 and Blackberry plugin version 1.1.2 without a lot of questions, but recently, I was stuck on this one:
Whenever I try to "Debug slot-> Blackberry Simulator ', Eclipse crashes at 31% saying"delegate launch. " This leaves me in a bad spot for my application debugging. However, I only peut 'run as-> Blackberry Simulator '.
I tried the new configurations debug with different simulators. I tried to re-intsalling the eclipse + blackberry plugin. I'm still stuck with the same question.
Can anyone share ideas they might have on it, or suggest how I could resolve this more?
Thank you
Jon
Apparently, it had something to do with the BBDevMgr process running. When I killed this process in windows Task Manager, Eclipse was able to start the Simulator in debug mode. All good now!
-
Bulding error with BlackBerry JDE project
Hello
I tried to create my application on BlackBerry JDE 5.0, and she's still fails with the following message is displayed:
SimpleUI building
C:\Program Research In Motion\BlackBerry JDE 5.0.0\bin\rapc.exe codename = SimpleUI SimpleUI.rapc warnkey = 0 x 52424200; 0 x 52525400; 0 x 52435200 import =... \lib\net_rim_api.jar "C:\Program search in Motion\BlackBerry JDE 5.0.0\bin\SimpleUI.java".
Error while building projectThe same code can be built and run successfully on Eclipse with the BlackBerry plugin.
Can anyone help?
Check your path once again, I think that you are missing something in the path.
-
Arrg - Eclipse questions - projects BlackBerry break after close and reopen
Whenever I get close and reopen the eclipse, all my IDE BlackBerry stuff has disappeared and my previous; working all fine applications have red Xs beside them.
If I want to start a new project of BlackBerry, it is not an option.
I re - install the BlackBerry/Eclipse IDE all over again and it works fine until I close it.
What gives?
As long as you have thought about it.
Yo mark this thread as solved if everything is ok? Thank you.
-
Need help breaking into Java/BlackBerry development / this sample project
I have a ton of experience OO, but I am new to Java and I am trying to enter development for BlackBerry, and my first problem is being stuck with this defective sample app that comes w/Eclipse or JDE or something (they call it "CityInfo"). When I run the Simulator, I see the drop-down list box, but by selecting its members does nothing, and I don't know enough about the environment/language to understand why.
I installed all the packages that are free. They are Eclipse (I can't find a version number), JDE, the Java plugin for Eclipse and the BlackBerry JDE 4.3 to 4.7 components Packages.
And when this has been resolved, perhaps someone can show me a good set of sample applications with tutorials. I'm trying to follow http://supportforums.blackberry.com/rim/attachments/rim/java_dev@tkb/9/1/Writing_Your_First_Applicat... but it's not compatible w / the environment that I run.
Here is the code for the project CityInfo:
package com.mycompany;
Net.rim.device.api.ui import. *;
Net.rim.device.api.ui.component import. *;
Net.rim.device.api.ui.container import. *;
Net.rim.device.api.system import. *;
Net.rim.device.api.i18n import. *;Import net.rim.device.api.ui.UiApplication;
SerializableAttribute public class CityInfo extends UiApplication {}
public CityInfo() {}
pushScreen (new CityInfoScreen());
}/**
@param args
*/
Public Shared Sub main (String [] args) {}
CityInfo PAP = new CityInfo();
theApp.enterEventDispatcher ();
}}
final CityInfoScreen class extends form {}
Private InfoScreen _infoScreen;
Private ObjectChoiceField choiceField;
private int select;public CityInfoScreen() {}
Super();
LabelField title = new LabelField ("town Information Kiosk", LabelField.ELLIPSIS)
| LabelField.USE_ALL_WIDTH);
setTitle (title);Add (new RichTextField ("cities"));
Choice of String() = {"Montreal", "Waterloo", "Ottawa"};
choiceField = new ObjectChoiceField ("select a city", choice).
Add (choiceField);
}public boolean onClose() {}
Dialog.Alert ("Goodbye!");
System.Exit (0);
Returns true;
}_viewItem private MenuItem = new MenuItem ("other info", 110, 10) {}
public void run() {}Store the index for the city that selects a BlackBerry device user
Select = choiceField.getSelectedIndex ();
Create an instance of the screen that displays information about the city that
the BlackBerry device user selects_infoScreen = new InfoScreen();
UiApplication.getUiApplication () .pushScreen (_infoScreen);
}};
private MenuItem _closeItem = new MenuItem {("close", 200000, 10)
public void run() {}
onClose();
}
};protected void makeMenu (menu Menu, for example int) {}
menu. Add (_viewItem);
menu. Add (_closeItem);
}private class InfoScreen extends form {}
public InfoScreen() {}
Super();
LabelField lf = new LabelField();
BasicEditField popField = new BasicEditField ("Population:", null, 20, Field.READONLY);
BasicEditField stateField = new BasicEditField ("Province:", null, 20, Field.READONLY);
BasicEditField sightsField = new BasicEditField ("sites:", null, 50, Field.READONLY);Add (LF);
Add (new SeparatorField());
Add (popField);
Add (stateField);
Add (sightsField);If (select == 0) {}
lf.setText ("Ottawa");
popField.setText ("3,694,820");
stateField.setText ("Ontario");
sightsField.setText ("Parliament");} ElseIf (select == 1) {}
lf.setText ("Waterloo");
popField.setText ("2,896,016");
stateField.setText ("Ontario");
sightsField.setText ("University of Waterloo");
} ElseIf (select == 2) {}
lf.setText ("Montreal");
popField.setText ("8,008,278");
stateField.setText ("Quebec");
sightsField.setText ("Saint - Joseph Oratory");
}
}
}
};Hi and welcome to our forum!
- When you select item in your ObjectChoiceField nothing happens in terms of user interface. You must press menu and select "Details". Try it!
- Check out this http://docs.blackberry.com/en/developers/?userType=21
-
Problems with the plugin eclipse JDE for today
Hello
I am very very frustrated... I have the same problemfor the third time!
Today I started my eclipse to work on my blackberry application and all my projects have disappeared. No project has been posted.
I do not change my area of work or something like that!So I imported "blackberry existing projects into workspace" and return to my projects. Cool, but now I can not compile, debug, I can't do anything because the componentpack of the RIM is not in the way of construction more.
I don't know how to describe... The single 't corrected it the last time was a relocation of all eclipse and JDE plugin. But this time I have already installed key sign, so I can't uninstall my eclipse without losing them.
Please help me, I can't work with this buggy thing...
I use Windows XP SP 2 with latest Eclipse and JDE 4.7... I downloaded 2 screenshots so that you can see my problem: http://files.killinger-it.com/eclipse/eclipse.jpg and http://files.killinger-it.com/eclipse/cmd.jpg
RIM support team has solved my problem. This is a settings file broken.
If you have the same problems (no workspace of blackberry, no compilation, etc.) easily remove the file:
C:\Programme\eclipse\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\settings.rc
-
not sure about my blackberry and what jde to use
Hi all, I'm confused about what version of the software (blackberry api) I can code for my BB tour.
and I guess the mean packs I use to be able to run my apps on my tour 9630.
under
options-> on
I see
BlackBerry 9630
Smartphone (3G, CDMA)
V5.0.0.732 (Bundle 1242, platform 4.2.0.334)
Band 3G 1
.....
What is the v5.0.0.732 verses of the 4.2.0.334?
This means, if I use the 1.1 ecplise plugin, and I noticed that when I create a blackberry project, the
"Use a specific project JRE" option button is selected and the associated combobox has
"BlackBerry JRE 5.0.0" selected
I can run this application on my lap because the above version is 5.0.0.732
the component pack (which I think is 5 for ecplise 1.1 plugin) does not mean that I need
I'm coding for bb to support platform 5 (the stuff in parentheses)?
can I ask another question, when I run my application (Directory book of blackberry begginning example), I get "error starting location: Module 'rental' attempts to access a secure API."
I had my signature keys and install them via JDE 5, I had first installed so
the file association has wondows and I just double clicked each of 3 keys.
If I remember correctly, he installed all the 3 ok, I see these
sigtool. CSK
sigtool.DB
sigtool. Set
in the JDE_5.0\bin directory
but then I went to 1.1 plugin eclipse and start using the ide instead, so I
installed the first key via the Signature tool in eclipse and it seems to have succeeded.
but you try to install the other 2 I get errors on
"Cannot save the client '545245' because there is no more attempts at records. ..."
I guess that's led to errors during execution in my location app?
I received an email to [email protected]
to understand why I can't get the last 2 to work
You can use any jde (or component pack) equal to or less than your operating system.
but unless you want to develop for phones earlier, there is no reason to go below 5 OS.
You can ignore safely from the platform when it comes to development.
You can use the Simulator without signing keys, for most things, it's good enough.
-
Hi, I would like to know what JDE should I download to write, test, and debug a program for a BlackBerry Curve 9300. I already tried with 6 JDE, JDE 5 and JDE 4.7 and in none of them is 9300 device choose to debug or deploy.
Thanks in advence
I'm using NetBeans with a plugin for Blackberry development. What Im doing is to build my app inside n. b., then load the app from inside the Simulator and run there. When I need to debug it, I open BB JDE, open the Simulator and attach the debugger on a simulator. Tricky, but works. I use Eclipse at all, if I didn't install it. Hope you manage to get this working.
As for the other post in NB, you can set the target OS in the project properties, and you can change at will.
Kind regards
-
Add Simulator to Eclipse JDE-Plugin
Hello
I want to add a device-Simulator Blackberry JDE Plugin Eclipse.
I copied the SimulatorCommand8310-Vodafone and Vodafone SimulatorDirectory8310 of SIMULATORDIR\SimPackage-4.2.2.154_8310-Vodafone.rc to EJDEDIR\plugins\net.rim.eide.componentpack4.3.0_4.3.0.8\components\simulator\SimPackage-JDE.rc, but it does not work. Is there another file, where I have to change something?Thank you very much for your help!
Plugins eclipse comes with the Pack 4.5 component. To use the other packs component and simulators, in Eclipse, you must download the update of the Eclipse software for the JDE component Pack you need. You can find them in here:
http://NA.BlackBerry.com/eng/developers/javaappdev/javaeclipseplug.jsp
You can then select the comoponent pack to use in the window-> Preferences-> BlackBerry JDE-> installed components. This allows you to use the simulators available for the component selected pack.
-
Plugin eclipse JDE only offers not anywhere what component pack
Hello
I installed the JDE 'net.rim.eide_1.0.0.67' eclipse plugin and component pack "net.rim.eide.componentpack4.7.0_4.7.0.46".
I installed the Inc. using the ZIP of the eclipse install mechanism.
When I check the installed Plugins both are listed in the installed plugins.
But when I go into the preferences of BlackBerry / installed components are not in the drop-down list.
What I did wrong?
How to get the componet in the drop-down list of installed components?
sandeepkumar03 wrote:
You can go to the eclipse-> plugins folder directory? Think you that the folder pack component "net.rim.eide.componentpack4.7.0_4.7.0.36" (the Version may be different depending on the component that you downloaded) here?
Thank you
Sandeep
Thanks for your reply. I solved the problem by reinstalling the eclipse. I think I broke my eclipse installation by removing the plugins manually installation of eclipse.
-
What are the other blackberry except eclipse development environment?
Hello
I want to know what are the other blackberry outside the eclipse development environment?
In fact, I'm new on this and I have a lot of problem to make the GUI phase. Are there any other environment where MISTLETOE is easily done?
Yes, if you want to develop in java for os bb then I would say.
Eclipse + bb plugin. -
Hello
Here, I get a little confused.
Here's my problem:
I have a BlackBerry WebWorks working on Eclipse environment (2.5.1 * BlackBerry WebWorks plugin) and BlackBerry WebWorks plugin SDK (2.0.0), okay?
So, the thing is: I get a "ClassNotFoundException" error in my application. I have two .jar in the "ext" directory One is my custom package called Database.jar (where I make Access db with sqlite and so on (it is a plugin phonegap)) and the phonegap.0.9.4.jar which is the framework.
It is very good. Everything works like a charm when I compile with bbwp.exe version 1.5. But when I compile with the 2.0 SDK, I get a ClassNotFoundException. I'm looking for the class that is not found. That's fine also.
I would like to know one thing: how is possible to debug java code in this environment? I have no IDEA how must! I do the java code by my spirit! It's crazy!
Hello again everybody (who have read this thread).
The thing is: I already knew the answers... but this error was driving me crazy.
The problem of the "ClassNotFoundException" was: I extracted my Database.jar.
Just that! Since the 1.5 SDK, it was inside the pot and now I've pulled the jar into the "ext" folder and everything works like a charm...
Strange.That's all. It is the answer for my son. Thanks again.
PS: The question on ' how to debug java code in Eclipse WebWorks still... ". ». If someone can answer me...
-
Errors of installation of the packages of component of Blackberry in Eclipse
I tried to install the Blackberry 4.7,0 and 5.0.0 component Packs. Instructions found on the Blackberry developer, web site and followed them, but I get the following error:
An error occurred collecting elements to install
Error closing the output stream to net.rim.eide.feature.componentpack5.0.0/org.eclipse.update.feature/5.0.0.7 on repository file:/C:/Program Files/Eclipse /.
Decompression C:\DOCUME~1\yyyyyyy\LOCALS~1\Temp\net.rim.eide.feature.componentpack5.0.0_5.0.0.74513675979636089606.jar error: invalid zip file formatI use Eclipse Ganymede 3.4.1 on a Windows XP system.
I'm going to help... Software updates... Software available... Add a Site...
I put http://www.blackberry.com/go/eclipseUpdate in the location box and it comes back with the packs of two components but when I try and install a pack, he gets to halfway through the installation process, then displays the error message above.
It seems that something is interrupting the download. You have a type Internet Security software installed on your PC? If so, please disable it during the installation. Note that you need to remove your temp directory before you try to install it again.
Maybe you are looking for
-
You can create a goal of step in the application of the activity?
p
-
Some commentators say yes, some say no. It's the truth?
-
My camcorder use these DVD bit and I'm too paranoid to try loading them in my slot in the case where they get stuck. Help, please.
-
Shutter to half way to focus to recompose works not
Hello! I recently ordered the 5 d Mk ii, III. I know that the update system is pretty sophisticated on the iii, but with one push of the shutter to focus half and then now while I recompose, does not work... the lenses are refocusing elsewhere in th
-
critical process error msg is dead
I was with my pc hp pavilion dv7 laptop, then a loud beeping sound started with a popup saying it was any suspicious activity to the difficulty to call a microsoft agent that I did. The 'agent' says my computer has been hacked so he has access to co