Archive for February 22nd, 2009

First Experience with the Blackberry JDE for Eclipse and Some Tips

discount cialis no rx generic viagra online cialis online without prescription cialis pharmacy online cheap cialis no rx compare cialis prices purchase viagra no rx cheap generic cialis buy cialis in us order viagra no prescription order cheap cialis viagra without rx order viagra in canada buy viagra buy generic cialis discount viagra order viagra without prescription viagra in australia cheap cialis from usa cialis pill drug cialis online purchase viagra cost order cialis overnight delivery find cialis buy viagra generic cialis overnight viagra price purchase viagra overnight delivery cheap viagra tablets buy cialis online cialis tablets viagra australia cialis india no rx viagra cialis online cheap cialis online review order viagra from canada buy discount cialis online viagra without a prescription viagra pharmacy online cialis in malaysia lowest price for viagra cialis for order cialis overnight shipping cialis side effects viagra tablet order no rx viagra approved cialis pharmacy discount viagra overnight delivery buy generic cialis online viagra overnight delivery cialis free sample buy viagra lowest price order discount cialis online find cheap viagra purchase viagra without prescription order cheap viagra online cheapest cialis cheap cialis no prescription tablet viagra free cialis order cialis in canada low cost viagra drug viagra online purchase viagra rx price of viagra viagra online stores cheap viagra tablet buy cialis internet buy cialis from canada generic cialis online fda approved viagra viagra no online prescription cialis in us cheap cialis online cheapest viagra price cialis from canada cialis order order cheap cialis online buy cheapest cialis online cialis price generic cialis cheap online pharmacy viagra discount cialis online cialis pills cialis discount cialis drug where to buy viagra best price for cialis cialis buy online buy cheap viagra find discount viagra online certified viagra order cialis no rx viagra without prescription buy cialis from india cheapest viagra viagra drug order viagra on internet cheap cialis internet cialis bangkok buy viagra without prescription viagra online pharmacy cialis malaysia where to order viagra cialis without prescription viagra in malaysia buying viagra order cialis without prescription cheap viagra in canada viagra in us buying generic cialis find no rx cialis cialis rx buy cialis online cheap order viagra overnight delivery viagra prescription cheapest viagra prices viagra no rx required buy cialis on line find discount viagra pharmacy viagra cheap cialis in uk discount viagra no rx cialis viagra pills buy cheap cialis viagra buy online purchase viagra online viagra medication find viagra find viagra without prescription buy no rx viagra cheap cialis without prescription best price cialis viagra tablets cheap viagra overnight delivery buy cialis no rx certified cialis cialis us buy cialis overnight delivery cheap price viagra online viagra buy discount viagra buy viagra internet viagra information viagra us cialis overnight delivery cialis sales cialis no rx required viagra from india viagra online review buying generic viagra find no rx viagra find discount cialis online cheap price cialis cialis cheapest price viagra india viagra no rx cialis cialis no prescription cheap cialis tablets buy cialis cheap viagra pharmacy purchase cialis online buy viagra low price viagra online cialis prescription viagra malaysia buy cialis cheap cheap cialis from uk overnight viagra buy viagra us buy generic viagra online viagra discount discount viagra online cheap cialis drug viagra cialis in australia buy viagra online cheap cialis from india lowest price for cialis pharmacy cialis viagra internet cheapest viagra online order cheap viagra find viagra on internet viagra in bangkok viagra sales cheapest generic cialis online cialis approved compare cialis prices online viagra overnight find cheap cialis online cialis buy where to buy cialis cost viagra best price for viagra buy cialis from us discount cialis overnight delivery order cialis on internet cialis cost buying cialis online sale cialis cheap viagra no prescription viagra buy drug no prescription cialis order viagra no prescription required buy viagra in canada cialis without a prescription order cialis cheap online sale viagra buy viagra in us viagra pharmacy cheapest generic viagra online cialis australia cheap viagra from canada viagra free delivery viagra purchase viagra generic buy no rx cialis viagra from canada lowest price cialis generic cialis buy cheapest viagra find cialis online order viagra from us viagra side effects cheap viagra no rx cheap viagra on internet cheap viagra from uk cialis cheap drug buying cialis buying viagra online cialis internet buy viagra on line order cialis from us cialis online pharmacy viagra online cheap viagra uk buy cheapest viagra on line cheap viagra in usa viagra cheapest price viagra vendors cheap cialis overnight delivery cialis no rx buy discount cialis drug cialis cialis without rx order discount viagra viagra sale order viagra cheap online viagra buy order cialis no prescription viagra free sample viagra no rx buy cheap viagra online tablet cialis cialis medication buy cialis low price viagra cheap generic viagra find cialis without prescription viagra order viagra cheap drug viagra overnight shipping viagra prices buy cialis on internet cheap viagra from usa online cialis cheapest generic viagra cialis vendors generic viagra cheap cialis tablet order cialis online cheap viagra in uk cialis cheap price cheap viagra order viagra in us cialis buy drug cheap viagra without prescription cialis sale cheap cialis pill order discount viagra online buy cialis without prescription cheapest cialis online buy discount viagra online buy generic viagra buy viagra no rx viagra pill buy cialis us cialis in uk buy cheap viagra internet purchase cialis without prescription order discount cialis cheap cialis tablet cialis in bangkok cialis for sale order generic cialis viagra no prescription order cialis in us buy viagra online order cialis compare viagra prices overnight cialis buy viagra overnight delivery find viagra no prescription required cialis prices buy cheap cialis online order viagra viagra for sale buy cheapest viagra online cialis pharmacy buy viagra no prescription required buy cialis in canada buy cialis no prescription required find viagra online cheap cialis pharmacy cialis online stores discount cialis fda approved cialis cheap cialis on internet viagra bangkok viagra canada cost cialis approved viagra pharmacy cialis generic buy viagra on internet buy cialis lowest price buy cheapest cialis on line compare viagra prices online free viagra find cheap cialis online pharmacy cialis viagra in uk buy cheapest cialis low cost cialis order no rx cialis order viagra no rx purchase cialis overnight delivery cialis uk cheap cialis in usa order viagra online find discount cialis find cialis on internet cialis canada lowest price viagra purchase cialis cheapest generic cialis buy viagra from canada cheap generic viagra cheapest cialis prices price of cialis discount viagra without prescription cheap viagra online where to order cialis buy viagra from india purchase cialis no rx cheapest cialis price buy viagra from us cialis cheap cheap cialis in canada cialis no online prescription find cheap viagra online order cialis no prescription required viagra online without prescription viagra cheap price cialis free delivery best price viagra order cialis from canada buy viagra cheap find cialis no prescription required cialis purchase purchase viagra discount cialis without prescription cheap viagra pill cheap cialis from canada viagra approved buy cheap cialis internet cost of cialis cost of viagra cheap viagra internet no prescription viagra cialis information cialis online order generic viagra buy cialis generic viagra for order

I’ve embarked on a new project that involves writing software for the Blackberry.  So far it has been a maze of encryption keys, development environments, simulators and lots of mis-steps.  In the coming months I plan on writing a few posts on my experiences but, for now, I plan on focusing on one of the things that has been causing me the most pain - The Blackberry JDE (Java Development Environment) plug-in for Eclipse.

In the past I’ve used Eclipse extensively.  While at Lodgenet, it was my main IDE.  So I’ve gotten familiar with the environment and it’s plug-in potential.  Although I consider myself experienced, I’m definitely not an expert when it comes to Eclipse which could be the main source of my agony.

Overall the JDE plug-in is very nice.  It allows you to seamlessy develop and test your Blackberry application against a wide variety of simulators.  (If you’ve ever checked out the original Java Development Environment from RIM, you realize how much nicer Eclipse is.)  The problem I ran into is this - I had all of the JDE Component Packages installed yet I couldn’t see the simulator for the Blackberry Storm.  After some back-and-forth with RIM’s Technical Support proved to be worthless, I returned to a lot of digging on Google.  Thankfully I came across this thread in their support forums.  It had the answer I was looking for:

You can then select the comoponent pack to use  from Window->Preferences->BlackBerry JDE->Installed Components.  This will let you use the simulators available for the component pack you choose.

That one simple paragraph saved the day.  I can now test applications for my Storm, and my friends’ Blackberries (Friends, if you’re reading this you’ll be getting an email soon asking you to help me alpha/beta test this software.)

To help other people who are as dense as I am, or those who just want to see what I’m talking about in action, below are some instructions and screen shots that show the problem I had.  I will also show you how to configure Eclipse to make your development go a little more smoothly.

Choosing Your Component Package

This is where I went wrong - I didn’t know this could be done!  Simply go to Window >> Preferences and you’ll see a dialog like the one below.  In the “Choose one of Installed Components” menu, you’ll see all of the JDE Component Packages that you have installed.  Each component package is used for testing a different version of the RIM’s Java API and for running different phone simulators.  You must do some research on which component package is appropriate for your situation, see RIM’s KB article:  What Is - Appropriate version of the Blackberry JDE.

Note - I think it’s safe to assume that if the Component Package you select doesn’t include all of the devices you’d like to support, you’ll need to create a separate release.  There may be a work-around or “Compatibility Setting” to make things easier, but I haven’t found (nor have I really researched) one.

Eclipse Preferences Dialog

Creating a Run Configuration

If you’re familiar with Eclipse, Run Configurations are nothing new.  But, I include some instructions here just for completeness.

To create a new Run Configuration, go to Run >> Run Configurations and you’ll be presented with the dialog below.  Using the tree on the left of the dialog, select “Blackberry Simulator” then click the “New Launch Configuration” button.  Give the configuration a meaningful name (Example: “BB Pearl 8130″) and select the “Simulator” tab.  On this tab you’ll see a “Profile” menu.  In that menu are all of the devices that are supported by the Component Package you selected previously.  To make this configuration match the name above select “8130-JDE.”  Now, click the “Apply” button and that will save your configuration.

I recommend that you create a Run Configuration for each device you want to test.  Alternatively, you can create a configuration for each Component Package you have installed.

Eclipse Run Configuration

Using Run Configurations

Using the configurations you create is simple - Open the Run Configurations dialog, select the appropriate configuration and then click the “Run” button.  Once you use a configuration once, it will be added to the list of configurations under the “Run” button (the one that is located on the main IDE screen). One thing to remember is that you’ll get odd errors if you use a run configuration that includes a device that isn’t supported by the Component Package that you’ve selected.  Therefore, be sure to keep in your mind which device you’re using and which Component Package you have selected.

Sunday, February 22nd, 2009