Blackberry OS 6 Development Environment - blackberry-jde

Will development for the Blackberry Torch (and other selected OS6 blackberries) be done through a new version of the standard RIM JDE or is there a new environment or focus on the Eclipse side of things?

It looks like there is a new Eclipse plugin that you can download for OS 6 development:
http://na.blackberry.com/eng/developers/javaappdev/javaupdate.jsp

Related

BlackBerry 10 OS OpenGL ES 1.1 Application Template

I wanted to follow this tutorial
But it says to create a BlackBerry 10 OS OpenGL ES 1.1 Application Template Project. But I dont see any option for that when I try to create a new blackberry10 C/C++ project in QNX IDE.
How do I add this option ?Thanks.
Make sure you have the latest tools loaded, when I follow the instructions in the link using the Beta 4 IDE I see:

Netbeans looks blurry on mac os x mountain lion on a retina display

Yesterday i was setting up my new macbook pro with retina display and realize that netbeans looks very blurry. This is something critical for me because i spent from 8 to 10 hours using netbeans everyday. I searched online i found that this is an issue with the jre 1.7 and will work ok with the jre 1.6 provided by apple.
The thing is that i have intalled jre 1.7 on my mac and have not found a way of downgrade my
jre to 1.6, which is not critical for me because i am not a java developer,i only need the jre for running netbeans and do my loved PHP web development.
Please any help on how to downgrade to jre 1.6 from 1.7 in mountain lion.
I experienced the same issue. It's possible to tell NetBeans to use a different version of Java:
https://discussions.apple.com/thread/4470872?start=0&tstart=0#21143742
If you still want to downgrade so that the default version for all your applications is Java 6, see my comments here:
https://stackoverflow.com/a/6413600/560114
You can try Retinizer, although it won't increase the resolution of any icons within the app, just any text, as well as the Cocoa GUI.
I had the same issue after upgrading to Mountain Lion. Before upgrading I was using Java 6, and now I'm using Java 7 and saw the ugly font rendering.
However there is a way to fix the font on Netbeans without having to revert back to a previous version of Java. The issue is that the default Netbeans font "Monospaced 13" maps to different fonts in the two Java versions. The Java 6 version maps this to "Courier 13", while the Java 7 version maps it to something ugly. So you can have the nice font rendering by simply changing the default font to be "Courier 13" in your Netbeans+Java 7 (Preferences > Fonts & Colors).
More details here: https://netbeans.org/bugzilla/show_bug.cgi?id=229029
This is incredible simple to fix but I was very hard to me to find the answer.
You have to upload your JDK 7. I had the same problem with JDK 7u25. And fixed the problem downloading the last version 7u72 form here
So, do some checks first. Run:
$ java -version
I was using "java version "1.7.0_25"
Then run the following command to get the route.
$ /usr/libexec/java_home -v 1.7
You should get, before the upgrade:
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home
Then install the new version, and you should get the new route with the last command:
$ /usr/libexec/java_home -v 1.7
/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home
Go to your Applications folder, look for Netbeans (I have the version 8.01), right click "Show Packages Content".
Then navigate to Contents/Resources/Netbeans/etc. and edit netbeans.conf
On that file add the line with th evalue netbeans_jdkhome and put your route.
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home"
Done.

Java 7 installer for Mac/Windows

I am programming software in Java 7. The users of the software are not all up to date (especially the Mac users). Therefore I need an installer (Windows/OSX) that can be easily integrated with the software installation. There is a normal installer for Windows 7 so I am especially focused on finding one for the Mac. Bonus points if it can check for XCode and other requirements too).
I am thinking another option would be to just use some of the libraries from Java 7 (for example the file-system library). However, I think this might not be possible due to the version number in the compiled classes? I couldn't use a Java 6 compiler to compile these libraries either (because they are Java 7 code).
I don't think I am the only one with this problem. There must be a solution somewhere, but I haven't found it.
Any help would be appreciated.
For the best user experience I would recommend using PackageMaker to create a .pkg file which you can then give to your Mac users. That allows them to do a single click-to-install of your app.
Within the package you would bundle your app archive (JAR file), any necessary resources and two scripts, one to check for the existence of Java 7 on the target system, and the other to install it if not found. I would recommend bundling the latest version of OpenJDK7 with your pkg, at least until an official Java 7 SDK is released for the Mac.
JAva 7 is not yet officially supported on Mac OS X, if you are looking for a JAva 7 installer for mac Os X take a look at openjdk-osx-build project on Google Code.
Update: You shouldn't need Java 7 for what your doing.
A better solution is to use Java 6 + Third party JNI libraries (i.e: JNotify,JavaXT...)
Directory listener in Java using JNotify
as for Last Accessed Date you might need to write tiny bit of Objective-C and pass it back via JNI
JNI Development on Mac OS X
Mac OS X already comes with Java runtime on Snow Leopard (JRE6)
On Lion it will automatically download JRE6 if application needs it's
You can of course download preview release of JDK7 from Oracle, but remember this is preview software there are some parts still not working yet (for example: Java Web Start)
Oracle JDK7u4 Mac OS X Port Developer Preview Release
Edit: Oracle JDK 1.7 Preview Release only supports Mac OS X Lion

Developing iOS apps with Flash Builder 4.5 under Windows

I just upgraded to Flash Builder 4.5, and I am trying to decide whether to install the Win or OS X version, since Adobe only allows you to install on one platform. I have been, up until now, developing an AS3 application using FB 4 under Windows 7 on my MacBook, and my Production Premium CS5 license is also for Windows (and I also do C++/Visual Studio development as well). Now I am going to try the iPhone Packager, to port my app to iOS. It seems to me that the workflow will be awkward once I cross-compile to Objective-C - as I will need to either reboot into OS X to compile and debug, or I will need to run FB 4.5 in a parallels session under OS X (though Adobe's activation freaked out when I tried this with Prod Prem CS4). The FB 4.5 / iOS workflow still requires xCode does it not? Is it foolish to even try this? Should I just bite the bullet and switch over to working in OSX?
Thanks!
I'd say it's better to keep things simple and stick with OSX. Constant switching among platforms is a sure productivity killer. Bite the bullet and stay on OSX - it will pay off on the mid run.
You're better off doing all of this in OSX

Blackberry:: App. with OS 4.6.xxx and OS 5.0.XXX

i want my App. work with both OS 4.6.xxx(curve 8520) and 5.0.xxx(bold 9000), so in which development environment(JDE versions) i should start to develop it?
Thanks..
Start with JDE 4.6. Don't use any features of 5.0 and it will run on both OS versions.

Resources