Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® World™ Development

Reply
Highlighted
New Contributor
Posts: 9
Registered: ‎02-08-2011
My Device: 8520
Accepted Solution

About Bluetooth Programming

HI,

     While somebody provide material about bluetooth programming in blackberry.I am new developer for the

 

blackberry. And also how to configure a blackberry project in ecilipse that means what are the steps that i have to

 

do to configure project.It's very urgent for me.

 

Thanks,

Raghuveer.

Developer
Posts: 47
Registered: ‎04-26-2011
My Device: Curve 2 8530 and PlayBook (soon)
My Carrier: Verizon

Re: About Bluetooth Programming

[ Edited ]

@Raghuveer:  Cannot help you on the bluetooth programming but here is what I documented for setting up your Eclipse environment for WebWorks.

 

DEVELOPER RESOURCES

 

  1. URL:      http://www.blackberry.com/developers
  2. URL:      http://www.blackberry.com/support
  3. URL:      http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/tkb-p/browser_dev%40tkb
  4. EMAIL:    devsuppot@rim.com
  5. Twitter:  @BlackBerryDev
  6. Blog:     devblog.blackberry.com


INSTALLATION (Assumes Windows 7 32 bit)

 

1.  Download and install the JDK.

2. Copy your install path to the windows clipboard.

  • Open Windows Explorer and locate the path to your JDK install.  Mine was -- > c:\program files\java\jdk1.6.0_24.
  • Copy or make note of the path.

3.  Add/edit environment variables:

  • Start Button --> Computer --> Right click --> Properties
  • Click Advance system settings (left menu).  System Properties dialog will open and you should be on the "Advanced" tab.
  • Click the "Environment Variables" Button.
  • Under "System Variables", click the "New" button and add a new system variable using your JDK path. 
  •         VARIABLE NAME: JAVA_HOME
  •         VARIABLE VALUE: c:\program files\java\jdk1.6.0_24
  • Under "System Variables", edit your variable "PATH" to include both the %JAVA_HOME%; and %JAVA_HOME%\BIN.  NOTE: You may need to paste this at the front so not other java variables affect this.

        EXAMPLE:  %JAVA_HOME%; %JAVA_HOME%\BIN;

 

5.   Download and install the Blackberry SDK for phone or Tablet.  BOTH INSTALLERS COME WITH THEIR OWN ECLIPSE ENVIRONMENT SO YOU WILL INSTALL THEM IN SEPERATE LOCATIONS.  I installed mine in C:\BlackBerryDevelopment\SDK\Tablet and C:\BlackBerryDevelopment\SDK\Phone. 

NOTE: You will need a BlackBerry Developer Zone account to download these.

 

LOCATIONS:

PHONE:  https://swdownloads.blackberry.com/Downloads/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF86...


TABLET:  See here (http://us.blackberry.com/developers/tablet/webworks.jsp) for instructions on install and setup of your environment.

 

6.  Sometimes you will have memory issues from repeatedly opening and closing phone simulator so here are a few tips that I found useful to help.

 

  • Add run parameters to your Eclipse shortcut for BlackBerry Phone development.

Find your Exclipse.exe in <install path> (DEFAULT: C:\Program Files\BlackBerry WebWorks Plug-in Eclipse). 

 

Make a shortcut then paste the run parameters from 

 

-vmargs -Xms768m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m

 

 

 

EXAMPLE TARGET:

 

"C:\BlackBerry\IDE\Phone\BlackBerry WebWorks Plug-in Eclipse\eclipse.exe" -vmargs -Xms768m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m

 

 

  • Clean your projects after changing devices (simulators). In Eclipse: Select project -- Project --> Clean

 

 

 

Hope this helps!



My Blog: DevGuy.org
My Apps: Dive Planner
1. Please give Kudos by clicking the Kudos star kudos star below the post that helped you..
2. Please resolve your thread by marking the post "Solution?" that solved your issue.