I am currently developing an android app and I am going to use MYSQL so the app can upload and download information. Basically, the app has a secure login process. In order to login, the user must create an account, which consists of username, email, password. Then users can upload and download both text and pictures to and from the server.
What are the pros and cons of using JDBC and a Webservice to connect to a DB in a mobile app? What are the differences between them?
Off the top of my head, my two main concerns are which one is better for efficiency (time and bandwidth) and security?