[android-developers] Re: Sending/Receiving Java Objects to Server

2009-10-02 Thread sandreev
Hi Evan, I am pretty new to this area of programming. Can you please explain the way to connect to a database and retrieving the coulmns into Android's SQL database? Thank you in advance. Sandreev. On Sep 30, 6:46 am, Evan Ruff wrote: > That's a great question and something that I'm wondering

[android-developers] Re: Sending/Receiving Java Objects to Server

2009-09-30 Thread Evan Ruff
That's a great question and something that I'm wondering too. Perhaps there is an optimized version available that only does the simple encode/decode? FWIW, the Jackson JSON mapper that I'm using currently weighs in at 397kb. E On Sep 23, 11:44 pm, bseib wrote: > BTW, I just built theprotobuf

[android-developers] Re: Sending/Receiving Java Objects to Server

2009-09-23 Thread bseib
BTW, I just built the protobuf-java-2.2.0.jar file and noticed it is just over 300K in size. Anyone else using protocol buffers from an android device? Does it necessarily need to be so big, or am I missing some build param? It just doubled my application size. -broc On Sep 24, 7:09 am, "nEx.So

[android-developers] Re: Sending/Receiving Java Objects to Server

2009-09-23 Thread Joy
On Thu, Sep 24, 2009 at 4:11 AM, Evan Ruff wrote: > > You know, > > I would be awesome if we could get some sort of native C++ system > service to solve this issue. I don't really care WHAT the > implementation is, so long as it's blazing fast. > Hi Evan, Did you mean readObject/writeObject? T

[android-developers] Re: Sending/Receiving Java Objects to Server

2009-09-23 Thread Robert Green
I use JSON w/Ruby on Rails as my server. It works fairly well, though I did have to do a little rigging to get errors handled nicely. My vote is to keep going with JSON. All you really need to write is a toJSON() on the server side and fromJSON(JSONObject obj) on the client. It can get a littl

[android-developers] Re: Sending/Receiving Java Objects to Server

2009-09-23 Thread nEx.Software
You could try protocol buffers... http://code.google.com/apis/protocolbuffers/ On Sep 23, 1:11 pm, Evan Ruff wrote: > You know, > > I would be awesome if we could get some sort of native C++ system > service to solve this issue. I don't really care WHAT the > implementation is, so long as it's b

[android-developers] Re: Sending/Receiving Java Objects to Server

2009-09-23 Thread Evan Ruff
You know, I would be awesome if we could get some sort of native C++ system service to solve this issue. I don't really care WHAT the implementation is, so long as it's blazing fast. Is that even part of the Android thing? E On Sep 23, 4:07 pm, WoodManEXP wrote: > Evan, As far as I can tell t

[android-developers] Re: Sending/Receiving Java Objects to Server

2009-09-23 Thread WoodManEXP
Evan, As far as I can tell there is little support native to Android for what you are lookng for. It has good basic http communication support but not much higher level abstractions. That being said you could write a layer to do the serialization into a stream and then HTTP it to the server to be