I want to connect to oracle database from android simple login I want use only Rest web service Json . I dont want to use PHP.
How can i do that Please give more examples! Thanks
In android, the latest way of making a network call is by using google's own volley library. But you will have to make a web service using PHP/Java and the easiest way to make a web service is by using PHP.
In your android studio you will just use the volley library and make a call to the webservice which will intern fetch data from the database and send you the response in the form of a JSON or your custom model class.
Below are the links that might help you:
To use the database you have to use the Web service, otherwise the security of your database will be lost. Here you can learn about web services in Java
I you wanna use AspNet, then I suggest you use AspNet Web API (samples can be found at Asp Net WebAPI) for server-side.
Android login sample: refer my answer at How to use security (Authentication & Authorization) in ASP Web Api
Hope this help!