picture gallery doesn't seem to work correct on the Android Intel Atom emulator (Android 2.3.3)

picture gallery doesn't seem to work correct on the Android Intel Atom emulator (Android 2.3.3)

Ritratto di ginolee

I am developing an app which, as part of its functionality, selects a picture from the picture gallery via Intents. The picture gallery shows up, but when I click on it to select a picture, it either doesn't respond or it restarts the picture gallery, or it goes into extended edit mode for the picture gallery (allowing you to delete picture, for example), but I am largely unable to simply select a picture.. I have actually spent a solid 20-30 minutes trying to select one picture unsuccessfully.
This same functionality works fine on all other emulators and devices I've tried it on (in the range of 6-12 emulators/devices), so I think it's a problem with the Android Intel Atom emulator itself. (I installed it using the Android SDK Manager).
Can someone look into it ? Thanks, Gino.

4 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di Alexander Weggerle (Intel)

Hi Gino, can you provide some sources to reproduce the problem? Even if you only have some snippets, that would really be helpful for us. Thanks,
Alex

Ritratto di JudLup Luna

hi, what is the ide that you wear for programmer android? eclipse or netbeans?

JudLup Luna
Ritratto di Ryan B

I know this is an old post, but I have recently come across this bug as well.  This is the code I'm using to launch the gallery intent.  On an arm emulator, everything seems to work, whereas on an x86 emulator, I get the same behaviour ginolee reported.

Hope this helps:

  private void loadImageFromDisk() {
    Intent loadFileIntent = new Intent(Intent.ACTION_GET_CONTENT);
    loadFileIntent.setType("image/*");

    startActivityForResult(Intent.createChooser(loadFileIntent, "Select File to Load"), LOAD_IMAGE_REQUEST_CODE);
  }

I thought there was something wrong with my original code, so I changed it to this, with the same result:

  private void loadImageFromDisk() {
    Intent loadFileIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);

    startActivityForResult(loadFileIntent, LOAD_IMAGE_REQUEST_CODE);
  }

 

Accedere per lasciare un commento.