> > I need
> > this as when an event of my C++ library arises, a method of Activity1
> > is called, and I need then to call a method of Activity2.
>
> It sounds like your JNI ought to be in a service, rather than either
> activity. You do not even know if Activity1 will be in memory while
> Activity2 is in the foreground.

I completely agree with you. Unfortunately I was looking for a faster
way to achieve an acceptable result, so I temporarily archived the
service solution.
Anyway, I can understand what I asked is not a good solution. Two
activities is not a good choice.
Thanks!

-- 
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

Reply via email to