@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.legal); TextView legal = (TextView) findViewById(R.id.legal); legal.setText(GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo(this)); }
public boolean onOptionsItemSelected(MenuItem item) { // Handle item selection switch (item.getItemId()) { case R.id.menu_settings: Log.e("LO", "Cliccato Menu impostazioni"); GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo(this); return true; default: return super.onOptionsItemSelected(item); } }