Tuto WINDEV Mobile 25

Part 2: Android application 41 In the two last cases, no specific operation is required. For a free window, the organization of controls and their size must adapt to the orientation. The anchoring mechanism must be used to get a proper result. Practical example ▶ Open (if necessary) the "My_Android_Project" project that was created in the previous lesson. Answer A corrected project is available. To open this project, in WINDEV Mobile’s home page (Ctrl + <), click "Tutorial" and select "My Android project (Answer)". In our example, the project was created for a phone and it was tested in portrait mode in the simulator. We are now going to run its test in landscape mode in the simulator. ▶ Run the project test in simulator mode: 1.  In the quick access button area, expand "GO" if necessary and select the option " Debug on Generic Android Phone simulator". Remark By default, the project test on a mobile device is proposed among the quick access buttons. After selecting " Debug on simulator" for the first time, the corresponding icon ( ) will be automatically proposed among the quick access buttons. 2. Validate (if necessary) the window that opens up. 3.  The window is displayed in portrait mode. 4.  The simulator shows an icon-based menu: 5. Modify the window orientation with the "Rotation" option .

RkJQdWJsaXNoZXIy NDQ0OA==