应用程序,用户可以将图像发送给对方 [英] App where users can send images to each other
问题描述
我正在考虑做一个Android应用程序中,你可以发送图片到您的联系人(从您通讯录抢下)。排序的应用WhatsApp的做什么。
我想知道,怎么是这样的实现?我的意思是它的一般设计?
I am thinking about making an android app in which you can send pictures to your contacts (grabbed from you address book). Sort of what the app WhatsApp does. I was wondering, how is something like that achieved? I mean what would be the general design for it?
任何帮助/提示是pciated AP $ P $
Any help/tip is appreciated
感谢您
编辑:澄清,我不是在寻找如何从一个做到这一点的应用程序到Z.我想在条件专门设计架构知道如何使用共同的电话号码链接到用户一般的答案。我会存储我的用户的所有电话号码的服务器?或者是有SOM的Android功能,可小猪回电话号码
As a clarification, I am not looking for general answer of how to do this app from A to Z. I want to know specifically of the design architecture in terms how to link to users together using phone number. Would I have a server that stores all phone numbers of my users? Or is there som android functionality that can piggy back on phone number
推荐答案
你应该知道的:
- 如何使用推送通知:如何等待从另一个用户收到的消息。
如何使用和处理这些boardcasts。
(阅读本 - https://developer.android.com/google/gcm/index.html )。 - 如何会发送这些照片?将它们转换为Base64和派?或者是什么?
(阅读本 - 发送使用HTTP POST 图像)。
- how to use push notifications: how to wait for incoming message from another user. how to use and handle those boardcasts. (read this - https://developer.android.com/google/gcm/index.html).
- how you gonna send those pics? convert them to Base64 and send? or what? (read this - Sending images using Http Post).
这篇关于应用程序,用户可以将图像发送给对方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!