[android-developers] Re: connecting mysql database

2010-09-14 Thread Rosebeat
There are many posts out there. You can try them. I could not achieve any success though. If you want those links then let me know. i just forgot those links atm... On Aug 21, 7:47 pm, crajesh crajesh2...@gmail.com wrote: Hi All,   I am new in android. I want to know to connect the mysql

[android-developers] Re: connecting mysql database

2010-08-22 Thread Tim
I think it is rather presumptuous of some commentators to suggest one approach is either right or wrong. The real world is never this black or white. A direct connection to a remote database is perfectly secure, usable and technically possible particularly if the Android device is connecting via

Re: [android-developers] Re: connecting mysql database

2010-08-22 Thread Mark Murphy
On Sun, Aug 22, 2010 at 5:32 AM, Tim t...@mobiforms.com wrote: A direct connection to a remote database is perfectly secure, usable and technically possible particularly if the Android device is connecting via a secure wi-fi network or a GPRS/3G network where the SIM is part of a private APN.  

Re: [android-developers] Re: connecting mysql database

2010-08-22 Thread Kostya Vasilyev
One more thing to consider: network latency. Requesting data over HTTP requires one round-trip for data, in addition to TCP session setup. The latter can be all but eliminated by using HTTP connection keep-alive. DB protocols can be more chatty, requiring more network round-trips to get

[android-developers] Re: connecting mysql database

2010-08-22 Thread DanH
In other words, eat cake. On Aug 21, 6:26 pm, Bob Kerns r...@acm.org wrote: Re: This is a limitation/shortcoming/feature of Android. No, it's not. It's a characteristic of SQL database connections, vs the characteristics of distributed clients. This is not new with Android -- well-written

[android-developers] Re: connecting mysql database

2010-08-22 Thread Bob Kerns
Sometimes it is black and white. And sometimes, just a very dark gray against a very bright background. On the surface, at least, your Sync Server would appear to be a far superior approach. On Aug 22, 2:32 am, Tim t...@mobiforms.com wrote: I think it is rather presumptuous of some commentators

[android-developers] Re: connecting mysql database

2010-08-21 Thread DanH
Any decent developer should know this. That's unfair. The OP did state that he was new to Android, and on other platforms you CAN connect directly to a remote database. This is a limitation/shortcoming/feature of Android. On Aug 21, 1:24 pm, Miguel Morales therevolti...@gmail.com wrote: Don't

Re: [android-developers] Re: connecting mysql database

2010-08-21 Thread Miguel Morales
Any client type software that connects directly to a database is badly written. Insert a sniffer in there and go crazy on the database. On Sat, Aug 21, 2010 at 11:53 AM, DanH danhi...@ieee.org wrote: Any decent developer should know this. That's unfair.  The OP did state that he was new to

[android-developers] Re: connecting mysql database

2010-08-21 Thread Bob Kerns
Re: This is a limitation/shortcoming/feature of Android. No, it's not. It's a characteristic of SQL database connections, vs the characteristics of distributed clients. This is not new with Android -- well-written desktop applications use a service layer rather than direct connection to the SQL

[android-developers] Re: connecting mysql database

2010-08-21 Thread DanH
Well, Symbian allows connection to remote DBs. On Aug 21, 6:26 pm, Bob Kerns r...@acm.org wrote: Re: This is a limitation/shortcoming/feature of Android. No, it's not. It's a characteristic of SQL database connections, vs the characteristics of distributed clients. This is not new with

[android-developers] Re: connecting mysql database

2010-08-21 Thread Bob Kerns
Android doesn't forbid it -- but since it's a bad idea, period, nobody who knows what they're doing is interested in making it easy. So nobody is going to figure out why, for example, the MySQL JConnect driver doesn't just work out-of-the-box. I suspect I would be able to get it working, but I'm