General Function that does´t work

Hey,

i got a few problems where i does´nt understand why they doesn´t work.

First: in my app is a Sqlite database the app generates it and pulls, pushes or deletes variables into it. In the Corona simulator it work very fine and makes no problems but when i export it for iPhone nothing happens. You can´t push variables into the database or pull them and printing isn´t working although. I made the database by this example ( http://developer.coronalabs.com/content/data-storage )but on iPhone it does´t work only in corona simulator.

Second: I have a text field with a function which should phone the number in the textfield i used this function

[lua] function Button:tap(event)
system.openURL( tel:415-XXX-XXXX)
end[/lua]

but it doesn’t work it also does´t work if i use tel: +49-XXXXXX

Third: The Email function also does´t work on the iPhone i used this function:

[lua]local function emailen_touch ( event )
–if event.phase == “ended” then
local mailfunktionen =
{
to = event.target,
subject = “Brauche weitere Informationen”,
body = “I need further Informations”,
}
native.showPopup(“mail”, mailfunktionen)
–end
return true
end[/lua]

I need help it is very urgent and i can´t solve this. I hope my english wasn´t too bad and you could understand what my problems are.

greeting and thank you
Lenny [import]uid: 149464 topic_id: 28802 reply_id: 328802[/import]