Invoke.invokeApplication( Invoke.APP_TYPE_MAPS, args );
}
private void invokeMemo( final Object arg ) throws Exception {
MemoArguments args = null;
if( arg instanceof MemoArgumentsObject ) {
final MemoArgumentsObject m = (MemoArgumentsObject) arg;
final MemoObject mo = m.getMemoObject();
if( mo != null ) {
mo.update();
}
final BlackBerryMemo bbm = m.getMemo();
final int view = m.getView();
if( bbm == null ) {
args = new MemoArguments( MemoArguments.ARG_NEW );
} else {
args = new MemoArguments( view == MemoArgumentsConstructor.VIEW_EDIT ? MemoArguments.ARG_EDIT
: MemoArguments.ARG_NEW, bbm );
}
} else {
args = new MemoArguments();
}
Invoke.invokeApplication( Invoke.APP_TYPE_MEMOPAD, args );
}