Thingse/app/src/main/java/com/daneshzaki/thingse/ViewSomething.java
//call ViewFullScreen Activity to view thing full screen
call ViewFullScreen Activity to view thing full screen
call ViewFullScreen Activity to view thing full screen
public void viewThingFull(View v)
	{
		Log.i("ViewSomething", "*** viewThingFull ***");
		if(bundle.getString("picLocation")== null || bundle.getString("picLocation").trim().length() == 0)
		{
			Toast.makeText(getBaseContext(), "No pic associated with this thing", Toast.LENGTH_SHORT).show();
			return;
		}
		Intent viewFullIntent = new Intent(this, ViewFullscreen.class);
		Log.i("ViewSomething", "*** viewThingFull intent created");
		viewFullIntent.putExtra("thing", bundle);
		Log.i("ViewSomething", "calling ViewFullScreen class with bundle="+bundle);
		startActivity(viewFullIntent);
	}
public void viewThingFull ( View v ) { Log . i ( "ViewSomething" , "*** viewThingFull ***" ) ; if ( bundle . getString ( "picLocation" ) == null || bundle . getString ( "picLocation" ) . trim ( ) . length ( ) == 0 ) { Toast . makeText ( getBaseContext ( ) , "No pic associated with this thing" , Toast . LENGTH_SHORT ) . show ( ) ; return ; } Intent viewFullIntent = new Intent ( this , ViewFullscreen . class ) ; Log . i ( "ViewSomething" , "*** viewThingFull intent created" ) ; viewFullIntent . putExtra ( "thing" , bundle ) ; Log . i ( "ViewSomething" , "calling ViewFullScreen class with bundle=" + bundle ) ; startActivity ( viewFullIntent ) ; }
call ViewFullScreen Activity to view thing full screen
call ViewFullScreen Activity to view thing full screen
//do not open full screen if there is no image //show Toast //create an intent and add the bundle to it