title: picking and uploading the video for iphone 3g ios 4
body: <p>I want to upload a video from iPhone to a server somewhere.</p>
  
  <p>I have found <a href="https://stackoverflow.com/questions/1065628/uploading-video-with-iphone">this</a> useful question here for uploading a video on the server from iPhone.</p>
  
  <p>The only problem here is picking the video. The code is using uiimagepickercontroller to pick up the video and I have a 3g phone which has not video in its photos app.  I can't even put a video in it . I have a video only in iTunesU . Currently I am using following snippet for uiimagepickercontroller . </p>
  
  <pre><code>if ([UIImagePickerController isSourceTypeAvailable:
           UIImagePickerControllerSourceTypeSavedPhotosAlbum]) {
          UIImagePickerController *picker =
          [[UIImagePickerController alloc] init];
          picker.delegate = self;
          picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
          [self presentModalViewController:picker animated:YES];
          [picker release];
      }
      else {
          UIAlertView *alert = [[UIAlertView alloc]
                                initWithTitle:@"Error accessing photo library"
                                message:@"Device does not support a photo library"
                                delegate:nil
                                cancelButtonTitle:@"Drat!"
                                otherButtonTitles:nil];
          [alert show];
          [alert release];
      }
  </code></pre>
  
  <p>So I have to ask that is it necessary to pick a video from uiimagepickercontroller and if so how can I do so with my iPhone 3G .</p>
  
  <p>Please tell me if the question is not readable.</p>
  
  <p>Thanks .</p>