Intent API provides the highest
level of access to PeerDeviceNet's features. To use this API, all
you need is to have PeerDeviceNet (paid or free) installed on
users devices to gain the runtime support. Apps send normal
android intents using PeerDeviceNet specific action names and pack
message data as intent "extra" data items with PeerDeviceNet
specific keys. All the action names and "extra" data keys
supported by PeerDeviceNet have been centralized at this file
Router.java
which you can add to your project for easy access.
PeerDeviceNet's IDL APIs define
purely asynchronous methods and callbacks. To use these apis, you
need to add their aidl definition files to your project. There is
also DeviceInfo class and NetInfo class used at api which defines
information about devices and networks. For your convenience, all
the necessary files to use aidl api are available from
github
site, which you can unzip and add to your project.