0

How to share file using AllJoyn

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

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
0

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

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

Nikhil

edit flag offensive delete publish link more

Comments

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

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

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

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

Comments

Thanks, I will have a look.

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

Question Tools

Follow
1 follower

Stats

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

Seen: 548 times

Last updated: Jan 12 '15