Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 9: Extending PhoneGap > Extending PhoneGap for BlackBerry

Extending PhoneGap for BlackBerry

Similar to Android, PhoneGap's plug-in for BlackBerry has two parts, one on each side of the PhoneGap framework (bridge). We have a native part (a class-extending PhoneGap's plug-in) and a JavaScript file using PhoneGap's JavaScript framework.

We assume you are using BlackBerry WebWorks SDK version greater than version 1.5.

We assume that BlackBerry WebWorks SDK is installed on C:\BBWP, and we have Java 1.6 SDK and Ant installed and in path. We also assume our development directory is D:\PhoneGap-Plugin, and we have PhoneGap SDK present in D:\PhoneGap-plugin\PhoneGap-1.1.0 directory. Refer to Chapter 3 to recall the system requirement for BlackBerry PhoneGap development.

The steps for creating and testing BlackBerry plug-in are as follows:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint