iphone

It it necessary to learn J2ME for Android or iPhone development?

I want to learn mobile programming, specifically Android or iPhone programming, but not sure if it is necessary to learn J2ME before working with Android or iPhone. I know only core Java (and OOP concepts very well). I need your suggestion, especially if any one working in mobile development field. Hoping for favorable reply...! Thanks....

Fitting Pickerview and Tableview as subviews on the same screen.

I want to find the best way to fit both a Pickerview and a Tableview on the same screen (View). I can't find a way to size them in IP or dynamically resize them. I want to keep their font sizes small to balance it all and fit a Tab Bar at the foot of the screen. I'll be using one Controller for both of them. ...

UIWebView error codes

Now I'm developing UIWebView based iPhone app. It is important to be sure that all requests are executing properly. To handle possible errors I'n using webView:didFailLoadWithError: message from UIWebViewDelegate protocol. Where I can find the list of the error codes this control may return? ...

Problem in opening Camera in Video mode in iphone

In my application,I want to open the camera in Video mode.So I write the following codes /Codes/ myImagePickerController.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie]; /Codes/ And include import MobileCoreServices/UTCoreTypes.h> But it shows the following errors /Errors/ "_kUTTypeMovie", referenced from: ...

Showing a landscape UIViewController in a portrait UITabBarController/UINavigationController

I understand that this question (or variations of it) has been asked quite a few times, however it's still how to best approach this problem without delving into kludgy hacks. I have an application with the following layout: UITabBarController ↳ UINavigationController ↳ PortraitViewController ↳ LandscapeViewController...

Animately increase content size

Hi , I am developing an application of iphone,I added a view dynamically to a UIScrollview and increase the content size of scroll view on a button press.Now i need to animate this process of content size change .Is there any way to animate the increase of content size Thanks in advance ...

When and why does NSUserDefaults' synchronize method fail?

When and why does NSUserDefaults' synchronize method fail? What is the best way to make sure that my values are actually written and commited to NSUserDefaults, so I wouldn't have any problems restoring state after application restart? ...

how to add NavigationBar with Editbutton on left to the Uitable In Iphone?

Hi, In my iphone application i have added the Uitable view.While launching the application the table is showing the No. of rows which i want.Now i want to add the Navigation bar to the UiTable,also i want to add the edit button on the left side of the navigation bar. How to add the Navigation bar in the UiTable view in iphone?I dont wa...

Setting NSMutableString Element To Number

Ola Folks, I want to populate an NSMutableString at runtime by both assigning a specific number (0-255) to an element and appendFormat to add to the string. If this were an unsigned char array, I could just directly assign the number using: UnsignedCharRay[SomeIndex] = 5; For reasons I think I understand but do not like, NSMutable...

Designing iPhone application with Photoshop or any design tools

Hi all, I need to know how to design new (different) user interface for iphone with photohsop or like that tools. I have already checked photshop design mockups for iphone over the internet, but i'm sure, i don't need that, these example psd files shows original iphone design elements. I'm just looking to how to design new user inter...

how to wrap the text in UITable cell in Iphone?

Hi, In my iphone application Uitable having So many cells with Text.The Text size is more than the width of the device.So, how can i wrap the text in cell and display the text in the different Lines or devide it in the lines? if anybody has any solution or any useful code or any other useful link,which would be appreciated. Thanks, M...

iPhone - Returning a value from a UIViewController which is presented using presentModalViewController

I have a very simple scenario: My iPhone application contains a UIViewController implementation which displays a list of items. In its navigation bar there is a button for adding items to that list. When this button is clicked, a new UIViewController is instantiated and presented on the screen using: [self presentModalViewController:co...

iPhone Memory Leaks in Apple's Code

I'm running leaks through Instruments on my iPhone app and I'm seeing a lot of leaks that don't appear to be coming from my code. For example: NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:operation]; operation.urlConnection = conn...

iPhone: Application submission in AppStore..

Hi All, I want to submit my application in AppStore. After i have gone through the docs there, i see i should go to iTunes Connect and fill the form to submit my application in AppStore. If someone already did it, can you guys please share your suggestion? I did build 'Distribution' in my Xcode project and compressed my app ready, i wa...

Implement custom zooming for a UIScrollView

Hi, I have a UIScrollView with the requirement that, when zooming, the contentSize.height should remain the same. Zooming in from 200x100 should result in a new contentSize of 400x100 instead of 400x200, for instance. I'd like to do my own drawing while the user is zooming. I don't think I can use the normal zooming behaviour of UIScro...

How to implement advertisements in an iphone application?

We are developing an application for iphone that requires advertisement to be shown up on the screen. We are totally new to this concept. Could anyone assist us with this. Any sample will be greatly appreciated. Thanks in advance. Zach. ...

takepicture() vs UIGetScreenImage()

Hello all. I'm trying to build a QRCodeReader for a project our research group is working on for the iPhone. After much research I found the program called QuickMark. This program scans automatically for QRCodes. What it appears to do is load the UIImagePicker and read off data from the camera. I suspect it is using UIGetScreenImage and ...

webservice JSON in different from SOAP ,XML-RPC,REST ?

which one best for iphone application ? JSON is different from these three webservice methods ? could you please suggest me.. ...

How could I save Image from url into app?

Hi I am developing iPhone application, and I want to store image which is loaded from url into application document folder, but i don't know how to do this. any suggestion? Thanks!!! ...

How long would a simple dictionary iPhone App take to build?

I was scoping out an iPhone app project and wanted to know from some iPhone App veterans how long it might take a build a simple dictionary app. It would contain the following views: search, definition and favorites. When the app loads, it would need to check for new words and definitions. The search view loads all the words, and on s...