set link of model to string variable
i have build AR application. i want to load some object at specific marker, so i wanna set link of model into variable there i can load it at another class. some code that i've been build like this

    public void onListItemClick(ListView l, View v, int position, long id) {
		super.onListItemClick(l, v, position, id);
		Item item = (Item) this.getListAdapter().getItem(position);
		final String str = item.text;
		String typemodel_1;
		String typemodel_2;
		String typemodel_3;
		if(str.equals(getResources().getString(R.string.download))) {
		}
		else if(str.equals(getResources().getString(R.string.instructions))){
			startActivity(new Intent(ModelChooser.this, InstructionsActivity.class));
		}  
		else if(str.equals(getResources().getString(R.string.launch))){
		   	Intent intent = new Intent(ModelChooser.this, AugmentedModelViewerActivity.class);
			intent.putExtra("name1", typemodel_1);
			intent.putExtra("name2", typemodel_2);
			intent.putExtra("name3", typemodel_3);
            intent.putExtra("type_model", AugmentedModelViewerActivity.MODEL_1);
            intent.setAction(Intent.ACTION_VIEW);
            startActivity(intent);  
		}
		else{
			AlertDialog alertDialog = new AlertDialog.Builder(this).create();
			alertDialog.setMessage("Set Marker");
			alertDialog.setButton("Marker 1", new DialogInterface.OnClickListener() {
				public void onClick(DialogInterface dialog, int which) { 
						typemodel_1 = "file:///sdcard/myfolder/"+str+".obj"//set link of a model to string variable typemodel_1
			      } });
			alertDialog.setButton3("Marker 2", new DialogInterface.OnClickListener() {  
			      public void onClick(DialogInterface dialog, int which) {
						typemodel_2 = "file:///sdcard/myfolder/"+str+".obj"//set link of a model to string variable typemodel_2
			      } });
			alertDialog.setButton2("Marker 3", new DialogInterface.OnClickListener() {  
			      public void onClick(DialogInterface dialog, int which) { 
						typemodel_3 = "file:///sdcard/myfolder/"+str+".obj"//set link of a model to string variable typemodel_3
			      } });
			// Set the Icon for the Dialog
			alertDialog.show();
		}
	}

sorry if my english not so good,thank u.
set link of model to string variable
===

i have build AR application. i want to load some object at specific marker, so i wanna set link of model into variable there i can load it at another class. some code that i've been build like this

    public void onListItemClick(ListView l, View v, int position, long id) {
		super.onListItemClick(l, v, position, id);
		Item item = (Item) this.getListAdapter().getItem(position);
		final String str = item.text;
		String typemodel_1;
		String typemodel_2;
		String typemodel_3;
		if(str.equals(getResources().getString(R.string.download))) {
		}
		else if(str.equals(getResources().getString(R.string.instructions))){
			startActivity(new Intent(ModelChooser.this, InstructionsActivity.class));
		}  
		else if(str.equals(getResources().getString(R.string.launch))){
		   	Intent intent = new Intent(ModelChooser.this, AugmentedModelViewerActivity.class);
			intent.putExtra("name1", typemodel_1);
			intent.putExtra("name2", typemodel_2);
			intent.putExtra("name3", typemodel_3);
            intent.putExtra("type_model", AugmentedModelViewerActivity.MODEL_1);
            intent.setAction(Intent.ACTION_VIEW);
            startActivity(intent);  
		}
		else{
			AlertDialog alertDialog = new AlertDialog.Builder(this).create();
			alertDialog.setMessage("Set Marker");
			alertDialog.setButton("Marker 1", new DialogInterface.OnClickListener() {
				public void onClick(DialogInterface dialog, int which) { 
						typemodel_1 = "file:///sdcard/myfolder/"+str+".obj"//set link of a model to string variable typemodel_1
			      } });
			alertDialog.setButton3("Marker 2", new DialogInterface.OnClickListener() {  
			      public void onClick(DialogInterface dialog, int which) {
						typemodel_2 = "file:///sdcard/myfolder/"+str+".obj"//set link of a model to string variable typemodel_2
			      } });
			alertDialog.setButton2("Marker 3", new DialogInterface.OnClickListener() {  
			      public void onClick(DialogInterface dialog, int which) { 
						typemodel_3 = "file:///sdcard/myfolder/"+str+".obj"//set link of a model to string variable typemodel_3
			      } });
			// Set the Icon for the Dialog
			alertDialog.show();
		}
	}

sorry if my english not so good,thank u.