Saturday, March 23, 2013

Re: How to connect to existing google cloud SQL database with external android app

Also it seems the new SDK 1.7.6 update has modified something.  I now get a security exception try to connect to ....https://...appspot.com/_ah/api/ .  I changed the 1.myapp to -1-myapp as per the documentations, but now I get a 404 error.  

On Saturday, March 23, 2013 12:24:47 AM UTC-5, Jeremy Tzou wrote:
Thanks for the reply.  Yes, I have done that.  My main issue is that the entity classes read and write from the datastore.  How do I get them to read and write from the google sql database?  

On Thursday, March 21, 2013 6:54:43 PM UTC-5, Jeremy Tzou wrote:
So i've been trying for hours to figure out how to do this. Turns out after research that I need a GAE app to communicate with the database for the application because you can't connect to the sql db on android.  So what I did was generate an android endpoints backend for an existing application. https://developers.google.com/eclipse/docs/endpoints-create-fromandroid

Now here is the problem.  I am stuck.  The app engine is supposed to be able to execute commands to send to the google sql db.  But how do you do that?   How do I set it so my GAE backend can connect to an existing google cloud sql server?  I simply cannot find a tutorial that explains this. 

I did find this  https://developers.google.com/appengine/docs/java/cloud-sql/developers-guide, but that is not for android nor is it for an application with a GAE backend.  

I could use some guidance. 

Thanks

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment