2 Replies Latest reply on Oct 25, 2012 7:07 AM by Ivan Fernandes

    Developing on Linux

    Ivan Fernandes

      I just start to develop for the MC40, and I'm having some issues to detect the device when using adb.

      I already install my application on it, but I need to debug the application running on the MC40... anyone else have some issues to configure this device to run with adb?

      About this PC:

           ADB

                Android Debug Bridge version 1.0.29

          Java

                java version "1.7.0_07"

                Java(TM) SE Runtime Environment (build 1.7.0_07-b10)

                Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

           OS

                Ubuntu 12.04.1 LTS

           IDE

                Version: Juno Release

                Build id: 20120614-1722

       

      Another question, where can I find the "TeamExpress" api?

        • Re: Developing on Linux
          Jimmy Joseph

          TeamExpress API?, Can you clarify what exactly are you looking for.

           

          Hope the following helps for adb on Ubuntu:

           

          To install the USB driver on a Linux operating system:

          1. 1. Locate the adb_usb.ini file in .android directory: ~/.android/
          2. 2. Edit the adb_usb.ini file. If the file is not available then created this file in the directory.
            1. a. Add 0x05E0 to the adb_usb.ini file. (Motorola Solution USB ID)
            2. b. Add 0x0451 to the adb_usb.ini file. ((TI OMAP)
            3. c. Save and close the file.
          3. 3. Setup udev rules to include ADB USB configuration with Device USB vendor ID.
            1. a. Log in as root and create a 51-android.rules file in this path: /etc/udev/rules.d/
            2. b. Add the following USB vendor ID in 51-android.rules file

          SUBSYSTEM=="usb", ATTR{idVendor}=="05e0", MODE="0666", OWNER="<user_name>"

          SUBSYSTEM=="usb", ATTR{idVendor}=="0451", MODE="0666", OWNER="<user_name>"

          1. c. Save and close the file.
          2. 4. Change the file permissions on 51-android.rules file.
            1. a. Execute command: chmod a+r /etc/udev/rules.d/51-android.rules

          Note: For details on configuring the ADB USB vendor ID, go to SDK development site

          1. 5. Reboot the host computer.
          2. 6. Verify the Device USB connection.
            1. a. On the Linux terminal, execute command: adb devices from <sdk>/platform-tools/ directory. If connected, the ET1 displays in the device list.
          1 of 1 people found this helpful
            • Re: Developing on Linux
              Ivan Fernandes

              Thanks for the ADB configuration instruction.

               

              About the Team Express API.

              In our application we have a list of logged users, that can be logged on MC40 , CA50 or SB1, all devices connected in the same network, so they can communicate using Team Express but when I use the push-to-talk button on the MC40, the device start to communicate with all Devices on the same network.

               

              How can I start a private call? It's possible to call the push-to-talk action (right button) using my activity?