Hello ,
After going through this thread I understood the following
Case 1:
Single application( Apk) with Activity and Service( set to run in a different process in the AndroidManifest.xml):
Activity can create a SurfaceView and send it to the service through AIDL Serivce can update the Surface.
Case 2:
Multiple applications: Activity( one APK) and Serivce( Another APK)
- Activity can't share the SurfaceView that it created to the Service. The only way for the Service to update the UI is by creating its own surface view.
Can any one confirm my understanding.
Appreciate if you can point me to the sample code that does Case 1 and Case 2.
Ajala