25
Apr
icon

Few things attract new users to an app more than the ability to interact with other people; gamers demand multi-player and socialites want instant photo sharing. To ease the burden of exchanging data fluidly, Samsung has released its new Chord SDK to make local peer-to-peer and group communication much easier for developers with little or no networking knowledge. It exposes features similar to Samsung's AllShare SDK, but makes it possible to broadcast data and share files with several devices at once.

img_01

Chord automates the discovery of nearby devices and handles most of the tedious aspects of file transfer and messaging, which are built on top of the open source ZeroMQ library for high efficiency. The library provides an abstract system of public and private "channels" for connecting with other devices, all over Wi-Fi and Wi-Fi Direct. While most of the complexities are handled internally, security and encryption are left for developers to hash out on their own. Samsung is also distributing an Eclipse plug-in for testing purposes. The documentation states that you can simulate communication between a computer and a device or between two computers with emulators running.

The library requires Android 4.0+ (API level 14), and - allow me to state the obvious - Chord will only work on devices with TouchWiz. Despite the fact that this is an OEM exclusive, it's a great way to get started without having to write all of the networking code from scratch. If you've got the next great sharing app or multi-player game flashing before your eyes, hit Samsung's developer portal to check out the downloads and sample code.

Samsung Developer Portal

Cody Toombs
Cody is a Software Engineer and Writer with a mildly overwhelming obsession with smartphones and the mobile world. If he’s been pulled away from the computer for any length of time, you might find him talking about cocktails and movies, sometimes resulting in the consumption of both.

  • Sven

    Only with TouchWiz? Yeah, you know, no.

    • Sky

      There are a few really cool features exclusively on TouchWiz that look really nice... but they're still on TouchWiz

  • EagleEye

    It's the same car on both tablets -_-

  • Cheeseball

    Why don't they just use ZeroMQ directly instead of making it proprietary (e.g. depending on TouchWiz)? Stupid decision really.

    • http://www.facebook.com/profile.php?id=1745689461 Hal Motley

      So Samsung can "improve it" and "make it better". XD

Quantcast