Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Coding a Mobile Application : Mobile Designer-Provided Run-Time Classes : Migration to the New Run-Time based on the _NativeUIDemo_ example : Replace deprecated/removed methods and fields with new API
Replace deprecated/removed methods and fields with new API
1. Replace CanvasDimensions.CURRENT_SCREEN_WIDTH with nUIController.getScreenWidth().
2. Replace CanvasDimensions.CURRENT_SCREEN_HEIGHT with nUIController.getScreenHeight().
3. Replace CanvasDimensions.CURRENT_SCREEN_PPI with nUIController.getScreenPPI().
4. Replace Canvas.getWidth() with nUIController.getScreenWidth().
5. Replace Canvas.getHeight() with nUIController.getScreenHeight().
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback