Search code examples
androidiosjsonmobile-applicationuser-profile

I have an app/web application in mind but I can't find the answers on what I would need to build it


Basic overview of this app isn't new or ground breaking. most importantly it's centered around the google maps api using json. That part I have under control, i have studied the google maps api up and down.

The issue I am having is figuring out how to create users for the app. I need to not only allow(require) users to create a profile, but for them to be able to add and view points on the map. Again I am not concerned about the map, only the user profiles.

I have read that javascript isn't secure enough to use to create users (by the way i can't figure out the term I'm looking for ie. user profiles? user area? users? i don't know how to phrase it) but I know that I would like to store the data from the user as json so that I can easily call it. I could say that I am considering using java or ruby on rails but the truth is I don't know the first thing about what I am trying to do (hence not being able to find what I am looking for). I would also like to use a titanium like structure so as to make it friendly for all platforms.

payments will be involved so it needs to be secure, but the data also needs to be usable on the web. i'd like to allow the user to access there product and all of the same functionailty that comes with it on the website (like facebook).

I'm just looking for a lead or something that will help me to find the info I need. if you know what you are talking about and you want to write me a book on the matter please do so. I've been searching for days and can't find what I'm looking for.


Solution

  • You could always use Google's OAuth2 method for performing authentication, which should also make it easy to integrate Google Wallet for payment stuff. As for saving data regarding the user, since you are relying on OAuth2 for your authentication you could just keep track of their Google account (e.g., gmail address) and the OAuth2 Refresh Token. The refresh token would allow you to re-authenticate the OAuth2 session without requiring additional user authentication.

    Note: The OAuth2 Refresh Token will only be returned the first time the user grants your application access. Check out these pages:

    https://developers.google.com/accounts/docs/OAuth2

    https://developers.google.com/wallet/

    Hope this is helpful.