I'm trying to send a single image from my iPhone app to my Google App Engine Java server. On the server, I'm getting a FileUploadBase$InvalidContentTypeException, which is thrown when the request is not a multipart request. ServletFileUpload.isMultipartContent(req) is printing false. I'm trying to send an image, encoded as a jpeg, and...
Hello
I'm developing an app for iPad and I try to handle multiple orientation.
My app contains a webview and a loading UIImageView that appears when my webview is loading content.
This UIImageView has a background image that I set in InterfaceBuilder. When I change orientation to landscape, the image is cut.
I'd like the UIImageView t...
Hi,
I try to build an app for user that enter his data and this data will be post to a webserver for save in a Database. This web server returns some data back like Id or something else.
How I can receive the data the webserver returns back?
The transfer works already with NSMutableURLRequest. But I search for a sollution to read the an...
Hi, everyone,
I want to ask a question about iPhone. Is it possible to retrieve the creation time from the iPhone contacts of each record? Thank you.
...
Hello all,
When we gave our app for ad-hoc testing, our tester reported that the app could not be installed because iTunes gave the error "resources have been modified". Please note that the app installed fine previously with the same procedures which we implement for deploying apps during ad-hoc. The only difference is that the device ...
Hi every one.
I have NSMutableArray in which all object is in NSMutableDictionary i want to sort this array base on NSMutableDictionary with two key one is country and another is name.
Can any one Help me to use NSSort class to sort the array using multiple key.
Thanks in Advance
...
E.g.
I have a address say: mycompany.com
& there are MX records for this address as:
server1.mycompany.com
server2.mycompany.com
server2.mycompany.com
Now,there's a web serivce which is hosted on all 3 of above servers for redundancy or fallback.
So,before calling the web service from my iPhone app,I want to do lookup for mycompany.com...
-(void)alertOKCancelAction
{
// open a alert with an OK and cancel button
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Return Home" message:@"Are
you sure you want to return to the menu?" delegate:self cancelButtonTitle:@"Cancel"
otherButtonTitles:@"OK", nil];
[alert show];
[alert release];
}
-(void)alertConnect...
Hi,
I'm doing a iPhone app.
I created my own SwitchViewController Class (linked to the App-Delegate) which actually just
changes the various other Views / ViewControllers (e.g ViewA, ViewB) while the app is running.
When I know recieve a tap-gesture in the ViewController-A I would like to trigger a method (eg. switchViews:(id)sender) ...
Hi All,
In my application i am having 25 images, each image has corresponding music. I am playing the music when clicking on the image using avaudioplayer. But when i am clicking on all the images very fastly i am getting a error in console AudioQueuePrime posting message to kill mediaserverd (20) I am not able to fine why i am getting....
When using a property of type NSMutableDictionary outside of the class I cannot add objects.
This is the class.h file
@interface cSummary : NSObject
{
@public
NSMutableDictionary* PaymentMethodSalesTotals;
}
@property (nonatomic, retain) NSMutableDictionary* PaymentMethodSalesTotals;
@end
The class.m file is like this
...
Hi all,
Hopefully a nice and quick one for you...
the below code is working fine on the simulator, but not working on the iPhone, any ideas?
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
if([[dataTable cellForRowAtIndexPath:indexPath].textLabel.text isEqualToString:@"Telephone"]){
...
I'm facing quite "mysterious" problem. My App works fine with all build configurations on devices running iOS 4.x, but it crashes on iPhone running iOS 3.x immediately after launch, but only when compiled with Release configuration. With Debug config it runs with no problems, though.
I've spent a lot of time investigating possible cause...
I am trying to get OCUnit to do anything on my project, but I am failing :-(
Is there any good tutorial out there to get it work? Everything I find tells something different and they are all pretty complicated ...
What I tried is e.g.
set up a Unit Testing Target
add my Target as dependency
add a xxTest.m to my unit target and writ...
Hello All.
I have a problem about the font in iphone/ipad
Everyone knows UILabel can't do rich text.
So I choose FrontLabel http://github.com/zynga/FontLabel/blob/master/README
I guess what FrontLabel is doing is something like NSAttributedString and core text framework, and also, it is quite low level. But anyway, I have a problem....
Hey, I have created a textfield within two custom cells. One textfield shows the standard keyboard and the other the shows a pickerview when entered. The problem I have is when I move from the keyboard to pickerview textfield without clicking the "return" button on the keyboard, the keyboard doesn't resign. However when I do it using the...
Hi all
Yes, many people are saying about Rich Text in iphone ipad and many knows about NSAttributedString.
But how to use NSAttributedString please??? I searched for much time, no extract clues for this.
I know how to set up a NSAttributedString, then what should I do to display a text on iphone / ipad with rich text??
the official ...
hi all.
I have a large data to be displayed in Tableview cell can anybody tell me how to show just 10 of them after click display button.
and then add more 10 when user click on load more button.
Thanks in advance.
...
We are developing an iphone app that needs to process audio data in real time, but we are suffering with performance. The bottlenecks are in audio effects, which are in fact quite simple, but the performance hit is noticeable when several are added.
Most of the audio effects code is written in C.
We think there are two places we can us...
Hi guys,
i have a leak issue in my app.
I'm trying to add and remove objects to a NSMutableArray.
Here is the class Demande :
@interface Demande : NSObject {
//attibuts de la classe demande
NSString *demId;
NSString *demStatut;
NSString *demTitle;
NSString *demCreated;
NSString *demIdCopro;
NSString *demIdImmeuble;
NSString *demIdLo...