Wrox Programmer Forums
|
BOOK: Beginning iOS 5 Application Development
This is the forum to discuss the Wrox book Beginning iOS 5 Application Development by Wei-Meng Lee; ISBN: 978-1-1181-4425-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning iOS 5 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 24th, 2012, 06:39 AM
Registered User
 
Join Date: Feb 2012
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
Default Chapter11: Bundling SQLite Databases, how?

The last paragraph of chapter 11 is supposed to describe how to bundle a database file, created during the designing state.

It does describe how to create a database file with the use of the terminal and/or the use of a tool called SQLite Database Browser.
But after this, it does not describe how to actually bundle the just created file with the application.

Is it possible for somebody to describe how to do that?
 
Old February 24th, 2012, 11:11 PM
Friend of Wrox
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

The separately created .db file can be added to the project just as any other file, using File>Add files or dropping the file into the navigator pane and checking copy items to the destination folder when the dialog opens. You then set up a class to manage the database.

Bob





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 Bundling a Database pg 231 mtvoyd BOOK: Beginning Android Application Development 6 January 18th, 2012 08:06 PM
How do you check if a sqlite database is open? Nosirb BOOK: Professional iPhone and iPad Database Application Programming 1 November 28th, 2011 03:39 PM
Problem when working with SQLite in Ch2 scrubzhero BOOK: Professional iPhone and iPad Database Application Programming 4 July 18th, 2011 09:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.