OK, I've copied in the RMI packages - most of it compiled without errors, but much of it requires reference to the sun... packages

sun.rmi.server.MarshalInputStream
sun.rmi.server.MarshalOutputStream

etc.

I'm currently looking around for source code for that. Searching via Google has not turned up anything yet. When I have time I'll have dig deeper into the Open JDK stuff and see if I can find any source code there.

Anyway, it's something to try. Thanks Mark for tip...

Cheers, Eric

Mark Murphy wrote:
Eric Kolotyluk wrote:
  
I know Android 1.0 does not come with RMI, but as a developer is there
a way to add RMI to an Activity/Application? If so, how would one go
about doing it? Details would be greatly appreciated.
    

As far as I'm concerned, you'll be better served switching to something 
more Internet-friendly. But, if you insist...

Your first step is to find an RMI implementation somewhere that you can 
get source to. GNU Classpath, the open JDK from Sun, etc. If you can't 
find one, see my first paragraph... ;-)

Then you add that RMI package to your app, compile, and pray there are 
no major dependency issues on other stuff. If there are, find those 
sources, add those to your app, lather, rinse, repeat.

Then, test it within an inch of its life, to make sure there aren't 
Dalvik-isms that cause RMI-on-Dalvik to behave differently than 
RMI-on-wherever-you-got-it-from.

At that point, you package up the RMI-on-Android stuff in its own JAR, 
put it on code.google.com, announce it here, and get anointed as a 
steely-eyed Android guy. :-)

  


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to