Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Creating Mobile Application Projects | Coding a Mobile Application | Migrating to the New Run-Time Classes | Refactoring MyApplication
 
Refactoring MyApplication
*To refactor the MyApplication class
1. Change the base class of the MyApplication class from Application to MDApplication.
2. Add implements IMDApplicationListener to the class declaration, and implement all methods.
3. Remove setAppCanvas() method. The project specific initialization logic can be added to the init() method. For detailed information, see Binding MyCanvas with MyApplication.