Search code examples
javaandroidsocial-networkingads

Android Social Networking App


I am planning to write a social networking application for Android. I want to learn the architecture for my app . few things i want to know are : 1. Where will i store my data, pictures and information for specific user, administrator data etc. 2. What should be architecture of the application in terms of security , backend, server, request response and what tools can i use. 3. can i store data on cloud for so many people, if yes then how to start with? 4. how can i show add on my application and earn some money?

Please also suggest some small architecture of existing app or book/article i can refer that not only tells me theoretical concepts but also tells me what tools i need to use except Android, eclipse, java etc

Thanks, Vaibhav


Solution

    1. On android, you can store things in a SQLite Database, in something called SharedPreferences, or as a file (jpegs, txt files, etc) at some path.
    2. The architecture really depends on what you want the application to do, but generally, try to build a data layer, one that retrieves, saves, and organizes the data and then a user interface layer. I like to keep these two as separate as possible and then have a single bridge from the data to the user interface. In terms of tools you could use, Facebook released Boltz recently so check that out! Here is the link: https://github.com/BoltsFramework/Bolts-Android
    3. Yes you can, look into using Amazon Web services, I really like them, but there are endless different options.
    4. Look into the AdMob libraries.

    If you're asking broad questions like these, I would suggest starting with something simpler. Good luck to you!