iOs Can make this

I have a friend who has to make an application to the following
he is interested in xojo
the app need to use sqlite to save data and then send the sqlite to email or dropbox

Alexis,
Xojo uses SQLite, so yes - data can be written / saved to an SQLite database file.

This file can then easily be saved to the users dropbox, via a SaveAs Dialog.

Hope that helps.

[quote=150409:@Alexis Colon Lugo]I have a friend who has to make an application to the following
he is interested in xojo
the app need to use sqlite to save data and then send the sqlite to email or dropbox[/quote]
Should be fairly easy. iOS can create and read/write SQLite databases and it has an httpsocket (though I’m not entirely sure what DropBox requires).

Whoops - I was referring to desktop :slight_smile:
I guess the title should have given me a clue :slight_smile:

[quote=150441:@Richard Summers]Whoops - I was referring to desktop :slight_smile:
I guess the title should have given me a clue :)[/quote]

If Alexis had posted in iOS, it would have been even more obvious…

Moved to iOS Channel.

How does Xojo iOS interact with core data? Or does it do its own thing, using SQLite?

Core Data is an object persistence framework for Objective-C. The database APIs in Xojo just access SQLite as a database.

Hi
my friend need the sqlite file to go out and in back so i think hi have to use like dropbox and read/write from XOJO.

can hi make it or no

my last question

can iOs XOJO can read and write to dropbox on iPhone (Yes/No)

I think I read recently that Apple now rejects apps for using Dropbox–only iCloud is acceptable (e-mail should still be OK, though).

http://lmgtfy.com/?q=dropbox+ios+integration

If any example to read/write iCloud from iphone app

https://developer.apple.com/library/ios/documentation/General/Conceptual/iCloudDesignGuide/Chapters/Introduction.html

Hi Tim
But this link is no Xojo Code

[quote=159456:@Alexis Colon Lugo]Hi Tim
But this link is no Xojo Code[/quote]

iCloud is not implemented yet. You have to use declares if you want that feature.

Non trivial declares, I might add. There are MANY classes involved with iCloud integration on iOS, and it would not be a small project to implement.

ok thanks

If you say so, no doubt it is much better to wait until Xojo implements it :wink:

In the meantime, if saving to a cloud (not icloud) was needed, one could use HTTPSocket or TCPSocket to send the file to store on a host through a Xojo Web Edition app.

Not sure I’m willing to hold my breath that long :stuck_out_tongue: