hi,
I want to connect my andriod application that I've just created to oracle database in another server.. what is the best way to do it
I've looked for youtube video , but I didn't find anything helpful

Recommended Answers

All 2 Replies

The best way is to expose some kind of web service or API that your Android app can talk to. Directly connecting a mobile application to a database is not a good idea, you have so many connectivity issues to deal with that it becomes a nightmare to ensure data integrity.

I think also it's the only way. Because, android work only with sqlite as sgbd. So, if you want to use another sgbd you most implement a web service or API like said before.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.