0

I am modifying a part of code of Android OS, where I am stuck at a requirement where my client outside to the android system needs to call a method using ip address: of android emulator or device. Like say

Android has method say GetTime() listening to the requests on port 10000 So my client (outside Android env) should be able to call that method using ip and port.

Is it possible and if yes where i could find the resources ??

Akshay Deo
  • 528
  • 1
  • 6
  • 22

1 Answers1

2

I don't think you should be modifying Android OS for this purpose. Just write a user space application either as a normal Android App using ServerSocket, or if you think Android's Dalvik VM Java will be restrictive for you, you can write a native app in C/C++ using Android's NDK.

sharjeel
  • 5,825
  • 7
  • 34
  • 49