![android studio aws postgresql android studio aws postgresql](https://static.javatpoint.com/kotlin/images/kotlin-android-studio-installation9.png)
Here is an example of how i made the anycodings_java connection from android studio (Kotlin) anycodings_java to the api: To make the Api i used node.js, express anycodings_java and sequilize, here is a link that anycodings_java explains how to do anycodings_java it: The answer is quite simple, just like anycodings_java said i needed to create a rest anycodings_java API (that is a backend website that anycodings_java connects directly with the database, anycodings_java then i send the data to the website and anycodings_java the site does the rest of the anycodings_java communication with the database) Url = String.format(url, host, port, database)
![android studio aws postgresql android studio aws postgresql](https://2.bp.blogspot.com/-0rJ0U-TxO7c/VfCZ9xYvrmI/AAAAAAAADRY/o9zL9EbQAsI/s640/sdk2.png)
Private val host = "i replaced this so i dont lose controll over the database*" // For Google Cloud PostgresqlĬonnection = DriverManager.getConnection(url, user, pass)Ĭ = DriverManager.getConnection(url, user, pass) Private var connection: Connection? = null Here is anycodings_android my JDBC attempt import The problem with jdbc is that console anycodings_android always printed "Connection failed" I will be eternally grateful I anycodings_android really need to do finish this project. I'm anycodings_android clueless about what to do nowĭoes anyone anycodings_android know how to connect an android app to anycodings_android PostgreSQL? I also have read about using some API, anycodings_android but I didn't understand how to do it I'm doing a project at school where I need anycodings_android to connect a website and my android app to a anycodings_android PostgreSQL database, I have tried to connect anycodings_android directly using JDBC, but it didn't work at anycodings_android all.