THIS TOOL IS NO LONGER AVAILABLE

This guide will provide you with all the information and steps necessary on how to send crash and log reports when encountering issues with your 3CXPhone for Android and sending them to 3CX Support for analysis.

Sending Verbose Log

To Generate logging information from 3CXPhone for Android do the following:

screenshot1

1. Go to "Settings" > "Advanced" > Enable "Verbose Logging".
2. Reproduce the problem.

screenshot2a2b

3. When done, Go to "Settings" > "Advanced" > Select "Send log Report".
4. Once done, disable "Verbose Logging".

Sending Crash Log using ADB

However there are other types of issues that can occur, where the 3CXPhone for Android Logging will not be enough. For example, when an application freeze occurs, when an issue in the Android Operating system occurs, or when something goes wrong in native code. For these cases, 3CX Support might ask you to provide crash and log reports using ADB Monitor. The next part describes how to achieve this.

Requirements:

  1. Download and install 3CXPhone for Android Debug Version on your Android device.
  2. Java Platform JDK download
  3. Android SDK
  4. Appropriate Phone driver for your phone model. (Available from your phone manufacturer's website).

Step 1:Installing the Java Platform JDK

  1. Go to https://www.oracle.com/java/technologies/downloads/ Java SE Development Kit
  2. Click on Java Platform (JDK) 7u45 button, then select Windows x86 or Windows x64 depending on your system as shown above. You can also use the direct download links for these files:
    • Windows x86: http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-windows-i586.exe
    • Windows x64: http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-windows-x64.exe
  3. Download and install the appropriate version for your Operating System (x86 for 32bit Windows machines, x64 for 64bit Windows machines).

Step 2: Download and Install the Android SDK Tools

The next step in the Debugging procedure is to download and install the Android SDK Tools on your machine. To do that :

  1. Go to https://developer.android.com/studio
    Android SDK Download
  2. Scroll down the list and click on the DOWNLOAD FOR OTHER PLATFORMS option
  3. Click on the android-sdk_r22.3-windows.zip file, download it and extract it in a location on your PC.

Step 3: Running the Android SDK Manager and Installing the Google USB Driver

After you finish downloading and installing the Android SDK Manager you need to run it and install the Google USB Driver by following the next steps

  1. Go to the android-sdk-windows\tools folder on your machine and click on android.bat
  2. The Android SDK Manager window will come up on your screen.
    Install Platform Tools
  3. From there select the only the Android JDK Platform tools option Google USB Driver
  4. Then scroll down  the list, select Google USB driver and click on the Install 2 packages button as shown above.
  5. Click on Accept licence on the following screen and then the 2 packages will be installed.

After the installation is complete you can close the Android SDK Manager Window.

Step 4: Installing the Manufacturer USB Drivers

After closing the Android SDK Manager window you need to install the manufacturer's USB drivers for your phone on your Windows machine. To do this:

  1. Go to https://developer.android.com/studio/run/oem-usb or your phone's manufacturer website and download your device's drivers. Remember that you need to install the correct usb drivers for your device to be able to communicate with ADB Monitor.
  2. You can also try a universal ADB driver available from here http://www.androidpolice.com/tags/universal-adb-driver.

Step 5: Install 3CXPhone for Android Debug Version on your Android Phone

  1. Download 3CXPhone for Android Debug Version and install it on your Android device.
  2. Go to Settings > Developer Options > and enable USB debugging on your device. After this, connect your device to your computer via USB cable.

Step 6: Running the Android Debug Monitor

To run the android Debug Monitor and collect information to send to 3CX Support for debugging follow the next steps:

  1. Go back to android-sdk-windows\tools and click on monitor.bat. The Android Debug Monitor application will be launched. This will allow you to collect debug information from your Android device. Android Debug Monitor
  2. In the devices tab you should see your device listed. If you cannot see your device listed then you have a wrong device driver installed or a problem with your drivers.
  3. You can try and resolve this by installing another driver, unplugging the device, rebooting your machine and plugging in the device back. A generic Google search on the subject will give you many hints on how to install the device drivers as driver installation problems are very common.

Step 7: Collecting Debug Information

Once you see your device in the devices tab, launch 3CXPhone for Android on your device and reproduce the problem. After the problem is reproduced, do the following:

  1. Click  the "LogCat" tab
  2. Click on Verbose to show all logs and press press Control-A to select all the messages
  3. Click the Export button (icon with a diskette) to export all logs to a file.
  4. Save the file to a location on your computer, attach to an email and send it to [email protected]. This will enable the 3CX Development team to analyse, fix and address the issue. It is also important to remember to also add details such as the device make and model, Android Operating system version and a detailed description of the problem.