iphone access to song database/stats
Can an app that you develop interface with iTunes on the iPhone/iPod to get a name of a song or a list of the songs that are played the most by the owner of the iPhone or iPod? ...
Can an app that you develop interface with iTunes on the iPhone/iPod to get a name of a song or a list of the songs that are played the most by the owner of the iPhone or iPod? ...
When a hardware keyboard is used with iOS, pressing tab or shift-tab automatically navigates to the next or previous logical responder, respectively. Is there a way to do the same programmatically (i.e. simulating the tab key rather than keeping track of the logical order manually)? ...
Hi there, my main UIViewController should check for some data updates when it loads, if any update is found an opaque subview is added to show progress and so on. Let's say that the method is called checkUpdates, so in my app delegate i do the following: [window addSubview:viewController.view]; [window makeKeyAndVisible]; [viewControl...
I want to convert a NSString into a const char * in order to access a sqlite DB. This works: NSString *queryStatementNS = @"select title from article limit 10"; const char *queryStatement = [queryStatementNS UTF8String]; This causes a crash in the simulator (without any stacktrace): NSString *queryStatementNS = [NSString stringWithF...
What would you do in the following scenario: When implementing a multiplayer game, you use GKMatchmaker to find players. When the required number of players has connected, you start the match. Now one of the players receives an incoming call. What now? If the user takes the call, the application will move to the background, the conne...
I am making a custom widget that I would like to use in multiple nibs. So I make a new view nib Screen3, add some buttons, and now want my UIAwesomeSauce widget. If I just add a view and then change the Class Identity, it doesn't get the subelements from the UIAwesomeSauce nib. Same thing if I go to the Library and switch to Classes...
Is it possible on an iPhone app to take a picture and extract an string from the picture? We'd like to make our app to look for a serial number on a database (very long number) without the user having to type it. Is there any Cocoa/Objective-C API for this or any C/C++ library that can be used in an iPhone app? Thanks in advance! ...
Hi all , Here is my question , I want to create a soccer match team formation for an app base on the X and Y coordinates return. Does anyone have the example or tutorial? ...
Cancel Uploaded binary sent to Apple(Itunes Connect) and load another one before "In review" state! Is it possibile? ...
I am writing an application that stores the movies in the photo roll into the local documents folder for the app. I can play remote movies using the MPMoviePlayer, however trying to play a movie stored in the documents folder for the app always returns MPMovieLoadStateUnknown. The notifications are all getting sent and received from th...
Hi, I'm new to the Instrument, i want to test how it detect the memory leak. So i use the following code. It gets fired when user click on a button. -(IBAction)leak{ UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 30, 30)]; NSLog(@"%@", button); button.selected = YES; } but nothing happens in the Instrument. H...
I started building an app under an individual developer account. In preparing to beta and release this I'm switching over to a new company account. I'm trying to prepare a checklist of the things I will need to update in order to move the project over to the new account. Install new development certificate and profile Change bundle id...
i m using sqlite i am geting a return value frmo DB in this manner "returnCount = [NSString stringWithUTF8String:(char *)sqlite3_column_text(selectstmt,0)];" but the returend value is an integer value. how can i get a int value instead of paasing it in string...like this thing here "[NSString stringWithUTF8String:(char *)sqlite3_col...
I have a very simple problem that i'm sure has a simple solution, but after searching the internet for 2 days I can't find anything on it =( Here is the situation: I have decided to break my data into 2 sperate entities with a one-to-one relationship. So I have the PERSON entity and FEATURES entity. each PERSON has a related FEATURES en...
I have a view that plays an animation and an audio clip. if the user leaves the view and then returns the audio replays from the point where they left the view. I simply want the audio and the animation to start over as if it was their first time coming to the view. so the audio would stop and the animation would stop. then the viewDid...
Hello - I am using a scroll view to display a CATiledView of some large images. When the user leaves the app, then comes back, I would like the app to automatically scroll and zoom to the place where the user was when the left the app. I am getting the zoomLevel saved, but I cant figure out how to save the scroll position then have it ...
Here is my plist: <dict> <key>ehindi</key> <string>ankamaal</string> <key>part</key> <string>n</string> <key>meaning</key> <string>hug</string> <key>hindi</key> <string>अंकमाल </string> </dict> Here is my code: - (void)viewDidLoad { [super viewDidLoad]; NSString *path = [[NSBundle mainBundle] bundlePath]; NSString...
Indoors on an iPhone 4. WiFi disabled Running the LocateMe SDK sample or my own code for 30-60 seconds produces horizontal accuracy of 2294 meters. Pretty inaccurate but reasonable for cell tower triangulation. Looking at other apps that do reverse geocoding or location stuff like Foursquare shows a similar lack of accuracy. However, i...
Hello, hopefully someone has an answer - I am searching now for hours. I want to get the position of an movie. I tried it with MPMoviePlayerController, but this class doesn't support the MPMediaPlayback property called "currentPlaybackTime". (the funny thing is, that the MP Music PlayerController has this property) Therefore I can't ...
How can i take screenshot from code ? ...