MapActivity

marcel

Active Member
Licensed User
Longtime User
Hi,

I would like to implement google maps. But what I understand I need a MapActivity? I cannot choose this from B4A. Is this a planned in next releases? Or can I do this on another way?

I could use the webview and use the javascript api but I prefer to use the Mapview and MapActivity.
 

warwound

Expert
Licensed User
Longtime User
Good news...

The Google Maps Android API v2 has just been released: https://developers.google.com/maps/documentation/android/.


There is no longer a need for a B4A MapActivity, BUT there is a need for a B4A MapFragment and whatever other related classes.

Support for Fragments is already a popular new feature request for B4A, we're one step closer to being able to add an Android MapView to a B4A project.

Time to research more - i need a crash course on Fragments.

Martin
 
Upvote 0

marcel

Active Member
Licensed User
Longtime User
I would be very glad if this could be implemented. I have know made a webview with some javascript....

Would be very nice if you are willing to do this..... :sign0060:
 
Upvote 0

warwound

Expert
Licensed User
Longtime User
Well i have no experience of Fragments, i've read a few tutorials but not yet had a need to write any code using them.
Fragments though seem to be the way of the future - an essential part of a modern android app designed to be compatible with all possible screen sizes.

B4A has no support for Fragments though and that could be as big a problem as there being no B4A support for MapActivity.
BUT i'd bet that Erel is more likely to (at some point in some future update) add support for Fragments to B4A.

As with all updates and possible new libraries - it's all constrained by the amount of time the developer has to spare to spend on the update or library.

Martin.
 
Upvote 0

marcel

Active Member
Licensed User
Longtime User
As with all updates and possible new libraries - it's all constrained by the amount of time the developer has to spare to spend on the update or library.

Yes, I know. So I will see it when it get's here
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…