>> Home > Resources > Publishing a .mio File

          home solutions software resources contact

 SEARCH
 


 
Documentation Center
Mioplanet Lab
 
RESOURCES
Link to us
Press room
Support request
Mioplanet wallpapers
Our realizations
Where to download
Our customers

FAQ
The Mio technology
MioFactory
Using a Mio software
MioMediaBox PSP
Desktop Alert Solution

MIO TECHNOLOGY
Mio generators
MioFactory applications
MioFactory features
Publishing a .mio File
Safety measures
RSS Feeds for PSP
What a Mio installs

TECHNICAL RESOURCES
Create a Desktop News Ticker
Desktop Ticker reference
Programming an application
Create a Business Card
Embedding Windows Media Player
RSS Newsfeeds Directory
Scrolling Ticker in JavaScript
Desktop Alert Reference

 SOLUTIONS
Desktop Toolbox
Desktop News Ticker
Desktop Alert
Windows Vista Sidebar Gadget

 SOFTWARE
Pixel Ruler
Desktop Currency Converter
Battery Meter
MioToolbox
MioFactory
MioMediaBox for PSP
PSP Web Browser Simulator
The Affirmation Ticker

 RSS feed: News from Mioplanet  News from Mioplanet



 

Publishing a .mio file on a server


MIME Format

  You can distribute your files with the format .mio on your website,
and establish a detection procedure.

The host server with the .mio files should be able to recognize this format.
To do so, request your host to add the following MIME format:

.mio = application/mio

This is a classic procedure, and a e-mail request to your host is generally enough.


MioEngine Automatic detection

  The following code shows a link indicating a Mio, starting a detection procedure.
Instead of signaling the Mio file directly, the link calls the JavaScript function openMio.

The syntax of the function openMio is as follows:

openMio(MioURL, Language);

MioURL is the HTTP address of the application with the .mio format.
Language can be set to 'fr' (French) or 'en' (English)


Your own automatic detection procedure

  You can also establish your own automatic detection procedure.

Detection allows you to know if a MioEngine is installed in the computer and if it works with Microsoft Internet Explorer, Netscape Navigator and Opera.

The detection does not permit you to know which MioEngine version is installed.
Actually, the same Mio file will verify if the installed reader version is sufficient, and will propose an automatic update if it is not.

The first part of the code calls the function detectMioReader(), which sends a true value if the reader is installed.
If the reader is installed, the Mio application will open.
On the contrary, you can call your own page to invite the user to download the latest reader version from the following location: http://www.Mioplanet.com/products/mioengine/mioengine.exe



The following code detects the presence of the Mio reader in the following way:

  For Internet Explorer, it verifies the presence of an additional key in the registry database through the Mio engine.

  For Nescape and Opera, it verifies the presence of the plugin npmio.dll, located in the pluginW folder of the concerned browser.



The function detectBrowser is responsible for detecting the browser, in order to permit the utilization of the corresponding detection procedure:



© Mioplanet 2009 | 0x33 | mstore | Docs | Lab | Last update: January 11th, 2009