hi
i new to android developer. how connect mysql web server database in android emulator. my web application database is connect by hibernate in struts2 application. so please help me and send some code for struts and android application code
hi
i new to android developer. how connect mysql web server database in android emulator. my web application database is connect by hibernate in struts2 application. so please help me and send some code for struts and android application code
You don't provide much detail so it's not really possible to help you but here are a few thoughts. If your application is a web application you don't connect directly to MYSql through Android, you need to talk to the web server. You can do this in several ways either having the user use the normal site through the browser on Android, create a special version of the site optimized for mobile devices that the user would access through Android's browser, or using web services. If you want to create an Android application instead of having the user use the actual site on their device you'll need to research web services, any functionality requiring database access such as adding a record or listing records will then need to be exposed through web services and called from your Android app.