iphone

How do I send an email with embedded images AND regular attachments in JavaMail?

Hi, I'd like to know how to build an SMTP multipart message in the correct order so that it will render correctly on the iPhone mail client (rendering correctly in GMail). I'm using Javamail to build up an email containing the following parts: A body part with content type "text/html; UTF-8" An embedded image attachment. A file attac...

iphone/ipad adding adding and removing a subview doesnt work

Im have a slight amount of trouble adding a new view to my scene, I have the code like this: - (void) showMyDayView { NSLog(@"My Day View was touched"); MyDayViewController *temp = [[MyDayViewController alloc] initWithNibName: @"MyDayView" bundle:nil]; self.myDayViewController = temp; NSLog(@"superview: %@", [[self mainNavView] superv...

iPhone: Remove annotation from MKMapView which is in another view

I have two views. The first is a MKMapView with some annotations. Clicking a UIButton pushes a second view on the stack. This has a UITableView with a list of annotations which correspond to the map annotations. So, when you click the delete button, how can I call my MKMapView which is in another view, so that I can remove the annota...

How to play a song without using MPMediaPickerController on iphone

I want to play a song with a title "xyz" residing in Itunes Library without using MPMediaPickerController.Please Help me. ...

how to read the cllocation data before the tableview data in the same view ?

i want the cllocation parameter first in the app and then print it,and then want the talbe view content in the same viewcontroller file. i am calling the startupdatinglocation in the initwithnibname and table view viewdidload but content of table view is coming first and then my value of cllocation in console. ...

Upload picture from iPhone in Web App

I have built a web-app for iphone using iUi framework. As you may already know, mobile safari doesn't support file upload form element. My application allows school administrators to do classroom walk-throughs, marking off what they see in the classroom (in web form survey). I would like to add the ability for them to upload a picture ta...

iPhone developer program count-down

Hi iExperts I am little bit confus about the iPhone developer program. I know its One year subscription program after that we have to re-new it Q : From which time the count down of iPhone developer program starts ? from the Enrolment time or from the application submission time is anyone have idea then pls tell me frnds... Than...

Too many NSURLConnections? Set of NSURLConnections not completing

Hello. I have a class that's very similar to MultipleDownload.m by leonho. Basically, in a pretty tight loop, I spawn a bunch of NSURLConnections and keep track of received data using a method similar to that used in MultipleDownload.m. There are changes in my code that was necessitated by needing to save files to the camera roll in the ...

PList Chicken/Egg Scenario

Hi, I want to read/write to cache.plist If I want to read an existing premade plist file stored in the resources folder I can go: path = [[NSBundle mainBundle] bundlePath]; NSString *finalPath = [path stringByAppendingPathWithComponent@"cache.plist"]; NSMutableDictionary *root = ... But then I wish to read it from the iPhone. Can't,...

Real time soft shadows without stencil buffers

I'm really curious how the following is done They seem to achieve real time softish shadows on the iphone which does not have a stencil buffer available. It seems to run pretty fluid here http://www.youtube.com/watch?v=u5OM6tPoxLU Anyone has an idea? ...

modalViewController present when app opens

Hey im trying to display a modal view controller as soon as my tab bar controller app opens. There is something wrong with the code below, and im 99% sure its the code for this. what do i put for the thing im calling it on? [self presentModalViewController:promt animated:YES]; - (BOOL)application:(UIApplication *)application didFinis...

How to rotate video portrait to landscape

Hi all, I am playing video with MPMoviePlayer in my application. How i rotate video in my iphone landscape to portrait and vice versa. ...

iPhone. Com port communication

Is it possible that the iPhone can somehow send data or some control command to the computer's com ports via USB cable? Maybe use inline assembly language for instance? Thanks! ...

can anyone use my application.app file to install the app in his device.

is this possible that anyother person run the app on the his device by taking my application.app file. ...

How to retrive message history from iphone programmatically ?

I needs to show messages which are available in history. I mean messages that are present in iphone. I try from google but no any appropriate help. Is there no any way to retrive it from iphone ? or is there any alternative way ? Please mention that i just needs the history of messages. ...

How can I do vertical paging with UITableView?

Let me describe the situation I am trying to do: I have a list of Items. When I go into ItemDetailView, which is a UITableView. I want to do paging here like: When I scroll down out of the table view, I want to display the next item. Like in Good Reader: Currently, I am trying 2 approaches but both do not really work for me. 1st: I l...

How to scroll the content without scrolling the image in the background using UIScrollView ?

I am trying to scroll the content without scrolling the image in the background using UIScrollView. I am using IB and setting the FileOwner View to point to the Scroll View (Image View is a child of the Scroll view). I have made the image height to be 960 pixels. I have also set scrolling content size in the vierController that owns th...

how can i made tic toc toe puzzle game in iphone sdk?

Hi, I want to make tic toc puzzle game for iphone . Please help me about this. Thanks! ...

ObjC: Alloc instance of Class and performing selectors on it leads to __CFRequireConcreteImplementation

Hi, I'm new to Objective-C and I'd like to abstract my database access using a model class like this: @interface LectureModel : NSMutableDictionary { } -(NSString*)title; -(NSDate*)begin; ... @end I use the dictionary methods setValue:forKey: to store attributes and return these in the getters. Now I want to read these models fro...

Integrating twitpic OAuth for iPhone.

How can I integrate twitpic API with OAuth for posting an image from iPhone? Any help or tutorial? Currently I am doing... NSURL *twitpicURL = [NSURL URLWithString:@"http://api.twitpic.com/2/upload.format"]; theRequest = [NSMutableURLRequest requestWithURL:twitpicURL]; [theRequest setHTTPMethod:@"POST"]; // Set the ...