Wednesday, December 7, 2011

[android-developers] Re: Project that target to Android and Google API

Hi Mark,

Thanks for your response.

So, All I need to do is set the project target to Google API even
though I have few activities do not need implement MapActivity, right?

Cheers,
Samuel

On Dec 7, 11:19 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Wed, Dec 7, 2011 at 10:30 AM, Samuel <jrl...@gmail.com> wrote:
> > Is it possible to have a project that target to Android and Google
> > API?
>
> Yes.
>
> > The project have some activities that few of them use google map.
>
> Then you need to set your build target to be one with the Google APIs.
>
> > The target of main activity is Android. When I put google maps library
> > in the manifest file, I got error.
>
> And your error is... what?
>
> > If I don't put the library in the
> > manifest file, how to run activities that display mapview?
>
> You put the <uses-library> element in your manifest file.
>
> Here is a sample project demonstrating the use of Google Maps:
>
> https://github.com/commonsguy/cw-android/tree/master/Maps/NooYawk
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate