iphone

displaying image from xml tag

hi everybody I am new to iphone development. in my application i want to extract image from image tag from xml and then display it in left of table cell my code is the xml tag of image is <image>http://192.168.1.239/japantube/thumb/570.jpg&lt;/image&gt; now i in my code i have parse it in such form int blogEntryIndex1 = [indexP...

Minus sign when table is in edit mode

HEy all, I have a question to share..Tried to find the solution in various posts but failed. So if you know the solution in any other post Kindly paste the link over here. The question is "Can we change the click event of the (-) minus sign that appears when the table is in editmode". Can we change the image of the minus sign that a...

Play podcast frm within your application iphone sdk

Hi all, Can anybody point me to a tutorial/example code which embeds a podcast from a url into my application? Thanx in advcance. ...

presenting a modal view over a splitView

Hi everyone: I'm having a problem making a universal app... In the application delegate I set up the main navigation for ipad and iphone: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { window = [[UIWindow alloc] initWithFrame:[ [UIScreen mainScreen] bounds]]; if (UI_U...

push notification tutorials

hi all, anyone having a nice demo app or a tutorial to add push notification in app? i need to add push notifiation feature,in my app. looking fwd for a reply regards shishir ...

Use user defined type (with typedef) as method parameter

Hi I've defined a new type with this code typedef enum result { error, error1, erorr2, }result; After that I want to implement a method that takes a "result" as parameter - (void) setError:(result)errorNumber It seems that it is not allowed and give me an compiler error. Is not possible to use user defined type ...

Displaying call summary and balance details

Hi, I am working on a iPhone application which has the facility to call any number using VoIP. For this i am using the SIP protocall. Now i want to show the user the call summary and the balance details. How can i do this? can anybody help me out? ...

UIWebView content size restrictions

I need to resize my UIWebView to content size, but when height of content size became more then 520 px, I always have this link text Is there any restrictions to content size of UIWebview? ...

NSMUtableDictionary deallocation issue

Hi, I have got I have got two methods both in different classes. One is class method and other is instance method. i am calling class method from instance method. When instance method finishes it gives runtime error "EXC_BAD_ACCESS". #import "xmlObject.h" #import "textmeAppDelegate.h" @implementation Class1 - (void)method1 { ...

how to set hour minute in nsdate programatically?

hi i am having 2:01:20 PM format in one label, after some calculations , i need to change the hour, minute , of that label that is , is it possible to change that label value,by converting it as NSDate object and can modify hour , minute like 3:20:30 PM is there any setter methods to do it. Thanks in advance. ...

Do I really need always a bidirectional relationship in Core Data?

Example: If I had two entities Person and Car, and each of them should be linked with an Image entity - how would this have to look like? Right now, I would make just three Entities: Person, Car, Image. So persons and cars can link to an Image entity. They have a 1:1 relationship to the Image entity. But now, a Core Data dude said that...

Load different initial view based on application preferences?

I have a preference that, when set, forces my application to perform some synchronization on startup. Can I use IB to display a different initial view based on this setting? Is there a standard way to enable this behavior? ...

Insert photos in the photo library at runtime iphone sdk

Hi all, I have a tableview with custom cells. The cell shows photos which I'm getting in the form of url from an xml which I'm loading in webviews. There might be any number of photos, but I'm showing only first three photos in normal cell view. When user taps the cell, I want to insert all the photos that are in the form of urls for ...

Where i get the life cycle between UIView, UINaviagtionController and UIViewController?

Hi, I am a beginner in IPhone Development. I very confused on the behaviour or life cycle between UIView, UINavigationController and UIViewController. Please suggest me any documentation on it which has to be fully understandable diagrammatically. ...

What are the iphone/android specific Web features?

I'm trying to list Web features (HTML, CSS, Javascript, APIs) that can be used for mobile web pages, things we don't usually use on Desktop browsers. So far, I have: geolocation orientation viewport (width, scale) touch-events tap-highlight-color map and youtube links open in a dedicated app tel: links support specific keyboard layout...

app crashes when releasing appDelegate instance

hi all i have this code that passes the core data context to one of the controllers. it was working great for few days, until the debugger started to give me the "not A type release" error and crashing the app. i have checked the app for leaks and i found leaks from the SappDelegate object. so i understand that i have to release it but ...

Viewcontroller not getting pushed to stack

hi.I am fairly new to iphone. I have a peculiar problem. I am adding a view controller as a subView to the current view. And then i want to push a new view controller from it. The problem is when i try to do pushViewController, it is not responding. The am stuck where i was. EG: In CurrentViewController i have added NewViewController's...

iPhone sdk socket - bandwidth used

Hi, I am testing an app that connects through an asynchronous TCP socket to an C# server and sends 1 byte every 30 sec (implementing a heartbeat). After about an hour later the app had sent 132 packets (of one byte) to the server, the packets have been received ok. The iPhone app connected once to the server and after that sent the packe...

What is the best approach to develope a multi-platform mobile application?

We need to make an application that runs on iPhone, Android and BB. What is the best approach to write the least ammount of code? I know about some frameworks but I am not sure the best approach. ...

MPMoviePlayerController Play only audio not video

I have downloaded two .mov files from internet and add it to resource folder in my project. Then i play both video files using MPMoviePlayerController.. One file play audio and video ,but another one only plays audio file not video... Can anyone help me ? Thanks in advance........ Both files are .mov files. ...