Showing posts with label ios4. Show all posts
Showing posts with label ios4. Show all posts

Monday, May 21, 2012

Sunday, May 20, 2012

Design for Facebook authentication in an iOS app that also accesses a secured web service


Goal: Allow a user to authentication with Facebook into an iOS application which requires access to a protected web service that I'm running.

Monday, May 14, 2012

Only applicationWillResignActive called when iPhone shuts down?


Hallo experts,



I've tested what's happing with my app when the iPhone is switched off while the app is active. For this purpose I logged the callback methods of the app's lifecycle in the xcode debugger console.

Tuesday, May 8, 2012

Edge Detection of Image in iPhone Using Image Magick


I want to convert RGB image into Below Image. I am using ImageMagick Library . I want help to know that by which functions i can convert in Original Image into Image-2. Here is below two images. I would like to use Only ImageMagick Library. I would like to do Image Processing simillar to this Link in Objective C.

Monday, April 16, 2012

Dismissing UIAlertViews when entering background state


Apple recommends dismissing any UIAlertViews/UIActionSheets when entering background state in iOS 4. This is to avoid any confusion on the user's part when he relaunches the application later. I wonder how I could elegantly dismiss all UIAlertViews at once, without retaining a reference to it everytime I set one up...

Entering background on iOS4 to play audio


The documentation is rather poorly written when talking about playing audio in the background. It gives the impression that all you have to do to continue playing the audio that you are currently playing is to just add a key/value pair to the info.plist file and wallah, it's magic.

Tuesday, April 10, 2012

Compile PHP with GD for iPhone OS 4.1


The Goal:



have a working version of PHP with the GD library working on an iPod Touch 4th Gen.

Create text Stroke for UILabel iphone


I was wondering how can I create text stroke for UILabel in iOS4 ? I need some suggestion . I want something like this :

Tuesday, April 3, 2012

Exit application in iOS 4.0


Before iOS4.0 clicking the home button on iPhone exits the application, and Apple had in their guide that programmatically exiting the application was not accepted.

NSDateFormatter"s init method is deprecated?


Per



http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSDateFormatter_Class/Reference/Reference.html



The init method of NSDateFormatter is "Available in iPhone OS 2.0 through iPhone OS 3.2", and therefore not in 4.0. Now, it certainly works, but this seems odd. Is this is a mistake or is there some other way to create a NSDateFormatter ?

Sunday, March 11, 2012

iPhone iOS 4.0 Camera FigCreateCGImageFromJPEG returned -1


Since I updated to 4.0, when I take a photo with my App using UIImagePickerController I get the following error output:

Play local notification default sound when displaying UIAlertView?


I'm writing a reminders app for iPhone that displays reminders using local notifications.

Thursday, March 8, 2012

While sending SMS, application is crashing


I want to send sms using below code in iPhone 4, but the application is crashing due to this code only.

Wednesday, February 8, 2012

post and delete method for ios devices


Adding a playlist to youtube account




POST /feeds/api/playlists/PLAYLIST_ID HTTP/1.1
Host: gdata.youtube.com
Content-Type: application/atom+xml
Content-Length: CONTENT_LENGTH
Authorization: AuthSub token="AUTHORIZATION_TOKEN"
GData-Version: 2
X-GData-Key: key=DEVELOPER_KEY

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom"
xmlns:yt="http://gdata.youtube.com/schemas/2007">
<id>VIDEO_ID</id>
<yt:position>1</yt:position>
</entry>



delete playlist of youtube account




DELETE /feeds/api/users/USERNAME/playlists/PLAYLIST_ID HTTP/1.1
Host: gdata.youtube.com
Content-Type: application/atom+xml
Authorization: AuthSub token="AUTHORIZATION_TOKEN"
GData-Version: 2
X-GData-Key: key=DEVELOPER_KEY

Tuesday, January 17, 2012

DETECT Speaking Language- iPhone


I can covert the speech that a user spokes to text using Open ears (see http://www.politepix.com/openears/yourapp ). But How i could detect the language which the user speaks is English, french, chinese etc... Is there any method to understand in which language the user speaks? How can i check this.? Any help would be appreciated. Thanks

Sunday, January 15, 2012

warning: UUID mismatch detected with the loaded library


i have been getting this since updated to 5.0.1

Can i sell ticket in an iphone app without IAP


I'm building a app for an online service that sell tickets on their website. We want to allow people to buy ticket from the iphone but we can't use in app purchase as it cost too much.