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.