“Durch langjährige Berufserfahrung in der Allgemein- und Intensivpflege verfügen wir über qualifiziertes Fachwissen.”
— Viktoria GmbH Ambulante Pflege & Betreuungsdienst
Pflege-News
Bewertungen
public void onPickButtonClick(View v) { // Construct an intent for the place picker try { PlacePicker.IntentBuilder intentBuilder = new PlacePicker.IntentBuilder(); Intent intent = intentBuilder.build(this); // Start the intent by requesting a result, // identified by a request code. startActivityForResult(intent, REQUEST_PLACE_PICKER); } catch (GooglePlayServicesRepairableException e) { // … } catch (GooglePlayServicesNotAvailableException e) { // … } } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == REQUEST_PLACE_PICKER && resultCode == Activity.RESULT_OK) { // The user has selected a place. Extract the name and address. final Place place = PlacePicker.getPlace(data, this); final CharSequence name = place.getName(); final CharSequence address = place.getAddress(); String attributions = PlacePicker.getAttributions(data); if (attributions == null) { attributions = „“; } mViewName.setText(name); mViewAddress.setText(address); mViewAttributions.setText(Html.fromHtml(attributions)); } else { super.onActivityResult(requestCode, resultCode, data); } }