• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Remote database connection

assistant

Lurker
Hi,

How to encapsulate multiple data (multiple database rows - images, strings etc.) when sending it from a server side (servlet, asp page etc.) to be able to read it and show it in android application??

Thanks in advance.
 
XML? Custom data that is tab and/or CR/LF delimited?

Of course your binary info would need to be ASCII'ed.

I've used both strategies and either should work just fine.
 
BobPaul, thanks for your reply.

I've decided to send data as text - string with delimiters. For binary type data (images) I'll use Base64 coding.

Just another quick question: I've used servlets to manage connections between mobile phone and remote database. Now I need to do the same thing in ASP.NET but I'm a little bit lost since I'm new in ASP.

Any guideline, help, tutorial on that subject?

I've been doing research on my own but still heaven't found what I'm looking for.

Best regards.
 
BobPaul, thanks for your reply.

I've decided to send data as text - string with delimiters. For binary type data (images) I'll use Base64 coding.

Just another quick question: I've used servlets to manage connections between mobile phone and remote database. Now I need to do the same thing in ASP.NET but I'm a little bit lost since I'm new in ASP.

Any guideline, help, tutorial on that subject?

I've been doing research on my own but still heaven't found what I'm looking for.

Best regards.

I don't know anything about ASP.NET but one cool thing about using HTTP/HTTPS is that your clients and servers are relatively agnostic about what language each other is written in.
 
Back
Top Bottom