简体   繁体   English

Android 社​​交网络应用

[英]Android Social Networking App

I am planning to write a social networking application for Android.我计划为 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.我想知道的几件事是:1. 我将在哪里存储我的数据、图片和特定用户的信息、管理员数据等。 2. 应用程序的架构在安全性、后端、服务器、请求响应方面应该是什么以及什么我可以使用的工具。 3. can i store data on cloud for so many people, if yes then how to start with? 3.我可以为这么多人在云端存储数据,如果是,那么如何开始? 4. how can i show add on my application and earn some money? 4. 我怎样才能在我的应用程序中显示添加并赚取一些钱?

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还请建议我可以参考的现有应用程序或书籍/文章的一些小型架构,它们不仅告诉我理论概念,还告诉我除了 Android、eclipse、java 等我需要使用哪些工具

Thanks, Vaibhav谢谢,瓦巴夫

I have some needs just like you.我和你一样有一些需求。 I used to Parse to solve https://parse.com .我以前用 Parse 来解决https://parse.com It's support cloud data storage, push notifications and integration social networking.它支持云数据存储、推送通知和集成社交网络。

It's should be able to help you build your app quickly.它应该能够帮助您快速构建您的应用程序。

In my case,my requirements are as follows就我而言,我的要求如下

  1. user management用户管理
  2. video post视频帖子
  3. sharing(via Facebook or Twitter)分享(通过 Facebook 或 Twitter)
  4. comment & like评论和喜欢

Those requirements need backend server to store data.Maintenance costs need to be considered.这些需求需要后端服务器来存储数据。需要考虑维护成本。 For this reason,some of the companies providing cloud services I prefered:出于这个原因,我更喜欢一些提供云服务的公司:

  1. parse :one backend to rule them all.don't worry about server management parse :一个后端统统统统统统不用担心服务器管理
  2. Titanium ACS :like parse.offering a fast and easy way to build mobile app. Titanium ACS :类似于 parse。提供一种快速简便的方法来构建移动应用程序。

Those site provide many APIs to help you solve your problem.You can focus on creating a great user experience and forget server maintenance and complex infrastructure.这些站点提供了许多 API 来帮助您解决问题。您可以专注于创造出色的用户体验而忘记服务器维护和复杂的基础架构。

Also,you can search projects on this site(binpress.com).I find some that meets my requirements.另外,你可以在这个网站(binpress.com)上搜索项目。我找到了一些符合我要求的项目。

  1. Instagram Clips Instagram 剪辑
  2. startme 开始我

For your information.供您参考。

  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.在 android 上,您可以将内容存储在 SQLite 数据库中,在称为 SharedPreferences 的东西中,或作为某个路径中的文件(jpegs、txt 文件等)。
  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!在您可以使用的工具方面,Facebook 最近发布了 Boltz,所以请查看! Here is the link: https://github.com/BoltsFramework/Bolts-Android这是链接: 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.是的,您可以,考虑使用 Amazon Web services,我真的很喜欢它们,但是有无数种不同的选择。
  4. Look into the AdMob libraries.查看 AdMob 库。

If you're asking broad questions like these, I would suggest starting with something simpler.如果您要问这样的广泛问题,我建议您从更简单的问题开始。 Good luck to you!祝你好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM