Android - Pass Large Amount Of Data To Service Running On A Different Process
is there any possible way to pass a large amount of data into an Android Service that runs on a different process from the main activity? The data to pass is a byte array of around
Solution 1:
What about shared memory ashmem http://www.androidenea.com/2010/03/share-memory-using-ashmem-and-binder-in.html
Memory file is an ashmem wrapper http://developer.android.com/reference/android/os/MemoryFile.html
Or you could try opening a socket or ServerSocket in your service and connecting to it from your activity
http://developer.android.com/reference/java/net/ServerSocket.html
Post a Comment for "Android - Pass Large Amount Of Data To Service Running On A Different Process"