Cling is a complete, clean, and very flexible Java implementation of the UPnP Device Architecture specification. Additional UPnP service modules and graphical tools are also part of this project. Cling helps you create, control, and monitor UPnP-compatible services on your local network. Cling can be used as an UPnP/DLNA library for Android application development.
LXiMedia is a fully transcoding DLNA media server. It supports DVD and High Definition resolutions (720p and 1080p), stereo and multi-channel (5.1 surround) audio, DVD title playback, high quality subtitle overlay, support for embedded subtitles, and SRT subtitle files, selection of an audio stream and/or subtitle overlay from the DLNA device, and support for IMDb movie titles and descriptions.