Questions tagged [gallery]

Gallery is a collection of photos in a software system

A photo gallery is a GUI allowing users to view pictures from their local file system or network shared files. Galleries usually include features to manage and edit files, as well as print or upload them. Often times galleries allow the user to click arrows on the left and right edges of the viewer to select the previous and next photos within the files. There are many different photograph viewing programs available for multiple operating systems.

3768 questions
18
votes
1 answer

"The type Gallery is deprecated", Whats the best alternative?

I was really surprised that such a Widget gets deprecated. I want a simple gallery that scrolls left and right, shows a picture on the whole Activity screen, and most important is that you cant swipe more than 1 image in any direction, even if the…
Omar
  • 7,835
  • 14
  • 62
  • 108
17
votes
5 answers

iOS 11: [ImageManager] Unable to load image data

After update to iOS 11, photo assets now load slowly and I get this message in console: [ImageManager] Unable to load image data, /var/mobile/Media/DCIM/103APPLE/IMG_3064.JPG I use static function to load image: class func getAssetImage(asset:…
Bio-Matic
  • 793
  • 1
  • 8
  • 20
17
votes
2 answers

Android Gallery with pinch zoom

I found a sample project of gallery with pinch zoom and made some bug fix. You can download my code at here It supports full screen only. It always center the image to screen height. But I want to put a header view to the top of the screen and make…
mobile app Beginner
  • 1,651
  • 3
  • 26
  • 40
16
votes
2 answers

Centering floating list items
  • inside a div or their
  • HTML:
    • .....
    I'm coding a simple gallery page by creating unordered list and each list…
    Sam
    • 325
    • 2
    • 3
    • 9
    16
    votes
    6 answers

    How to create an app image folder to show in Android gallery

    I have an app where the user creates an image and then I want to save it so it's visible form the default gallery application. Now I don't want the pictures to be saved in the same folder as the pictures taken from the camera, I want them to be…
    Nemesis
    • 1,138
    • 1
    • 14
    • 29
    16
    votes
    4 answers

    How may I check if my app has access to phone gallery

    I have an app in which I take a picture with the camera and store that image into the native gallery. But if the app doesn't have permission for that, I want the user to know that. So how do I check it? By the way: I store the image into the gallery…
    gabrjan
    • 3,080
    • 9
    • 40
    • 69
    15
    votes
    4 answers

    Android ICS emulator camera

    I am trying to get a look at the Gallery application in ICS, using the emulator. So, I launch an AVD and snap a couple of pictures with the Camera then launch the Gallery. When I click any collection in the Gallery, I get an error, "Unfortunately,…
    15
    votes
    6 answers

    Android horizontal scroll list

    Possible Duplicate: Horizontal ListView in Android? I want horizontal scroll like Gallery. Im not using Gallery because its center locked. Can some one here would help me out with this So I can have horizontal scrolling list? I think best example…
    Umakant Patil
    • 2,227
    • 6
    • 32
    • 58
    15
    votes
    1 answer

    onDraw() on View draws behind the layout

    Ok, here's the deal. I want to move items in my extended gallery class to change the order of images. The way i'm doing it now: on long press remove the current selected item, use onDraw() to draw the same image so i can move it around using…
    Nick
    • 1,733
    • 1
    • 14
    • 24
    15
    votes
    3 answers

    Creating a custom Gallery - overriding onFling

    So, I've followed this particular thread (How to stop scrolling in a Gallery Widget?) yet I am unable to get it to work properly. I've created a custom MyGallery class extending Gallery. I've added the code in the link above...am I supposed to add…
    user560837
    • 153
    • 1
    • 1
    • 4
    14
    votes
    3 answers

    Android get only image from gallery

    I’m trying to get an image using the built in gallery. It works fine in the emulator and It opens only gallery but on real device it give me multiple chooses one of them is file manager which enable me to choose any type of files even apk files of…
    mrl25
    • 139
    • 1
    • 1
    • 6
    14
    votes
    3 answers

    Gallery ImageAdapter convertView is always null

    I am using a Gallery with an ImageAdapter to load it with ImageViews that pull images out of my resources. My problem is that the convertView that gets passed to the getView() method in my adapter is always null. This means that a new ImageView is…
    FoamyGuy
    • 46,603
    • 18
    • 125
    • 156
    14
    votes
    1 answer

    List all camera images in Android

    How do you get a list of all camera images of an Android device? Is it through the MediaStore? How?
    hpique
    • 119,096
    • 131
    • 338
    • 476
    14
    votes
    11 answers

    Unpacking the update... Could not create directory. Wordpress

    When I instal nextgen-gallery plugins. This error message appears Downloading update from https://downloads.wordpress.org/plugin/nextgen-gallery.zip… Unpacking the update… Could not create directory. How can I fix this problem ?
    BigTech
    • 460
    • 6
    • 11
    • 22
    14
    votes
    3 answers

    How to open music picker?

    In my application, I want to make a picker that offers the user the choice to pick a music. I want to use the native android picker. I used the following code to open the native android music picker: final Intent intent2 = new…
    Jean-Simon Vaillant
    • 283
    • 1
    • 5
    • 14