How to share file using AllJoyn

asked 2015-01-02 01:24:03 -0700

ashwanik gravatar image

Hello All:

How to share files using AllJoyn on Android devices?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-12 13:59:00 -0700

Nikhil Dabhade gravatar image

Hi ashwanik,

The simplest way to go about this is to encapsulate the file data in form of AllJoyn signal and then send it across to the recipients who are registered to receive this AllJoyn signal.

A good example would be to look at alljoyn_core/samples/FileTransfer wherein you have a FileTransferService and a FileTransferClient which send data in form of AllJoyn signals.

Let me know if you have problems while going through the sample


edit flag offensive delete publish link more


Thanks, will go through the code and try to implement it.

ashwanik ( 2015-01-12 19:43:18 -0700 )edit

answered 2015-01-12 13:57:18 -0700

marcello gravatar image

There is a file sharing application as a sample showing how to do this. There is also an implementation in Java of a file transfer module: https://git.allseenalliance.org/cgit/core/devmodules.git/tree/FileTransfer

It is old, and hasn't been updated in close to 2 years, but should give a sense of how it can be done.

edit flag offensive delete publish link more


Thanks, I will have a look.

ashwanik ( 2015-01-12 19:42:48 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-01-02 01:24:03 -0700

Seen: 453 times

Last updated: Jan 12 '15