|
|
|
|
|
- Overview
- Starting the Android Control Center
- Prerequisite
- Starting the Control Center
- Use conditions
- Features
Do you know where to find your application log files? You may need to record a video of a running app on your phone, etc. The Android Control Center helps you with these tasks, and much more. The Android Control Center allows you to easily manage your Android devices during the development phase. These are some of the functionalities you will find in the Android Control Center: - Display general device information: version, resolution, DPI, processor, etc..
- View system logs (logcat),
- Debugger trace display for WINDEV Mobile applications: trace, assert, error, etc.
- Screenshot,
- Record videos of running apps,
- Manage device applications: list, search, application info, install, uninstall, switch to device owner mode, etc.
- Intuitive and responsive file explorer,
- ...
Starting the Android Control Center Prerequisite Before starting the Android Control Center: - Connect the Android device to the development computer.
- Make sure that the "USB debugging" mode is enabled in the mobile device settings (developer options must also be enabled).
Remarks: - If multiple mobile devices are used, USB debugging must be enabled on each mobile device.
- If USB debugging is enabled, an authorization is requested when the device is connected to the development computer (notice the "Always allow from this computer" option).
- If the authorization is not permanently granted, it will be requested each time the phone is disconnected / reconnected.
- If the authorization request is cancelled, the "USB debugging" option will be active on the phone, but it won't be possible to debug from the computer.
Starting the Control Center To start the Android Control Center: - from WINDEV Mobile: in the "Tools" pane, in the "Mobile tools" group, click on "CCAndroid".
- by directly running the "CCAndroid.EXE" program, located in the "Programs" subdirectory of the WINDEV Mobile installation directory.
At launch, the Android Control Center detects the and shows the details of the connected device. Note: If several devices are connected, a list allows you to select the required device. Use conditions The Android Control Center is not a redistributable tool. The Android Control Center cannot be installed with the applications developed with WINDEV, WEBDEV or WINDEV Mobile. To use the Android Control Center, WINDEV, WEBDEV or WINDEV Mobile must necessarily be installed on the current computer. The Android Control Center shows information about the selected device in several tabs: - "Information" tab : This tab displays information about the current Android device: manufacturer, template, serial number, API level, etc..
Note: On some phones, the list of unoptimized/optimized applications will not update unless the phone is restarted. - "Trace" tab : This tab displays the traces of your Android application created with WINDEV Mobile.. To see the traces of your application:
- Open the Android project in WINDEV Mobile.
- Start your application in test mode on the device connected to the development computer.
- Use the application on the device.
- In the "Trace" tab of the Android Control Center, you can view:
- the trace of your application in simple mode: all messages displayed via the Trace function will be displayed in the "Trace" tab of the Android Control Center .
This mode corresponds to the information displayed in the trace window of a test (GO) via the simulator. - the trace of your application in full mode: This mode displays:
- all messages displayed via Trace. These messages will appear in the "Trace" tab of the Android Control Center.
- the exceptions, errors and assertions encountered.
This mode corresponds to the information displayed in the "Debugger trace" tab in a test (GO) via the simulator.
- "Logcat "tab : This tab displays all system logs recorded on the Android device, according to priority.. It is possible to search the messages.
This tab can be used to find the causes of problems in some Android applications. Note: Minimum priorities may correspond to the use of WLanguage functions: - "Capture " tab: This tab allows you to capture an Image or a video (maximum 3 minutes) of the device screen.. This image (or video) can be saved on the development computer. In the case of a screenshot, the image can be edited and modified.
- "Applications" tab : This tab displays the list of applications installed and in use on the Android device. . It is possible to:
- View details of the selected application: name, version, minimum sdk version, application permissions, ...
- Installing an application on the device: Simply select the corresponding APK file from the development workstation..
- Uninstall an application.
- Run the selected application (if the corresponding APK file is available).
- Start the selected application by passing parameters to it (if the corresponding APK file is available).
- Stop the selected application.
- Open the application directory in the "Explorer" tab. This option is only available for debuggable applications.
- "Explorer" tab : This tab displays the various folders present on the device in the form of a file explorer..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|