Start the app in normal size for device "AIO000" and perform the app startup and termination processing.
int Ret; //Return value
short AppId;
int CloseStatus;
//----------------------------------------
// Start the application and allow access.
//----------------------------------------
Ret = gen.OpenApplication ( "AIO000" , out AppId , 1 ) ;
if(Ret != 0)
{
System.Diagnostics.Debug.WriteLine("Error occurred in LoggerOpenApplication " + Ret.ToString());
}
//----------------------------------------
// Close the application and disable access.
//----------------------------------------
Ret = gen.CloseApplication (AppId , CloseStatus );
if(Ret != 0)
{
System.Diagnostics.Debug.WriteLine("Error occurred in LoggerCloseApplication " + Ret.ToString());
}