DirectFB & Animated Gifs - directfb

How do I display animated gifs using DirectFB?

VideoProvider can make it.

Related

How to make simple control of MPMoviePlayerController

I'm making app using MPMoviePlayerController. This capture is pic of a my reference app. I want to make like red boxed part. - only Done button and progress bar. How can I make like this?
Can I solve thereby I add some options in MPMoviePlayerController or I add overlay view include some controls?
I can't find the good way. Please help!~ and Thanks!
You have to create your own controls, then add them to the overlay view...

Refreshing AFOpenFlow

I am creating a cover flow on iPad using AFOpenFlow library.
I am also providing a camera button in the view. If user captures any image and comes back to the previous view, the cover flow should be refreshed displaying the new image in it.
Any ideas how to do that?
The link provided by Alastair Stuart is nice but if you have implemented coverflow already then you can reset/refresh the coverflow by calling as follows:
if you want to refresh or set the coverflow to index 0 you can use following:
[(AFOpenFlowView*)coverFlow setSelectedCover:0 ];
if you want to reset coverflow use:
[(AFOpenFlowView*)coverFlow setNumberOfImages:0 ];
//reset cover flow.
[(AFOpenFlowView*)coverFlow setSelectedCover:(int)COVER_FLOW_RESET_INDEX ];
it will delete all the images in cover flow.
Try using iCarousel instead.

Image with gestures - phonegap

I'm making an application who needs to display a map, contained in a large image file (png). The user must be able to zoom in/out the image and drag it in order to scroll the image with touch gestures.
I'm not sure that you get it, but i want to display a single image as it would be displayed by the "Photos" iphone application.
I would like some hints about the best way to do it with those gesture and with a navigation header in order to leave the image view.
Thanks in advance if you can give me any help about this issue because I did not find any clue on the phonegap doc.
/ouss
Why don't you use the built inn components for this?
Sounds like you need to wrap an ImageView inside a ScrollView and a HorizontalScrollView, then rescale the image by handling onTouch-events.
Take a look at the MapKitPlug plugin:
https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/MapKitPlug
Good Luck!
I would use http://cubiq.org/iscroll-4 which has some really slick image zoom going on. You can also start loading new images after certain zoom levels for finer grains of quality.
I would suggest Child Browser phonegap plugIn.
It is very simple and easy to implement.
It supports loading page from a url as well as you can show any kind of images.(png, jpg, jpeg, bmp and gif)

image gallery code?

is there any code available for image gallery??
i want to make a gallery in which,first view will show thumbnails of images and on selecting any of the images,it will come up in full screen...something like dat?
suggestions are always appreciated.
regards
shishir

Create custom activity indicator in iPhone SDK?

I haven't found any references to apps that use a custom activity indicator -- would be an animated GIF old-school -- in place of the Apple-supplied spinning wheels. Are there facilities to do this (or subclass UIActivityIndicatorView), do developers roll their own UIViews, or does this violate HIG?
Thanks, IPD
Yeah, as Ed Marty mentioned UIImageView supports the animation of images. So look at this custom activity indicator tutorial to get an inspiration how you could achieve this in a very simple way.
Cheers
The UIImageView class supports animation. Try that.
Or you can use an animation to rotate the layer.
Here is an interesting post about how to do that :
http://www.cimgf.com/2008/10/25/core-animation-tutorial-slider-based-layer-rotation/
Hope this helps.
Thierry