Gallery Picker Stub

Gallery Picker Stub


Gallery Picker / Image Chooser stub.

A gallery picker stub application for use with android automated testing (such as robotium).

When choosing to use this application as the default image chooser application, the application will behave just like any other android gallery app when returning an object - allowing you to easily include gallery testing within your automated testing.

The application will currently return one of 6 image URIs this is done by saving the images tot he SD card and placing the in the devices media store - then the URI of the selected image is returned(just as is done with any other gallery app when used). The app will loop through these 6 images iteratively, meaning a different picture will be used next time the application is called.

The application uses no GUI, as none is required - so it will not be noticeable that it is in use by the suite.

It has proved extremely useful to me, for example when using robotium you cannot control external applications (such as the android gallery chooser) - so as this application does not require any interaction and still behaves as a image chooser should, it allows for simple testing of any image picking functions within your application.

You shouldn't need to change any implementation of your application to get this to work, as it behaves in the same way as the android gallery picker application.

I have used this in a small testing suite, device it has been run on include:

- Samsung Galaxy Note 2
- Samsung Galaxy Note
- Motorola G
- HTC One
- HTC Desire
- HTC Sensation
- Samsung Galaxy S3
- Samsung Galaxy S4
- Samsung Galaxy S3 Mini
- Samsung Galaxy S4 Mini
- Nexus One
- Nexus 4
- Nexus 5
- Nexus 7 (Gen 1 & 2)
- Sony Xperia
- Motorola zoom

(Please note, the utility has only been tested with the use of an SD card in the phone)
Add to list
Free
87
4.4
User ratings
14
Installs
500+
Concerns
0
File size
265 kb
Screenshots
Screenshot of Gallery Picker Stub Screenshot of Gallery Picker Stub

About Gallery Picker Stub
Gallery Picker / Image Chooser stub.

A gallery picker stub application for use with android automated testing (such as robotium).

When choosing to use this application as the default image chooser application, the application will behave just like any other android gallery app when returning an object - allowing you to easily include gallery testing within your automated testing.

The application will currently return one of 6 image URIs this is done by saving the images tot he SD card and placing the in the devices media store - then the URI of the selected image is returned(just as is done with any other gallery app when used). The app will loop through these 6 images iteratively, meaning a different picture will be used next time the application is called.

The application uses no GUI, as none is required - so it will not be noticeable that it is in use by the suite.

It has proved extremely useful to me, for example when using robotium you cannot control external applications (such as the android gallery chooser) - so as this application does not require any interaction and still behaves as a image chooser should, it allows for simple testing of any image picking functions within your application.

You shouldn't need to change any implementation of your application to get this to work, as it behaves in the same way as the android gallery picker application.

I have used this in a small testing suite, device it has been run on include:

- Samsung Galaxy Note 2
- Samsung Galaxy Note
- Motorola G
- HTC One
- HTC Desire
- HTC Sensation
- Samsung Galaxy S3
- Samsung Galaxy S4
- Samsung Galaxy S3 Mini
- Samsung Galaxy S4 Mini
- Nexus One
- Nexus 4
- Nexus 5
- Nexus 7 (Gen 1 & 2)
- Sony Xperia
- Motorola zoom

(Please note, the utility has only been tested with the use of an SD card in the phone)

Visit Website
User reviews of Gallery Picker Stub
Write the first review for this app!
Android Market Comments
A Google User
Jan 27, 2014
Gallery