8

When selecting image from gallery activity again created for some images

view full story
linux-howto

http://stackoverflow.com – Below is my code for selecting images from gallery. The problem is after selecting an image, activity is again created for some images, in some devices. In some devices it is working properly. @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Log.d("ImageGalleryDemoActivity", "oncreate() "); Button buttonLoadImage = (Button) findViewById(R.id.buttonLoadPicture); buttonLoadImage.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View arg0) { (HowTos)