Does anyone have a Google Maps solution for MonoDroid? To make it work, we need to inherit from MapActivity (com.google.android.maps).
I see on the MonoDroid Roadmap that this feature is coming to MonoDroid 1.1, but there's no release date yet.
At this time, the maps API is not already bound for you. You will have to do the binding yourself. An example is available here:
https://github.com/xamarin/monodroid-samples
Since the previous post, they have now bound the google maps in the latest release. Download the latest API from xamarin and an example is here:
https://github.com/xamarin/monodroid-samples/tree/master/MapsDemo
Related
Is there a way to get the photos associated with a Place through the Google Play Services? For what I have seen, the only way to do this as of August 2015 is through their Web API.
Well, there isn't any way to do that as of August 2015.
This is now possible thanks to version 23 of Google Play services, which came out recently. See an example of this being used natively in Android here. Here's another SO question for reference.
I'm a new Android developer, I recently encountered a problem on updating my app to Android 5.0. Same issue here: Android 5.0 (L) Service Intent must be explicit in Google analytics
According to that solution, I'm gonna updating from google analytics V2 to V4 (google play service). But the painful part is seems for every page, I need to change the tracking code. There are around 30 pages(activities and fragments) in my app, this is really not scalable, and easy to make regression bugs.
I was wondering is there any better way to do the migration? Thanks.
I created a small class, it's have same siganture of v2 in the body it's call a v4 methods, you can check it at my
gist
I'm confused with this fact, and I think some feature must require
getActionBar()
and this function requires a min SDK of 11, but how can Google make those features possible?
I wonder Google may use ActionBarSherlock, is this just the reason?
But there is no mention of using it, but how can Google do this?
Thanks for your answering.
Google is actually working on ActionBarCompat . It's basically a ActionBarSherlock from Google.
I suppose they are testing this in some apps already since they said at Google I/O that it is in an advanced state of development. I think they will release this in the next few months.
but how can Google make those features possible?
They made their own action bar, presumably.
I wonder Google may use ActionBarSherlock, is this just the reason?
You are welcome to get a job with Google, attempt to join the Google Shopper team, and ask them.
And have anyone ever use ActionBarSherlock on Android 2.2, plz tell me if it can make things just as well as ActionBar?
ActionBarSherlock definitely supports Android 2.2.
I wonder if anyone has documentation on how to implement Google Maps v2 on Android Studio, the official documentation does not explain this.
Thanks in advance.
Well these steps worked good to me
First, update the version of your android studio to version 0.5.4 or later
Second, make the project as you want only recommend you to create at least 17 API for Google Maps V2 run with no problem and select Google Maps Activity
Third, the good thing about this update is that Android Studio in Manifest.xml and Activity are already configured to do the test directly
Fourth, do not forget to configure and enter your own api_key
Fifth: I recommend to you use Genymotion to test your apps with maps, the emulator is much easier to manage, faster and easier to install Google Play Services
http://www.genymotion.com/
http://www.youtube.com/watch?v=iCRNqCXGNK0
If I've already started an Android 2.3.3 platform and I have lots of code, how do I add a google map to my application? Do I really need to have the Google API? What is the difference?
I've added this to my manifest
<uses-library android:name="com.google.android.maps" />
Is this enough? I tried extending my class with MapActivity but doesn't work.
Do I even need this?
Thanks
Simply put, yes, you need the Google API version.
The reason for this is that the stock Android API does not come with the functionality such as Google Maps (and others, but I can't think of any at the moment).
This is the reason why, even though you added a reference to the library, your project is failing to compile. It simply can't find the library as it's part of the Google Apis.
Just change your build target to the Google API version of 2.3.3, and you should be fine. All other Android functionality is present in it, along with some other useful things so it's always a wise decision to use the Google API version by default. In my opinion at least, please correct me if there are downsides to doing this.