Hey all, I'm hoping this is possible.
I have an android app that connects to a MariaDB database via JRDBC2. The problem is that where I do the development and testing here at the house, the IP address of the server and database is different than the IP address where it is run in production. I use a variable to set the location:
Private const rdcLink As String = "http://192.168.1.222:17178/rdc"
In the past I've recompiled with a different string when I get to the production location, but then I have to scramble to get my app reinstalled on all the tablets.
I'm trying to find a way to read a readonly (by the app) config file that I can set from outside the app using files or something to copy the config file to the correct location.
Is this possible? Or is there another way of doing the same thing?
Thanks,
Jim
Merry Christmas!!
I have an android app that connects to a MariaDB database via JRDBC2. The problem is that where I do the development and testing here at the house, the IP address of the server and database is different than the IP address where it is run in production. I use a variable to set the location:
Private const rdcLink As String = "http://192.168.1.222:17178/rdc"
In the past I've recompiled with a different string when I get to the production location, but then I have to scramble to get my app reinstalled on all the tablets.
I'm trying to find a way to read a readonly (by the app) config file that I can set from outside the app using files or something to copy the config file to the correct location.
Is this possible? Or is there another way of doing the same thing?
Thanks,
Jim
Merry Christmas!!