As opposed to 0.9, in 1.5 (and later), the Maps API is separated from the Android SDK. You need to include that explicitly, or packaged with the SDK. Documentation here: http://code.google.com/android/add-ons/google-apis/maps-overview.html
On Nov 10, 3:28 am, IPEG Student <[email protected]> wrote: > Hello > > btn.setOnClickListener(new View.OnClickListener() { > public void onClick(View view) { > String _lat=lat.getText().toString(); > String _lon=lon.getText().toString(); > Uri uri=Uri.parse("geo:"+_lat+","+_lon); > > //Uri smsuri = Uri.parse("content://sms/inbox/12"); > > startActivity(new Intent(Intent.ACTION_VIEW, uri)); > } > }); > > This code is not running in android-sdk1.5 but in 0.9 . Please give me > appropriate code . I want to display the google map. > Thanks in advance. > > Suman Ganguly. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

