I want to develop a native application targeting Android 4.0.4. A android application will run on a android device but its display and control will be shown on another device.
To achieve this i want to understand how the android application generates its display surfaces, how those surfaces are passed through the binder to SurfaceFlinger and how those are displayed on the screen.
Please can anyone help me with what methods, and which native libraries should i use to achieve the above functionality.?
Thanks
What you are trying to achieve is not trivial.
You cant use the surface completely by its own for such a task (unless you really only care about the fb itself, and willing to sacrifice performance), but you can actually live without it.
A couple of helpers:
Master the EventHub
And have a good look at the native canvas (SKCanvas ).
The HW accelerated canvas behaves differently, and there are some tricks with the webkit/later chromium ones.
Note that a lot has changed since 4.0.4, so if you dont need high performance I would recommend you just install a vnc server on one of the devices, and customize a vnc client on the other one.
There are open source projects for both.
-Ron Munitz
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
--