'Is it possible to modify a config file on pc from a kivy application on android?

I have a program on my pc that needs a config file config.ini to run :

[DEFAULT]
LateralRedPolyCoef = .695 .43 .35 1 1 1 1 .41
LateralYellowPolyCoef = .46 .43 .695 .43 .35 1 -1 1
FrontRedPolyCoef = .695 .43 .35 1 1 1 1 .41
FrontYellowPolyCoef = .46 .43 .695 .43 .35 1 -1 1

The program use this config file this way :

...
config.read('config.ini')
if args.position == "lateral":
    lrpc = config['DEFAULT']['LateralRedPolyCoef'].split()
    lypc = config['DEFAULT']['LateralYellowPolyCoef'].split()
    red_zone = np.array([[float(lrpc[0]) * width, float(lrpc[1]) * height],
                         [float(lrpc[2]) * width, float(lrpc[3]) * height],
                         [float(lrpc[4]) * width, float(lrpc[5]) * height],
                         [float(lrpc[6]) * width, float(lrpc[7]) * height]], np.int32)
    yellow_zone = np.array([[float(lypc[0]) * width, float(lypc[1]) * height],
                            [float(lypc[2]) * width, float(lypc[3]) * height],
                            [float(lypc[4]) * width, float(lypc[5]) * height],
                            [float(lypc[6]) * width, float(lypc[7]) * height]], np.int32)
...

And i have a kivy application running on android like this : application

I would like to know if it's possible to connect the application to the computer (with wifi, bluetooth or other ways) and to modify the config.ini file, so that when i move the ellipses and save the final position, it actualize the config file on the computer.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source