Hi,
I am working on an app where I am using CGContextShowTextAtPoint to display text to the screen. I want to also display Japanese characters, but CGContextShowTextAtPoint takes as its input a C string. So either A) How do I change Japanese characters into a C string? If this is not possible, B) How can I manually print Japanese charac...
I'm developing a new application for the company.
The application have to exchange data from and to iPhone.
Company server side uses .NET framework.
For example: the class "Customer" (Name, Address etc..) for a specific CustomerNumber should be first downloaded from server to iphone, stored locally and then uploaded back to apply cha...
I have a time interval that spans years and I want all the time components from year down to seconds.
My first thought is to integer divide the time interval by seconds in a year, subtract that from a running total of seconds, divide that by seconds in a month, subtract that from the running total and so on.
That just seems convoluted ...
i wana store the index of seleted cell of table using NSArray, can u help me....
...
Here is a list of break points to put in ~/.gdbinit that are really helpful in debugging memory problems:
fb -[NSException raise]
fb -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:]
fb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
#define NSZombies
# this will give you help me...
Hi all,
how to identify a device (ipod Touch/iPhone) is 2G or 3G ?
...
I have thousands of png files that I am loading using libpng and then creating OpenGLES textures out of for use in the application. Doing this is causing a huge load time lag on the iPhone. Is there any way to speed up load time?
...
Hello,
I have User Settings view and have a table to list the options.
When the user taps on a cell, the option is selected.
I am saving the option to the property list when the view disappears and till this it is working fine.
But when the user comes to the screen again, i want to have the already selected option to be highlighted(s...
Hi All,
I am developing a game in cocos2d in which I have to connect my iphone game with face-book.
for that I have code
FBLoginButton *button=[[[FBLoginButton alloc]init] autorelease];
[[[Director sharedDirector]openGLView] addSubview :button] ;
when I click on button face-book login page is display. when I click on Username t...
I want to develop this game for the iPhone. Which framework would be best to use (e.g., Cocoa, Cocoa2d, OPENGLES)?
...
Hello,
Can someone help me out with something.
I'm trying to get the current part of the day, am or pm. Is there an easy way of accomplishing this?
Thanks.
...
There are many articles on how to detect if a microphone is connected to an iPod touch G2 via AudioSessionGetProperty / kAudioSessionProperty_AudioInputAvailable, but I have not seen any articles related to detection of headphones connected to an iPod touch G1.
To review:
iPod touch G2 hardware differs from iPod touch G1 hardware in the...
It's well known that UIImagePickerController doesn't return the metadata of the photo after selection. However, a couple of apps in the app store (Mobile Fotos, PixelPipe) seem to be able to read the original files and the EXIF data stored within them, enabling the app to extract the geodata from the selected photo.
They seem to do this...
This is a long shot, but does anyone know a way to avoid the automatic screen blanking when using the proximity sensor (UIDevice.proximityMonitoringEnabled & proximityState)?
...
Does anyone know if there is a preferred method to find a contact's name in the Address book using their phone number as the key?
It seems that this should be a standard function since it is done in several places by the phone, such as in Recent Calls, Voice Mail list, Incoming Call ID, etc.
Thanks,
Anthony
...
I prepare small application. When I restart my iPhone 3G (with 3G internet connection) and install this application getaddrinfo always return EAI_NONAME(8). I close application and run Safari then run my application - all work. What's problem?
- (void)viewDidLoad {
[super viewDidLoad];
const char* hostname = "google.com";
...
is my UIViewController freed when i call another controller ?
How to release memory of controller when i push to another controller ? i take more than 40Mo and application leave because of LOW MEMORY(No leak).
[self.navigationController pushViewController:[[MainListController alloc] init:self] animated:NO];
@interface MainListControlle...
I am currently developing an app that receives Push Notifications. I have this all working 100% through a PHP page. There are several different types of push notifications my app can receive. The PHP handles this and sends different packets of information to my app which are all received just fine.
However, when the users "views" the n...
I am tracking a touch sequence on a view. The view is in an hierarchy of 3 other views, and nothing is covering it.
When touches begin, until touches moved, I get an delay of 0.2 seconds. all following touchesMoved have a small delay of only 0.01 seconds.
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
lastTime =...
Hi,
Is there a way for my app to call a certain number and to play a certain sound?
Thanks.
...