PG2
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Index<br />
343<br />
testing. See Testing PhoneGap<br />
applications<br />
user interface enhancements, 30–35<br />
Web 1.0 approach to building, 11<br />
Web 2.0 approach to building, 11–12<br />
Arrays, specifying contact properties,<br />
225–226<br />
AT&T WorkBench, 21<br />
Audio<br />
callback functions, 295–297<br />
capture on Android devices, 202<br />
capture with Capture API, 186,<br />
198–199<br />
creating Media objects, 294<br />
determining current position while<br />
playing, 297<br />
determining duration of playback,<br />
297–298<br />
example of use of Media API, 300–305<br />
mediaFileURI, 294–295<br />
playing clips, 298–299<br />
recording, 299–300<br />
AVD (Android Virtual Device), testing<br />
PhoneGap applications with, 60–64, 78<br />
B<br />
bada development environment<br />
adding manifest file to PhoneGap project,<br />
94–95<br />
capturing API settings from another<br />
application, 93<br />
configuring application security, 90, 92<br />
creating application ID, 88<br />
creating application profile, 86–87<br />
creating PhoneGap project, 82–86<br />
defining application version, 88–89<br />
defining platform version, 90–92<br />
defining unique name for application,<br />
87–88<br />
downloading/installing PhoneGap files,<br />
80–82<br />
overview of, 79–80<br />
preparing PhoneGap for, 329<br />
selecting target devices, 93–94<br />
testing PhoneGap applications, 95–96<br />
bada (Samsung), PhoneGap supported<br />
operating systems, 4<br />
Beep, in Notification API, 310<br />
BES (BlackBerry Enterprise Server), 109<br />
BlackBerry<br />
accelerator determining device<br />
orientation, 157–158<br />
accelerator support and, 161<br />
adding/saving contacts, 232–233<br />
Apache Ant and, 337<br />
application status events and, 253<br />
build issues, 151<br />
building PhoneGap applications, 14–15<br />
button events, 257–258, 261<br />
Capture API on, 196, 204<br />
configuring camera options, 178, 180<br />
configuring PhoneGap Build for mobile<br />
platforms, 143–145<br />
debugging PhoneGap applications, 40–41<br />
device object running on simulator,<br />
245–246<br />
E/S (emulator/simulator) and, 35–36<br />
errors related to contact information,<br />
229–230<br />
FileWriter object and, 274<br />
geolocation support, 279<br />
getting current location of device, 284<br />
HelloWorld application on, 29–30, 34<br />
JDK (Java Developer Kit) for building<br />
applications, 333<br />
Media API support, 293<br />
mileage tracker example, 322<br />
PhoneGap API documentation, 51