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
  • PrintPrint

Installing PhoneGap

Web developers are used to installing JavaScript libraries in a jiffy by including a simple script tag at the top of an HTML page. Installing PhoneGap and the other associated applications and files is a more laborious process. Some of the required elements may already be installed on your system, but this chapter assumes that a clean install of all elements is required. Here’s a breakdown of the steps involved:

  1. Install the Java Development Kit (JDK). This differs from the Java Runtime Environment (JRE) that is typically installed on systems. The JRE allows Java programs to be run on a system, while the JDK contains all the resources for actually developing Java applications (and also contains the JRE). Remember, PhoneGap is actually a native Android Java application, and that’s why Java development must be enabled on your system.


  

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
  • PrintPrint