OpenSourceMobilePlatforms/P2PSupport
Author : Dpellicer
From TechnologicalWiki
Contents |
P2P
P2P is a widely extended trend in personal computers. Integration of Mobile P2P and the Internet is a key point for the final user. This section deals with P2P mobile technologies and how mature they are.
What is it understood as "P2P support" ?
P2P on mobile devices is not only file transfers. P2P should be considered as a business tool which allows:
- Real-time communications
- Colaborative tools
- Load balancing
- File transfer
- Common docs edition
A standard P2P sharing enviroment has no sense in the context of mobile platforms due to the limited capabilities of bandwidth of battery. It will be more practical tools to support comunications between enterprise devices with push technology. The usual way to implement a Push enviroment is making a long time TCP connection. The client opens a TCP connection with server and keep it opened. Over this connection the server will send a notification to the client when something happen. IMAP and XMPP are standards protocol for mail and instant messaging respectively, but it exists many propietary protocols to do the same.
[edit] Libjingle
Libjingle is a collection of open-source C++ code and sample applications that enables you to build a peer-to-peer application. The code handles creating a network connection (through NAT and firewall devices, relay servers, and proxies), negotiating session details (codecs, formats, etc.), and exchanging data. It also provides helper tasks such as parsing XML, and handling network proxies. You could build the following programs with libjingle:
- A multi-user voice chat application
- A multi-user video conferencing application
- A multi-user live music streaming application
- A peer-to-peer file sharing application
[edit] Android
Libjingle was majorly developed by Google, but it decided not to include this in the Android SDK citing security. But there is another option called [1] wich is developed by Ignite Real Time whose are also reponsables of the XMPP based colaborative platform OpenFire. Smack api example for Android
[edit] Maemo
Libjingle is included in maemo core. Example
[edit] Moblin
It exists as RPM package.
[edit] LiMo
Since there is not SDK availible we don't have any information about XMPP libraries for LiMo.
[edit] Symbian
It exists many libraies designed to work with XMPP but maybe Gloox is the most used.


