06-08-2012 05:44 PM
Newbie here. I searched the forum and found a couple of previous posts with exactly the same issue as me but could not see anything in the replies to help me so again. I have an app...
1. Targets BB 5.0.
2. Actual device is BB Curve 9330 running 6.0.
3. App had been successfully loaded twice before last week. (Runs fine on 9330 simulator!)
4. App is completely signed.
5. App is built in Eclipse Helios (BB Plugin 1.3.0).
6. Tried to load in Eclipse with both 'Debug on Device' and 'Load Projects on Device'. Same results either way.
7. App appears in Download folder.
8. Clicking on app in Download does nothing.
9. App does NOT appear in device's Options/Applications list!!!!
10. I tried looking at the event log on the device but it's miles of greek to me.
I'm dead in the water! Could really use some help, can someone point me to the definitive info on proper loading of an app on a device? (I can live with debugging on the simulator)
Solved! Go to Solution.
06-15-2012 11:46 AM
First, I recommend upgrading to the latest version of the BlackBerry Java Plug-in for Eclipse here: https://developer.blackberry.com/java/download/ecl
The version you have is very old.
Have you created a MIDlet or BlackBerry CLDC application? Can you post the event log lines that are listed during the time the application was installed and you attempted to run it? Does the application make use of a library project?
06-15-2012 03:04 PM
1. Since I didn't hear anything on this I continued searching. Found a couple of posts indicating 'battery pull' so I did that after waiting a couple of days. That allowed the app to be executed. It appears that the process of physically installing the app succeeded but left the device in a state where execution was not possible. Subsequent installs of the app on the device have not locked it up again.
2. I'm assuming this is a CLDC app? I'm a newbie (3 months BB development) so I'm not sure. Whatever the project type is when using the plugin. Targeting BB JRE 5.0
3. I only did a visual examination of the log file on the device upon failure. I did not pull the log back so I could post. Next time I'll try that. (Again, newbie).
4. The app does NOT make use of a library project. (Beyond my newbie skills at this point).
I'm continuing on with my development and if this is encountered again I will repost if I am succesful in obtaining postable log data.
As for the latest version of the Java Plugin, I am/was a bit hesitant about it since the 1.3.0 does do what I need and 'a known evil is better than an unknown evil'. The key for me is targeting 5.0 and higher devices. I do not anticipate Playbook development in our near future. My app is proprietary to my customer and he is targeting the existing large BB device base. Is it possible to have both the new plugin and the 1.3.0 release on the same machine?
06-15-2012 03:50 PM
Glad to hear you got up and running.
It is possible to have both versions of the plug-in installed on the same computer. They just need to be installed into separate instances of Eclipse. So you can download the full installer from the link above and install to a fresh directory. Note that it comes with BlackBerry Java SDK 7.1, so you'll need to use the update site to install version 5.0 (instructions on that same page above).
Just note that you can't use the same workspace in both versions of the plug-in.
06-15-2012 08:04 PM
I decided to install the latest plug in. I'm putting it on a 64bit win7 machine. I got all the way through the install and everything thing looked good. I then tried to load the 5.0 sdk so as per the instructions I:
1. In the Eclipse Help menu, click Install New Software.
2. In the Work With drop-down list, it asks me to click the BlackBerry Update Site!
THERE IS NO BLACKBERRY UPDATE SITE IN THE DROP DOWN LIST!!
What do I do now?
06-18-2012 11:43 AM
You need to add it. Here is the URL: http://www.blackberry.com/go/eclipseUpdate/3.6/jav
06-18-2012 02:17 PM
That is what I ended up doing over the weekend. The URL for the install of the eclipse/add-in to me is a bit confusing in that it appears to be broken into 3 sections: Developers with Existing Eclipse environment, Developers without an Eclipse environment and Installing Additional BB SDKs. I was initially working with the second. After that I went to the subsequent section on adding SDK's. When you click on the 'Adding Blackberry Update Site..' the screen kicks up to the other link which is under the '... with existing Eclipse...' This is somewhat confusing.
Before your last post, my concern with using that URL was that it may not be the correct one for the win7 machines since it is the same URL as my XP environment uses. SInce you have confirmed it then I am happy and proceeding forward.