The answer may be...
Using a common file format
device-independence
XML/RDF-based
e.g.
this demo
next