0

I want to develop an App which is just like snap chat,to send video files to friend.Is there any third party API to do this.What are the possible ways?

Aarti verma
  • 307
  • 3
  • 12

3 Answers3

0

One way is using Sockets. You could basicly send information how many bytes the file has and then transfer it to other Socket where you will read it. You should take a look at this question.

Edit: In this solution you don't need any third party, it is java api.

Community
  • 1
  • 1
10101101
  • 193
  • 1
  • 13
0

Socket is good for transferring files, but i think you cannot transfer large files. And your application will allow lots of unwanted/unauthorized video being transferred between users.

You need to learn about XMPP protocol and Open Fire Server, which are widely used by applications like WhatsApp (not sure what they currently using).

This may help you i think...

Try: Here is the example link to transfer files usind asmack and openfire server http://harryjoy.me/2012/08/18/file-transfer-in-android-with-asmack-and-openfire/

Harry Joy
  • 58,650
  • 30
  • 162
  • 207
sais
  • 803
  • 6
  • 15
0

You can use sockets but you can also use the PubNut API if you want focus in your app and leave the networking to a third party.

I hope this help you.

aneiser
  • 31
  • 2