How to build a "virtual zippo" app? - iphone

You probably all know the famous virtual zippo app.
I thought of making such an app too, just for learning objective-c.
THe developer said he has used a video of flame.
How is it possible to play a video inside a UIView?
DO you have any ideas of how to achieving that?
Thanks in advance!

I don't know about a video inside a UIView, but you can use an UIImageView and animate a series of images with it. Here's how.

Related

Panoramic view creation from iphone

I have a iPhone app requirement to create a 3D panaromic view. Users can take photos from their phone and convert it to panoramic view.
what is the good way to do this ? any libraries available for this?
Help is highly appreciable,
Thanks,
Use PanoramaGL Library.Its very good library and very easy to integrate.
You can find it on,
https://code.google.com/p/panoramagl/downloads/list

iOS : Getting screenshot

Guys I'm looking for the way to retrieve the application screenshot by mean other than CoreGraphics.
I know that Apple has recommended to do it using CoreGraphics here
But I have an issue by doing so when drawing on UIView using UIBezierPath which I've described it here.
So does anyone know any alternative of getting the screenshot of the application by means other than CoreGraphics?
That is pretty mush the only way, but if really can't try guiding the user into pressing the home and power button at the same time.

iPhone SDK - Expanding Buttons like in the camera app

I am curious as to whether or not there is an open source solution to replicate the flash button in the iOS camera applicaiton.
I have seem many other apps use this, but there doesn't seem to be a native way, so I assume there is a common source out there.
It is possible to get the flash button by using UIImagePickerController class, but most of the camera apps out there don't seem to be using this (or perhaps they subclass it, which is against apple's terms).
I am looking for a way to replicate the expanding behavior of the button. Any thoughts?
It doesn't sound too hard.
The way I'd do it is to separate the right curve of the button (as images), and make a UIView that has the left part of the button and the right curve as subviews.
When it's tapped, slide the right curve and animate the extra buttons in.
You could use a stretchable UIImage (see UIImage documentation) and then just animate the frame changing.
In the Apple 2010 WWDC Sample code (downloadable via iTunes, otherwise I'd post it here), there are several sample applications which use this control. They call the class ExpandyButton. I realize I'm answering my question, but hopefully someone out there can find this useful.
While looking for a similar solution to this problem I came across this code which was extremely helpful. Similar to ExpandyButton it fit my needs better.
https://github.com/ddebin/DDExpandableButton

how to rename the images taken from camera through our app?

I want to know how the iphone take the picture from camera through xcode?
and how it is stored ?,How to rename it? And how to delete it after our work completion?
please tell me the details about the UIPickerView also...
Thank You,
anand
You can use UIImagePickerController to take picture from camera. You can refer
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html
You can get an UIImage from the imagepicker which u can use according to your needs
#Anand for your camera issue take help from the 7KV7 suggest link that is the best one from the apples developer document
Take image from camera and then do it what you want to do with that image.
As far as UIPickerView is concerned refer UIPickerView and also have a look at iPhone SDK Tutorial
For pickerview you have to call different delegate methods and those methods are mentioned in the tutorial i had shared you above.

iPhone - Image selection similar to Music Album in iPhone

I am new in iPhone programming. I want to create a puzzle game and I would really like to implement and image selection screen similar to the way you select a Music Album in iPhone iPod.
I can't upload a picture, but I will send you a link if my description is not detailed enough.
I don't know what to search for details. Can you give me a hint if it is even possible to implement it?
Thank you a lot,
Andrei
Refer to this, it is much easier one.
That's called Cover Flow and there's an open source library that does something similar here.
Alternatively, Apple has a built-in UIImagePicker.