MWPA - App
  • MWPA - Mammal watching. Processing. Analysing.
    • Update & Debugging
  • MWPA - Server
Powered by GitBook
On this page
  • Problem
  • Solution
  • Steps
  1. MWPA - Mammal watching. Processing. Analysing.

Update & Debugging

This page describes how a new version can be installed.

PreviousMWPA - Mammal watching. Processing. Analysing.

Last updated 1 year ago

Problem

The table and the development environment are not in one place. The tablet can only be reached via a VPN or via remote maintenance (AnyDesk). To install the new version, you currently have to use Android Studio (with Flutter). The pairing of tablet and Android studio is lost due to updates.

Solution

The tablet receives VPN and can be reached via this with an IP. Unfortunately, this IP cannot be selected in the Developer ⇾ Debug settings.

The second app is transferred, and port forwarding is set up in this app.

Now the tablet and Android Studio can be reconnected and paired.

Steps

    1. Listen: Specify the OpenVPN IP on lists, e.g. 10.8.0.6

    2. Port from/to: Leave port from to 10000, the second port is not of interest.

    3. "Enable remote listen start for port forwarding" Activate.

    4. Destination: Select the IP that the tablet has on the Wi-Fi. Usually start with a 192.168.*

    5. Press the start button.

  1. If everything works, the person on the tablet goes to Android "Settings" ⇾ "Developer options" ⇾ "Debugging via Wi-Fi".

  1. Activate

    1. "Pair the device using a pairing cord"

    2. You can now see the IP and port below. Example: 192.168.11.120:40719

    3. Now start the pair in the console in Android studio:

cd /home/~/Android/Sdk/platform-tools
./adb pair 10.8.0.6:40719

You will now be asked for the Wi-Fi pairing code.

./adb connect 10.8.0.6:40719

Done, the APP can now be delivered with Android studio.

Install, set up and start . A private IP with 10.8.* can be seen.

Connect to and transfer the second . The remote person on the tablet installs this and starts it as follows:

The developer on the other hand can check the list via browser:

The port is now activated by the developer on the other side with the URL:

OpenVPN
AnyDesk
app APF
http://10.8.0.6:10000/?action=info
http://10.8.0.6:10000/?action=open_port&port=40719