O'Reilly logo

PhoneGap 3 Beginner's Guide by Giorgio Natili

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Manipulating Files

Accessing the filesystem is a critical part of an app's business logic. The PhoneGap framework offers a very sophisticated API to access and read files, even download and upload data over the Internet. One of the strengths of the PhoneGap framework is that it widely relies on the W3C open standard. If you are familiar with the W3C FileSystem and FileUpload APIs, you will be impressed how quickly you will get used to the device filesystem.

In this chapter you will:

  • Learn about the Files API, how it works, and how to organize your code to keep it clear and maintainable
  • Use the Files API to explore the device filesystem
  • Learn how to read and render data inside a file
  • Learn how to load and save a file to a device's persistent ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required