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 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

Reply via email to