demo/src/com/socialize/demo/implementations/entity/GetEntityByKeyActivity.java
@Override
	public void executeDemo(final String text) {
		
		EntityUtils.getEntity(this, text, new EntityGetListener() {
			@Override
			public void onGet(Entity entity) {
				handleBasicSocializeResult(entity);
			}
			
			@Override
			public void onError(SocializeException error) {
				if(isNotFoundError(error)) {
					handleResult("No entity found with key [" +
							text +
							"]");
				}
				else {
					handleError(GetEntityByKeyActivity.this, error);
				}
			}
		});
	}
@Override
	public void executeDemo(final String text) {
		
		EntityUtils.getEntity(this, text, new EntityGetListener() {
			@Override
			public void onGet(Entity entity) {
				handleBasicSocializeResult(entity);
			}
			
			@Override
			public void onError(SocializeException error) {
				if(isNotFoundError(error)) {
					handleResult("No entity found with key [" +
							text +
							"]");
				}
				else {
					handleError(GetEntityByKeyActivity.this, error);
				}
			}
		});
	}
@ Override public void executeDemo ( final String text ) { EntityUtils . getEntity ( this , text , new EntityGetListener ( ) { @ Override public void onGet ( Entity entity ) { handleBasicSocializeResult ( entity ) ; } @ Override public void onError ( SocializeException error ) { if ( isNotFoundError ( error ) ) { handleResult ( "No entity found with key [" + text + "]" ) ; } else { handleError ( GetEntityByKeyActivity . this , error ) ; } } } ) ; }
/* (non-Javadoc)
@see com.socialize.demo.DemoActivity#executeDemo()
/ * ( non - Javadoc )