Nik
Nik

Reputation: 3133

Using Google Maps in fragments with compatibility android support libs for android

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

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

  2. I also want to resume the fragment with it is called...

Upvotes: 0

Views: 5046

Answers (2)

Nik
Nik

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

Frohnzie
Frohnzie

Reputation: 3569

Have you tried using Action Bar Sherlock? http://actionbarsherlock.com/

Upvotes: 0

Related Questions