Question

I'm writing some Google App Egnine + Android service for self and my friends. For each user this service will ask AuthSub token for another Google services. And by cron will retrieve information from this services and send it via c2dm on their cell phones.

I need somewhere store user information and auth sub token for use it from cron. And if I understand correctly google app engine already has libs for this goal. Could you show me right direction for research (manuals, examples): - how to store auth sub token (I got it from gdata api); - how to retrieve it with google user id; - how to obtain all users data in cron jobs;

PS: I'm c++ developer and it my first web app, sorry if this question is newbie.

Was it helpful?

Solution

In order to store information in app-engine you need to use the Datastore.

See here of an example. You probably need to create a model with two string properties, the google id and the auth token.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top