Re: [sqlite] How to install and configure SQLite on ipad.

2011-05-18 Thread Jean-Denis Muys

On 17 mai 2011, at 19:16, irfan khan wrote:

Thanks a lot for your replay.

But we are developing new application for ipad for some buisseness need and
need to configure sqllite database for the same.
I am  MS SQL database administrator and my developer team asked me to
configure sqlite for ipad.
please send me any related documents or details.


To reiterate:

- SQLite is very different from MS SQL and most other databases in that it 
requires ZERO *runtime* configuration
- SQLite is used as a C library that provides a handful of C functions. To 
simplify, those functions eventually lead you to execute SQL statements 
provided in C strings.
- As a C library, it can be compiled with a few optional variations that you 
are unlikely to need to be aware of as you learn using it.

- SQLite is already installed in iOS by Apple. For most uses, you will not need 
to use a different version.
- If it eventually turns out you need one of the optional compile-time 
variations mentioned above that were not included by Apple, it's simple to add 
your own version, and compile it with whatever options you need. You can worry 
about that later however and ask again if you need help.

- Regarding this and your request to be sent documentation: 
http://lmgtfy.com/?q=Sqlite+documentation&l=1

Jean-Denis

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] How to install and configure SQLite on ipad.

2011-05-17 Thread Tim Butterfield
iOS has SQLite embedded in it.  Add the libsqlite3.dylib framework
toyour Xcode project.  This is a /usr/lib alias, not the specific
version of libsqlite3.0.dylib.  Include your SQLite db file in your
Xcode project for copying to the target or let it get created when you
open it.  #import  in your persistence code and code your
db access.  Make sure to pass C strings to the sqlite functions and
not NSString.

To add framework for Xcode 4:
Select Project -> Select Target -> Select Build Phases tab -> Expand
Link Binaries with Libraries section -> Click + to add
libsqlite3.dylib

Tim

On Tue, May 17, 2011 at 11:56 AM, irfan khan  wrote:
> Hi,
>
>  I am new with SQLite and have to configure on ipad, can ou please send me
> steps or any related documents please.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] How to install and configure SQLite on ipad.

2011-05-17 Thread Simon Slavin

On 17 May 2011, at 6:16pm, irfan khan wrote:

> But we are developing new application for ipad for some buisseness need and
> need to configure sqllite database for the same.

Ah, you are an iOS programmer !  SQLite is not a library, and you do not 
download a compiled library.  it consists of source code for you to include in 
your project.

You can find the source code for SQLite here:

http://www.sqlite.org/download.html

You probably want either the first item.  Just include the .c and .h files in 
your project and make sure your compiler knows they are C files, and not C++ 
files.

You will probably not need to do any configuration.  However, if you do want to 
change some default settings you will make the changes in your source code, and 
you can find all the documentation for the settings in the .h file.

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] How to install and configure SQLite on ipad.

2011-05-17 Thread irfan khan
Thanks a lot for your replay.

 But we are developing new application for ipad for some buisseness need and
need to configure sqllite database for the same.
 I am  MS SQL database administrator and my developer team asked me to
configure sqlite for ipad.
 please send me any related documents or details.


On Tue, May 17, 2011 at 8:01 PM, Simon Slavin  wrote:

>
> On 17 May 2011, at 5:56pm, irfan khan wrote:
>
> > I am new with SQLite and have to configure on ipad, can ou please send me
> > steps or any related documents please.
>
> There is nothing to configure.  Your application will include SQLite and
> will do all its configuration for you.
>
> Simon.
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 



Thanks & Regards

Irfan Khan
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] How to install and configure SQLite on ipad.

2011-05-17 Thread Simon Slavin

On 17 May 2011, at 5:56pm, irfan khan wrote:

> I am new with SQLite and have to configure on ipad, can ou please send me
> steps or any related documents please.

There is nothing to configure.  Your application will include SQLite and will 
do all its configuration for you.

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users