MapView in SDK 1.5

by Vince » Sun, 03 May 2009 23:59:38 GMT


Sponsored Links
 Hi all,

I've just downloaded the Cupcake SDK. I'm afraid I can't find MapView
anymore... Any help?

Thanks
--~--~---------~--~----~------------~-------~--~----~



MapView in SDK 1.5

by Mark Murphy » Mon, 04 May 2009 00:11:11 GMT


 


I'm not sure what you mean by "can't find".

In the SDK Reference Guide, there is:
 http://developer.android.com/guide/topics/location/index.html 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


MapView in SDK 1.5

by Mark Murphy » Mon, 04 May 2009 00:12:29 GMT


 Sigh. Sent that reply a wee bit early. Let's try this again...




 http://developer.android.com/guide/topics/location/index.html 

This leads you to:

 http://code.google.com/android/add-ons/google-apis/ 

There you can get reference documentation on it.

If by "can't find", you mean your code is not finding things, you need
to have an AVD and project both targeting "SDK level 3".

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~



MapView in SDK 1.5

by Raphael » Mon, 04 May 2009 02:50:18 GMT


 



More precisely, you need an AVD and a project that reference the
"Google Apis level 3" addon, which contains maps. If you just use the
"Android 1.5" target, you won't have maps.

R/

--~--~---------~--~----~------------~-------~--~----~



MapView in SDK 1.5

by Vince » Mon, 04 May 2009 15:25:18 GMT


 Thanks Mark & Raphael,

By "can't find it" I meant that I could not find MapView in the SDK
reference accessible through ./docs on my computer :-) After making a
simple search, I found it in ./add-ons which corroborates what Raphael
just said. I know what to do ;-)!

Thanks again
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. raw mic data range

I don't see it written on the documentation, so could anyone tell me
what can I expect as min-max range of value when reading raw audio
data from the microphone?
I am reading shorts, pcm16bits. can I expect the range to be [0:2^16]?
the mean, I have something like 40. And when I blow on the mic I have
something around 8000-10000.

Any data/comments are welcome.
Thanks.

-- 

2. Not able to get Street Intersection addresses

In my work, I've to store some addresses and display them on the map.
Some addresses we get are street intersections. GeoCoder does not give
any addresses for street intersections. For example, the following
does not work.

addresses = geoCoder.getFromLocationName( "Broadway and 42nd, New
York, NY", 1);

Are there any alternative to use geoCoder for such lookups? Am I doing
anything wrong?

Appreciate your help.

-- 

3. Can key presses be intercepted when the device is sleeping?

4. getApplicationContext() & AlertDialog.Builder

5. Gestures and underlying views

6. How to receive and read an Email

7. JSR 268, Mc-EX, GSE Secure Element Evaluation Kit