Making a slide show from the photo library

You must Login before you can answer or comment on any questions.

I am trying to do something that I thought would be simple

I want to do a slide show that goes through the images in the iPhone photo library (without showing the thumbnail picker). Just open the slide show and have cycle through the images full size.

2 Answers

See the code below

var css =     {
        backgroundColor : '#FFFFFF',
        type : 'ImageView',
        images : [],
        duration : 1000,
        repeatCount : 0
};
 
var slideShow = Ti.UI['create' + css.type](css);
 
var images = ['1.jpg,', '2.jpg'];
slideShow.images = images;
 
slideShow.start();

— answered 9 months ago by Jiale He
answer permalink
1 Comment
  • That makes a nice slide show of images bundled with the app but what I want to do is make a slide show using the photo library on the iPhone without having to invoke the thumbnail viewer.

    — commented 9 months ago by raul silva

  • read from libraryvia api and put the images in array
  • create a scrollable view and put images into
— answered 9 months ago by Rainer Schleevoigt
answer permalink
1 Comment
  • How do I read from the library using the API?

    Should I use Titanium.Media?

    The API for Titanium.Media shows no methods for getting images from within the library that I can see.

    — commented 9 months ago by raul silva

Your Answer

Think you can help? Login to answer this question!