How to share files using AllJoyn on Android devices?
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
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.
This thread is public, all members of ask.allseenalliance.org can read this page.
Asked: 2015-01-02 01:24:03 -0700
Seen: 453 times
Last updated: Jan 12 '15
© 2014 AllSeen Alliance, Inc. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. AllSeen and AllSeen Alliance are trademarks of the AllSeen Alliance, Inc.
Linux is a registered trademark of Linus Torvalds.