iphone

6DOF using accelerometer and gyroscope

Has any one developed 6DOF pose estimation using only the iPhone sensors, not video? Drift from the accelerometer and gyroscope are understood. The gyroscope provides fairly reliable relative orientation rates. I've been able to develop with the gyroscope data. However, I'm having more problems deriving translation from the acceleromet...

get news from website and show in app

Can anybody help me on How to get news(or climate)from a site and show in application ? ...

reset app on user exit

is there a way to restore an app to the original settings when a user exits? I need the app the reset every time it's closed out. thanks so much. ...

Looking for free online webservice for getting zipcode(/postalcode) from lat, long ?

Hi, I am Looking for free online webservice for getting zipcode(/postalcode) from lat, long ? There is one : http://ws.geonames.org/findNearbyPostalCodesxml?formatted=true&lat=latValue&lng=longValue but its not working.....! Do you know other than this...? Thanks ...

Objective-C blocks as properties. Am I crazy?

Is that possible? ...

App settings appear in simulator but not on device?

Hey folks, I'm setting up my first application settings bundle right now. I went through the process of creating a Settings.bundle in the project root, settings the Root.plist to display as an iPhone Settings plist, etc. So – the app's settings panel displays in Settings.app just as I would expect in the iPhone Simulator. However, it is...

recognize that user call somebody

how to regognize that user call somebody from code?(means i have an app and want to do sth when user call somebody) ...

iphone how to send my project build to someone else

my work colleague is asking me to send a build so that he can install the application on his phone to test it. I need to send this application to him today. a build that is. not the actualy project just the correct files needed so he can install it on his iphone. Heres what I've done. Ive added his UDID to a new device in the provision...

ABPeoplePicker crashing sometimes with sandbox issue

Hi, I'm using ABPeoplePicker to retrieve contacts and their number from the addressbook for adding persons to my view. The problem is that sometimes the ABPeoplePicker crashes with this error: unknown sandboxd[4537] : MyApplication(4533) deny file-write* /private/var/mobile/Applications/34C53A3F-82BE-4001-B520- 2B55D0C90624/Libr...

Mimic iPod application UI

Hello, I am looking for the best approach to mimic the iPod application on the iPhone/iPod Touch. Specifically, I want to mimic what happens when the iPod player (when a track is actually played) shows up. The iPod application starts as a tabBarController with every tab holding a navigationController. However, when a track is played, th...

Removing multiple rows while adding none in UITableView

Is it not possible to remove several rows from UITableView while adding no new rows? I thought there was support for batch insertion and deletion but it appears that you can only adjust the table size by 1 item from the previous count. When I attempt to remove a whole bunch of rows without adding anything new, I get the error: Inval...

UITabBar with count indicator

Is it possible to show a count indicator on top of a tab bar item? How? The application has several tabs, and in some of them there might be updated information. I'm looking for a way to make the user notice when there is something new in one of the tabs... I'm thinking of a round count indicator as is shown on top of the application i...

How to determine the content size of a UIWebView?

I have a UIWebView with different (single page) content. I'd like to find out the CGSize of the content to resize my parent views appropriately. The obvious -sizeThatFits: unfortunately just returns the current frame size of the webView. ...

EXTRACTING data from a particular url and populating a dictionary in iPhone

Hi everyone, I am a newbie to iPhone app development. I would like to know the procedure to extract data from a particular website which itself populates the webpage's content using a jquery. I would like to extract this data and display it in my own format. Here is the url: source webpage Kindly let me know if there exists any fram...

iPhone: Document dir data does not survive a hard reset.

I have just uploaded my app and it was accepted. To my horror, I now discover that if I hold down the top right button for some time, to turn iPhone off and then repeat that to turn it on again (i.e. a hard reset), the contents of Documents has vanished. ...

Keeping cookie on the iPhone after login via HTTP POST- mixing C++ and Objective C

Hi All I have been working using openFrameworks, on a problem that is posted on the forum: www.openframeworks.cc/forum/viewtopic.php?f=8&t=4765 Essentially, I have used an an set of files, ofxHttpUtils, which uses poco to post to web forms. The example code I have used is at: github.com/arturoc/ofxHttpUtils/blob/gh-pages/example/src/te...

Why does changing the frame of a UIScrollView change the frames of its subviews?

This is perplexing to me. I want to change the frame of a UIScrollView upon orientation change: if (orientation == UIDeviceOrientationLandscapeLeft || orientation == UIDeviceOrientationLandscapeRight){ self.myScrollView.frame = CGRectMake(40, 40, 984, 200); for (UIView* view in [self.myScrollView subviews]){ ...

opengl es texture atlas for text

I need help on understanding the workflow for rendering text in opengl es using a texture atlas. This is for an iphone game. I've read this already: http://stackoverflow.com/questions/512258/is-there-a-decent-opengl-text-drawing-library-for-the-iphone-sdk What tools do I use to generate the texture atlas image? Do I need freetype for ...

PDF creation on iPhone: <Error>: invalid Type1 font: unable to stream font

Hi! I'm creating a PDF on the iPhone and this works almost brilliant. I just get one annoying error in the console when I draw text: <Error>: invalid Type1 font: unable to stream font I'm using the following code to do the text drawing: [title drawInRect:textRect withFont:[UIFont fontWithName:@"Helvetica-Bold" size:16]]; I've tri...

Raw Data or Pre-Calculated Values in Database?

In general, is it better to store raw data with pre-calculated values in the database and concentrate on keeping the database up-to-date if I remove or delete a row while using the pre-calculated values for display to the user OR is it better to store the raw data and calculate the correct display values on-the-fly? An example (whic...