Hi i have my own hosting and i have created a database there in which i have two columns
host = "mysql.hostinger.in"
database = "mydatabase"
username = "myuser"
pass = "123"
TABLE = "Data"
'email' = column (TEXT)
'eligible' = column (INT)
now what i want to do is i need to contact my database to check if the email suppose "abc@xyz.com" is eligible ie. "1" means YES and "0" means NO
so how i connect to my database from android java any code snippet ? also is this require to put password for database to contact ? what if anybody decompile my application and get username and password then he can interfere which i do not want
- do not want to put my sqldatabase password to fetch the data how could i do that ,someone said i need webservice to do that i am not good with php