Reputation: 3133
I want to use google maps as one of the fragments of many. I found no other way then the one mentioned in the following way...
https://stackoverflow.com/a/8126287
and I was successful But now I have 2 problems
I want to call a public method of the MyMapActicity(MyMapActivity is created as mentioned in the link given above) from another fragment. i.e. e.g. if I have fragmentA as some other fragment and MapFragment as a fragment related to MyMapActivity(created with help of above link) then I want to call a method from MyMapActivity from FragmentA. How do I do this.
I also want to resume the fragment with it is called...
Upvotes: 0
Views: 5046
Reputation: 3133
I got my answer at:
https://stackoverflow.com/a/8126287
The link also provides a very nice example to follow. As I have only one activity this worked for me.
Upvotes: 1
Reputation: 3569
Have you tried using Action Bar Sherlock? http://actionbarsherlock.com/
Upvotes: 0