Received: by 10.66.84.38 with SMTP id v6mr1913638pay.7.1349396786367; Thu, 04 Oct 2012 17:26:26 -0700 (PDT) X-BeenThere: android-developers@googlegroups.com Received: by 10.68.242.38 with SMTP id wn6ls12776616pbc.8.gmail; Thu, 04 Oct 2012 17:23:08 -0700 (PDT) Received: by 10.68.242.37 with SMTP id wn5mr2820678pbc.4.1349396588317; Thu, 04 Oct 2012 17:23:08 -0700 (PDT) Date: Thu, 4 Oct 2012 17:23:07 -0700 (PDT) From: Indicator Veritatis To: android-developers@googlegroups.com Message-Id: <4cc48e1f-9275-4f08-88ac-325031b6aab0@googlegroups.com> In-Reply-To: References: Subject: Re: [android-developers] Accessing a database hosted on a server MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_196_32439100.1349396587846" ------=_Part_196_32439100.1349396587846 Content-Type: multipart/alternative; boundary="----=_Part_197_11547807.1349396587846" ------=_Part_197_11547807.1349396587846 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Your reply, TreKing, reminds me of the classic joke: you ask a programmer if he knows what time it is, and he says 'yes';) But a little more of a hint would have been quite appropriate. I take an especial interest in this because if I had been the one designing the Android database API, I like to think I would have made it a lot easier for the client programmer to use the exact same sequence (after initialization) of API calls whether the database is located on the phone or remotely accessible via (for example) HTTP. But they did not do this, and it it really not obvious how best to approach the problem. Even many of the people answering the same question on StackOverflow admit there is no one, good solution to this problem, saying instead disappointing generalities such as "There is no easy way of connecting Android DIRECTLY to a remote database." No wonder all the answers got such low ratings! On Thursday, October 4, 2012 12:13:15 AM UTC-7, TreKing wrote: > > On Mon, Oct 1, 2012 at 3:38 PM, Leandro Rodrigues > > wrote: > >> Is it possible to connect me to a database and insert and delete data? >> > > Yes, this is possible. > > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago > transit tracking app for Android-powered devices > > ------=_Part_197_11547807.1349396587846 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Your reply, TreKing, reminds me of the classic joke: you ask a programmer i= f he knows what time it is, and he says 'yes';)

But a li= ttle more of a hint would have been quite appropriate. I take an especial i= nterest in this because if I had been the one designing the Android databas= e API, I like to think I would have made it a lot easier for the client pro= grammer to use the exact same sequence (after initialization) of API calls = whether the database is located on the phone or remotely accessible via (fo= r example) HTTP. But they did not do this, and it it really not obvious how=  best to approach the problem.

Even many of = the people answering the same question on StackOverflow admit there is no o= ne, good solution to this problem, saying instead disappointing generalitie= s such as "There is no easy way of connecting Android DIRECTLY to a remote database."= No wonder all the answers got such low ratings!

On Thursday,= October 4, 2012 12:13:15 AM UTC-7, TreKing wrote:
On Mon, Oct 1, 2012 at 3:38 PM, Leandro Rodrigues <leud...@gmail.com> wrote:
Is it possible to connect me to a database and insert and delete data= ?

Yes, this is possible.

----= -----------------------------------------------------------------= ----------------------------
TreKing - Chicago transit tracking app for Android-powered device= s

------=_Part_197_11547807.1349396587846-- ------=_Part_196_32439100.1349396587846--