iphone

how to increase backgroundTimeRemaining

how to increase backgroundTimeRemaining so because of that my application will get remain in background ,if you have any other way to run program in background please tell me .... other wise i want my application wake after call connected or disconnected in background .... without coming it on foreground .... suggestion appreciated ......

iPhone, sqlite3, how can I determine is a table exists already in a few lines of code as possible?

How can I determine in a table already exists before I start adding data to it again, in as few lines of code as possible? ...

Blackberry development

I'm currently working on a consumer mobile application project and have read that 40% of smart phones in use are Blackberry's. This seems very high and surely shouldn't be ignored for development. I understand that the type of application is relevant here, but has anyone found themselves considering adding Blackberry development to a pro...

UILocalNotification Problem

i have a local notification that I would like to fire every 5 minutes. I use: localNotif.repeatInterval=NSMinuteCalendarUnit that will have the notification happen once every minute. I can't figure out how to get this to happen every 5 minutes or whatever other >1 minutes interval. I've tried localNotif.repeatInterval=5*NSMinuteCalendarU...

play video file on splash screen

hi all, can we play an video file in splash screen? i mean like we use Defualt.png and sleep interval method to use static splash screen, instead of image, i want to play a video of about 10 sec. How can i do that? regards ...

is there a way to install java virtual machine on iPhone (jalbroken)

has any one tested java virtual machine on iPhone? will jamVM work on iPhone correctely? any ideas I know python runtime works on jailbroken iphones but I am not sure about the jvm ...

jQuery and iPhone native app development.

How to use JqPlot (javascript ) charting libraries in a native application for iphone? ...

AdHoc build receives no push notifications

I am developing push notifications for an app of mine, I wrote the provider in PHP and it works fine. I was previously testing the push notifications with my dev builds and the sandbox server from Apple and everything worked fine, now I am trying to get it to work with an AdHoc build but I never receive any messages on the phone. Here is...

Read current location using Map View in Iphone Applications.

I want to read my current location Using Map view in my iphone application. My current location may be changed depends upon Timing. Now i will be one location, after one hour i will be travel some Kilometers.. But my aim is, when ever i will be there, that current location, I will be want to read. If there is any way to possible to...

What are best practices for IPhone web development

I need to know best practices for IPhone/IPAD HTML5 Web development. ...

Saving an Array to Core Data

Hello, I'm trying to save an array to Core Data. I've been reviewing the following thread: http://stackoverflow.com/questions/537044/storing-custom-objects-in-an-nsmutablearray-in-nsuserdefaults (in particular the answer from Stefan). My code is as follows: for (TempWorkout *newTempWorkout in items) { NSString *st...

a simple core data save problem

I started learning core data and I wanted to do a simple category->object->detail application. I started with the location tutorial. After I've done it, I moved all the auto-generated code from my appDelegate to a new DataProvider class and i put a tabbar at the beginning of the app. So I have a TableView tabbar item (with a navigation c...

How to implement a modal date picker?

Hi All, I am using code from Ed Marty's answer for the question here but am having real trouble with a few bits. On the click of a button I have got the datepicker appearing, but the 'done' button however isn't. I am also getting an error from the line: [delegate datePickerController:controller didPickDate:datePicker.date]; Error m...

FlowCover - draw images onto the screen for the first time

Hi, I would like to know how to make the FlowCoverView be drawn when I want it to (after images are obtained). http://www.chaosinmotion.com/flowcover.m I have tried [FlowCoverView draw] but that gives me an error. Thanks ...

How to know the type of a variable in Objective C on Iphone?

For example if I have a function sort() like so: + (void) sort: (id) a { if(typeof(a) == 'NSArray') { ... } } So is there anything in Objective C for Iphone which can go in place of typeof() so that I can detect beforehand what kind of variable am I dealing with? ...

how to reload table view in iphone

hi i have create dynamic table in my program .its run on simulator is very well but i have build the iphone program run but problem is that when touch iphone screen table data reload. any suggestion pls. help me thanks ...

Upgrading iOS SDK

Hey Guys, I've XCode 3.2.3 with iOS SDK 4 installed in my iMac. I bought an iPhone 4 with OS version 4.0.2 and I would like to use that device for development. However the Organizer shows the message below when the device is connected. The version of iPhone OS on “iPhone 4G” does not match any of the versions of iPhone OS supported for...

How to develop an iPhone app to work with the current iPhone's music library

Hi everyone, My friend (who knows nothing about programming what-so-ever) asked me if I could develop an iPhone application that lets the user select an artist from thier current synced artists on their iPhone music library, and display to them a list of concerts they will be playing in the near future. Maybe even use your current locat...

UIModalTransitionStylePartialCurl support for iOS 3.0?

According to the iPhone doc this particular modal transition is available for iOS version 3.2 and up. Yet i know my phone (running 3.1.3 i think) can do this curling transition because of the Google Maps app. Is there another way/trick to get this curling transition for iOS versions < 3.2 ? Thanks! ...

Building custom view controllers based on the UIScrollViewController for the iPad

I've been eying the E*TRADE iPad app (visible at http://www.apple.com/ipad/apps-for-ipad/#etrade) and wondering just how they manage to effect a 'carousel of view controllers'. Clearly there's a UIViewController under the covers ... but beyond that I get quite lost. It's pretty much a UITableView on it's side. Is there any sample code ...