Thursday, August 16, 2012

Re: Eclipse (Android) -> Cloud SQL Server

do you have any piece of code?

On Wednesday, August 15, 2012 6:58:37 PM UTC-3, Ken Ashcraft wrote:
On Wed, Aug 15, 2012 at 2:21 PM, Marcelo <mca...@gmail.com> wrote:
got it...

Last question.

is this relantionship based in WebService?


Sorry, but I don't know what WebService is, nor do I understand what relationship you are referring to.
 


On Wednesday, August 15, 2012 6:13:24 PM UTC-3, Ken Ashcraft wrote:
On Wed, Aug 15, 2012 at 2:03 PM, Marcelo <mca...@gmail.com> wrote:
GAE = Google App Engine? If it is i already have this installed in my eclipse.


Yes.
 
What I need really is a "light" to start iniciate my code.


Look for tutorials on using Android and GAE.  At that point, Cloud SQL should be completely hidden behind GAE and is just an implementation detail of the GAE app.

Hope that helps,
Ken
 

On Wednesday, August 15, 2012 5:58:19 PM UTC-3, Ken Ashcraft wrote:
Your GAE app should expose an API that the android app will use.

Android -> GAE -> Cloud SQL

That way, the GAE app can enforce application-level rules about who is allowed to see what data.  Furthermore, it is far easier to make changes to the GAE app than it is to push out changes to the android app because you can't control when users upgrade the app on their phones.

Ken


On Wed, Aug 15, 2012 at 1:42 PM, Marcelo <mca...@gmail.com> wrote:
Hi,

I´m trying to make my eclipse APP Adroid talk to Cloud SQL Server. I did 4 steps below:

1-Create a Cloud SQL account - OK
2-Import the data and scheme to it  - OK
3-Create an AppEngine Application - OK
4-Allow the AppEngine app id access to the Cloud SQL- OK

BUT, here´s my problem:

5- "Create an application that android can access and talk to your cloud sql" - X

In step 5 "Create an application that android can access and talk to your cloud sql" i can´t find anything or any piece of code in developers or tutorial to help me to make the 2 sides talk. (Android (Eclipse) with Cloud SQL Server).

Can anyone help me? Another question is, Cloud SQL can only comunicate with an WebService? Can i make the comunication without WebService? Ca i do the code directly in eclipse withou webservice?






No comments:

Post a Comment