takyon wrote:
> Can I call an activity function like the following in the stub handler
> for the callback in my class S -
>
> private Callback mEventListener = new OperationCallback.Stub()
> {
> @Override
> public void handleOperationEvent(Payload payload)
>
> {
> B objB = new B(); // Is this valid? Since B is an activity.
No, that is not valid. Besides, there already is an instance of B. You
need your callback to know of the already-existing instance of B.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Consulting: http://commonsware.com/consulting
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en