I want to make a web service for android application and only accepts every request that come from my application not other applications like jquery in web and other android applications
anyone can help?
You have to make webservice with some web based technologies such as ASP.NET or PHP. Host it on a server and code your android application webservice calling
then use some header or parameter that will identify your app. Like is there is an apiKey=thisisreallymyapp parameter in each request, then it is your app.
Build a Simple REST API for Mobile Applications using PHP or .Net.. PHP such Laravel already have API configuration and REST APi Authenticate in it can be simply setup..
apiKey=thisisreallymyappparameter in each request, then it is your app.