Page 1 of 1

Postgresql db acessed from Android 2.2 device

Posted: Fri May 11, 2012 1:01 pm
by antoniocarlosalmeidaBUSt7Rx
I´m trying without sucess to conect from an android 2.2 device ( connected with wifi in the local network) into a postgresql 8.2 database , both in the same local network. Is it possible with LiveCode 5.5 trial license? Has anyone already done that? I used the example code in a single Button screen :

on mouseUp
put revOpenDatabase("postgresql","192.169.0.200","caixa","postgres","1234") into dbID
if dbID is not a number then
answer "there is a problem "&dbID with "Ok"
else
answer "You are connected" with "Ok"
end if

put "SELECT * from bancos" into dbSQL
put revDataFromQuery(, , dbID, dbSQL) into theData
answer theData
end mouseUp

....and have no answer . I' ve compiled it for windows plataform and it worked fine.
Any suggestions?

Re: Postgresql db acessed from Android 2.2 device

Posted: Fri May 11, 2012 1:13 pm
by Klaus
Hola Antonio,
antoniocarlosalmeidaBUSt7Rx wrote:Any suggestions?
Yes! Please read the "Android Release Notes"!
LiveCode: Menu: Help

Android Release Notes, page 12 (in LiveCode 5.02):
------------------------------------------------------------------------
What doesn't work
The following features have no effect:
...
dbPostgreSQL, dbODBC and custom externals (planned for a future release)
...
----------------------------------------------------------------------

Best

Klaus