Running an activity inside an activity?

So the way I was trying to solve it wasn't googd.

So the way I was trying to solve it wasn't googd. I added a method onConfigurationChanged() to my lib. That way, people using it will have to call this method from their activity.

Problem solved!

You need to define in your manifest that the activity handles the onConfiguratoinChange and then define it in your code. You can check out the Google docs here for an example. developer.android.com/guide/topics/resou....

Thanks for your reply. But as I pointed out in my question, I don't have any activity in my library. Only a custom view.

I'd like to start an activity from it but how can I do that without having this new activity to run on top of the activity of application using my lib? – eFyx Oct 26 at 19:44 @eFyx - Have you tried implementing this as a service or is that not applicable for your situation? – Carth Oct 26 at 19:52 No it's not applicable for my situation.

– eFyx Oct 26 at 20:28.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions