Transaction and GlobalTransaction in surfaceFlinger

by xie » Thu, 25 Jun 2009 02:01:01 GMT

Sponsored Links
 Deal  all ~!~

Who can tell me what is the use of transaction and globaltransaction in
surfaceflinger ? And Why the settings of surface must between
OpenGlobalTransaction and CloseGlobalTransaction in
SurfaceComposerClient ?



Other Threads

1. Working on the formstuff samples and I am getting a error adding the EditText.

Working on the formstuff samples and I am getting a error adding the

This is the line I am getting a error one:
edittext.setOnKeyListener(new OnKeyListener() {

This is the error: Multiple markers at this line - OnKeyListener
cannot be resolved to a type - The method
setOnKeyListener(View.OnKeyListener) in the type View is not
applicable for the arguments (new OnKeyListener(){})


2. startActivity(ForResult) at Activity start (on/Create/Start/Resume) not working

I'am trying to start a child Activity with startActivity(ForResult)
when the main Activity starts. It doesn't work. If the child Activity
used Theme.Dialog it doesn't show up at all. With a normal Theme it's
displayed, but when I close the top child activity, a RuntimeException
is thrown:

ActivityThread.performResumeActivity(IBinder, boolean) line: 2851
ActivityThread.handleResumeActivity(IBinder, boolean, boolean) line:
BinderProxy(ActivityThread$H).handleMessage(Message) line: 1819
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4203
Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$ line: 791
ZygoteInit.main(String[]) line: 549
NativeStart.main(String[]) line: not available [native method]

There is no problem calling startActivity(ForResult) on a click or
menu selection. Should I use any intent flags?


3. How to create menu after user clicks a button or any other place in my View object?

4. How to create picasa app??

5. Anybody need a resource for cheap App Design?

6. Play Video resolusi 1280x720

7. Timeout in BroadcastReceivers using IntentServices