Harsha
Harsha

Reputation: 400

How to call a remote method from android application

I want to call a remotely available java method from an Android application,Here can I use rmi for android application as well? Can anyone please help me on this.

Upvotes: 2

Views: 3401

Answers (2)

seanhodges
seanhodges

Reputation: 17524

I would first look at this question.

Depending on your requirements, you might want to look at the Intent system for IPC between apps on a device. A simple REST solution might be a better solution if you are looking to communicate with between apps on different devices.

Upvotes: 1

kosa
kosa

Reputation: 66657

It seems you can but there are disadvantages than advantages. Here are some discussion on this topic Android forums and SO discussion. If possible it is better to look for alternatives like web-services.

Upvotes: 1

Related Questions