[Solved] What is the best way to have only single database connection throughout whole android app life?
[ad_1] THere is no way, not how you’re doing it. You’re making individual HTTP connections for each request. Unless your webserver only maintains a single instance of a database connection for all requests, its going to create new ones for each request (this would also mean your website only has a single server- in other … Read more