ESP8266 Enter ssid and password dynamically

Hello, I currently store the ssid and password in the EEPROM, but I always do it with Arduino IDE.

I want to take my inventions to my friend's house and configure the Wi-Fi network data without using the laptop and uploading the sketch again.

I want to write in the EEPROM through a cable and mobile (for example) with an app in Java or Kotlin.

Is it possible to do that ? Is there another way?

Look at:

for an alternative solution.

6v6gt:
Look at:

GitHub - tzapu/WiFiManager: ESP8266 WiFi Connection manager with web captive portal

for an alternative solution.

Thanks 6v6gt, I think I could use it