Back to project page android-grid-image-search.
The source code is released under:
MIT License
If you think the Android project android-grid-image-search listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.gemmakbarlow.gridimagesearch; //from w w w. j av a2 s.co m import android.app.Activity; import android.os.Bundle; import android.view.Menu; import com.gemmakbarlow.gridimagesearch.model.ImageResult; import com.loopj.android.image.SmartImageView; public class ImageDisplayActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_image_display); ImageResult imageResult = (ImageResult)getIntent().getSerializableExtra("imageResult"); SmartImageView ivImage = (SmartImageView)findViewById(R.id.ivResult); ivImage.setImageUrl(imageResult.getFullUrl()); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.image_display, menu); return true; } }