That is correct. A few more details for everyone.
Maps is not bundled on the default Android 1.5 System Image bundled with the SDK. Because your app doesn't actually use the Maps API (ie doesn't have <uses-library> with maps), it will install on devices that do not have Google Maps. Therefore: - You should use the System Image provided with the "Google APIs" to do your testing where you want Maps to be present. In the 1.5 SDK, the target id for this add-on is 3. This may change once you add/remove platforms/add-on, so it's best to always do a "android list target" to find the proper target id. - You should also test using the default system image that does not have Maps. This will simulate devices that may run your applications but don't have Maps. Basically, you should catch the exception and properly handle it with user feedback. If your application absolutely need maps, you could add the <uses-library> tag (even though you don't use the Maps API). This will make sure your app only install on devices with Maps. Xav On Thu, Apr 30, 2009 at 3:17 PM, agirardello <andrea.girarde...@gmail.com> wrote: > > Create a new AVD with: > > android create avd -n my_androidMAPS -t 3 > > and then use it while running your app! > > ;) > > > > > > On Apr 30, 1:14 pm, agirardello <andrea.girarde...@gmail.com> wrote: >> I have the same problem!!! >> >> Any help? >> >> On Apr 29, 6:55 pm, khose <marcos.hdez....@gmail.com> wrote: >> >> > Hello! >> >> > I'm migrating my app from 1.1 to 1.5. It works right but i get a >> > problem thowing a new intent which used to open a Geo URI in google >> > Maps. I think that it must be related with the fact of Gmaps not beign >> > included as part of the core. Is there any way to solve it or change >> > it if i want to keep the track of 1.1?? >> >> > This is the code: >> >> > Intent mapsIntent = new >> > Intent(Intent.ACTION_VIEW); >> > mapsIntent.setData(Uri.parse("geo:0,0?q=" >> > + address + "&z=19")); >> > startActivity(mapsIntent); >> >> > This is the throwed exception... >> >> > android.content.ActivityNotFoundException: No Activity found to handle >> > Intent { action=android.intent.action.VIEW data=geo:0,0?q=Av. Príncipe >> > de Asturias,........} >> >> > Thanks! >> >> > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---