Code example for Activity

Methods: startActivity

0
         * intent.putExtra(INTENT_EXTRA_KEY_LONGITUDE, 23.12345f); 
         */ 
        intent.putExtra(INTENT_EXTRA_KEY_LATITUDE, (float) point.getLatitude());
        intent.putExtra(INTENT_EXTRA_KEY_LONGITUDE, (float) point.getLongitude());
 
        activity.startActivity(intent);
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE