iphone-3gs

iPhone video screen capture for the 3GS

With the advent of the iPhone 3GS' video capability - does anyone know if Apple bundled the ability to capture the device screen as a video? Note: I know this question has already been asked regarding previous handset versions but I am specifically asking about the 3GS where this functionality seems more plausible. Update: until I hear...

iphone OS 3 Video api

Does anyone know if its possible to open up the new camera/video API for the new 3gs in the app, similarly to the camera API in 2.2.1? recording functions and all? but in the same token, is it possible to edit the video recording you just took and edit it? all the best ...

iphone 3gs video capabilities

I am creating an app that needs to capture contents of a video recorded in-app with the video camera api for "supporting devices" AKA 3GS. Was wondering if anyone knows if it is possible to do the following: Edit your video that was recorded in-app by virtue of cutting down frames to a specified duration. Say, 2 seconds. This might amo...

How do I retrieve iPhone camera or video images before the user presses the snapshot button?

I am looking to stream what the camera sees onto a series of OpenGL ES textures. Getting them to display on the textures is not difficult, however, it isn't clear that the UIImagePickerController is able to grab images from the camera before the user takes a snapshot. Tagged with 3gs because of the new video capture API. ...

how do I pass the View/Model/Projection matrices to my vertex shader in OpenGL ES 2.0?

In OpenGL ES 2.0, you apparently can't do glMatrixMode(GL_MODELVIEW); glLoadIdentity(); any more to set the model matrix, but I think these matrices are still built in somehow, since the GLSL spec tells you how to access them in a vertex shader. // // Matrix state. p. 31, 32, 37, 39, 40. // uniform mat4 gl_ModelViewMatrix; un...

How can I get perl on my iPhone 3GS?

Hello I'm trying to get a regular C compiling environment on an iPhone 3GS running OS3.0 . So far I have been unsuccessful in finding a suitable gcc (i mean the complete suite, gcc+headers+libc+whatever else it needs) for it. Does anyone know if it is (yet) available and where ? If not yet, is there any tutorial on the net on how to ...

How to allow only the video recorder of iPhone 3GS to show up using UIImagePickerController class

Using UIImagePicker class I can select the UIImagePickerControllerSource as UIImagePickerControllerSourceTypeCamera. This would show up both the options, camera as well as video recoreder. I want only the video recording option to be available to the user. And as soon as user opens it starts recording without the need to tap record but...

Rotate MapView using Compass orientation

Is it possible to have an embedded MKMapView rotate to always face the direction the iPhone is facing? Basically I want to mimic the Map app rotation feature on my own app. I see that the iPhone SDK does not expose the functionality. However, I wonder if it would work to rotate the entire view using CGAffineTransformMakeRotate. Would...

UIImagePickerController for movie Item

I am writing a simple video uploader application on iPhone 3GS where I first direct the user to photos album, and then select the video to share or upload. I am using the UIImagePickerController in the following way: videoPickerCtrl = [[UIImagePickerController alloc] init]; videoPickerCtrl.delegate = self; videoPickerCtrl.sourceType =...

How to show an image representation of a movie selected by UIImagePickerController

I am using UIImagePickerController that gives user to be able select an existing photo or use the camera to take an image at that time. And i can show that image in my application with UIImageView. Now i want to use this ability for movies also. But i couldn't find any way to show the selected movie as an image in my app, just like the ...

Picking video from PhotoLibrary with UIImagePickerController in OS 3.1

Hi, I am trying to pick a video from the photo library. In principle I know how to do it you set the mediaType of the image picker to an NSArray with kUTTypeMovie as its only object. But this doesn't seem to work on an iPhone 3G. Since OS 3.1 you can store videos you've received in your photo library. When you start the build in 'Photos...

How to distinguish movement accelerations from oscillations and noise in iphone

Hi everybody on stackoverflow. SHORT VERSION :) I need to use (x,y,z) acceleration values related only to the movement of the iPhone. Just to be clear, think an environment like a car. The iPhone's accelerometer is very sensitive. If I log acceleration values with a frequency of 100Hz, there are so many values related to noise, car vib...

iphone updateToLocation works differently over 3G versus wireless network?

I have a simple mapview that has the following viewdidload method and didupdate to location: - (void)viewDidLoad { NSLog(@"in view did load"); [super viewDidLoad]; self.mapView.showsUserLocation = YES; self.put_url = nil; locationManager = [[CLLocationManager alloc] init]; [locationManager setDesiredAccuracy:kC...

Touch and focus on 3GS with showsCameraControls = NO

Hi guys. Im developing a program that makes use of UIImagePicker custom class made by me, and the thing is I want to be able to use the manual-focus feature on the 3GS (the part where the user points where the camera should focus) and at the same time to use custom overlay view. Ive set showsCameraControls to NO so that the images could...

Get iPhone's camera resolution?

Is there any way to get the resolution of the iPhone's camera? Apparently the 3G has 1200x1600, and 3GS has 1500x2000, but how do I obtain these values from inside my code (without taking the picture). I need them to make some affine transform to the camera preview. I could detect if it's 3G or 3GS to hardcode these values, but it's jus...

How to record video without user interaction in iphone using ObjC

Hi! I'm working on an app. In which I need to provide the functionality to capture the video using iphone 3gs without touching any buttons. I want to use the timer to start and stop video recording. Any one have any idea. how to do this using new iphone sdk. Thanks in advance ...

Fast sine/cosine for ARMv7+NEON: looking for testers…

Could somebody with access to an iPhone 3GS or a Pandora please test the following assembly routine I just wrote? It is supposed to compute sines and cosines really really fast on the NEON vector FPU. I know it compiles fine, but without adequate hardware I can't test it. If you could just compute a few sines and cosines and compare the...

application crash only in iphone 3GS on airplane mode!

HI! my application works great on any device except for iphone 3GS on airplane mode. the crash comes up as soon as i open the app, which use a CLLOCATION data as soon as it starts. this fact leads me to the idea that the problem is with the CLLOCATION manager or something like that... anyone knows about a different between the location...

how can i record iphone's built in compass readings and use in my app.

i am developing an application in which i have to record compass reading. which is there in new iPhone 3GS. so i have to record compass reading and use it in my application. I dont want to create my own compass. is there any way by which i can do that? ...

Lock-screen iPhone

Hi, My question is quite simple (I think and hope). I would like to know what happens when I lock my phone. I made a little clock-like app which should play and loop a sound at a given moment (lets say 18:00). But when I press the power button, and the phone locks, nothing happens at 18:00. When I press the power button again 18:05 and ...