Vlad
Vlad

Reputation: 910

Android application interacting with a server

Ok so, I know the question is pretty much google-able and I did google it and found out a few answers ,so I am not asking this question knowing completly nothing.

So, I have an application (Cannot specify much about what it does or is or so...) and I need to get some data from a database.

As far as I know, the Volley is the best way to go ,but I am still looking for more details.

Could anyone tell me which is the best way to go?

NOTE: I am NOT looking for code,I am looking for methods.A name would sufice ,as I can do the digging myself.Eventually links to documentations would be awesome, but again, I can find documentations.I just need to know which is the fastest way and the most optimized.

Upvotes: 0

Views: 57

Answers (1)

sdevikar
sdevikar

Reputation: 437

Based on your comment, it looks like there are two different aspects to your application:

  1. Sending out the HTTP requests from your client- i.e. your android app
  2. Processing and sending the response to these requests on the server side, by setting up a web service

Looks like you have part 1 figured out. Note that, volley is a library, similar to android HTTP library, but optimized for faster networking.

For part 2, unless you're planning to use embedded database like sqlite, you'd need to learn about writing web services to provide database access. Spring Data JPA is one of the many ways to do it.

I hear Parse is great too, but not free.

Upvotes: 1

Related Questions