I have a UIImageView that is displaying a series of pictures as an animation. This part of the project works well.
I want to display a label when the animation ends. Is there an event that the Imageview will trigger when it's animation ends?
How can i connect buttons in the example of this Project. zip
Here's the link of the file--- (http://www.2shared.com/file/12046081/65fad040/Project.html).
Example: Button General Information connect to 3rd page, button Trainer information connect to the next pages number.
May i need to create a new .h/.m/xib file for each of the pages?? then,…
What is the use of viewDidUnload and didReceiveMemoryWarning methods?
When they actually get called?
what are the difference between dealloc, viewDidUnload and didrecievedmemorywarning?
Hi All
SaveNotes *saveNotes = [[SaveNotes alloc]initWithTitleString:title descrString:descr];
[titleDescrObjects addObject:saveNotes];
[saveNotes release];
from the above code i have saved title,descr to a class SaveNotes , and then i have stored that object in my NSMutableArray - titleDescrObjects,
Its working fine,
i need to get particular…
I would like to detect when the phone is in motion, but not all kind of motion. For example picking up or waving the phone should not trigger.
I would like ideally to run a code when the phone/person is in "walking" state. What options I have?
Hi , iam using setting.bundle and i try to show a hidden picture with Switch toggle , here is my code but i miss something :
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[//Some code show the hidden pic]; myPic.hidden = NO;
my key is .e.g = wood_back
should i use ObjectForKey ?
I have an activity with two buttons, start and stop. If the user press the start button a service is created using Context.startService. And the stop button calls Context.stopService.
I want the stop button to be the only way to destroy the service. Now, if i end the activity using a task manager, the service is killed as well. Is there any…
I have an iPad app where you add photos to a page. I then want to save the photos positions, then add further pages with more photo positions and eventually save all the pagesto be looked at later in a slideshow style.
Can anyone advise
1. Saving UIImageView states when moving to new views (or swapping views)
- I see this on using…
I'm only supporting the portrait orientation, but both the right-side-up and upside-down versions. Why do my subviews not resize appropriately? There's a status bar sized black space at the top of the view. If I change tabs and come back, it's corrected.
Hi,
I have coded like that(that function will be called again and again), but the returned object gives "BAD ACCESS", the NSLog prints correct string, but toReturn sometimes(i called
again and again) gives crashes..any help to alter this code
- (NSMutableArray *)getAll:(NSString *)type
{
NSLog(@"Type: %@", type);
…
Here is the viewDidLoad:
[self.view setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"bg.png"]]];
It can show the simulator, but not on the device, why?? thz.
Hi there,
I am developing an iPhone app, which now can update Twitter account with GPS coordinates in real-time, by the Twitter API link: http://username:password@twitter.com/statuses/update.xml , and I am looking at how to make my own database to accept updates from iPhone, via a similar API page.
It seems a .php page…
My map pins can be quite densely populated so that when a pin is selected the callout pops up but is mostly obscured by all the other map pins - I can bring the Map Pin to the front it there were a delegate for selected map pin ( not tapped callout, selected pin ).
Any suggestions for a work around ?
Hi
I have a grouped table with two sections where I display text with different length and therefore cell height.
I have solved the problem with the different length/height with constrainedToSize in cellForRowAtIndexPath.
Now I want to add a section with one single row in which I want to show a picture.
How should I…
Is it possible to get Autocomplete or Something when i work with the eclipse form editor?
I write a color in the strings.xml and then i want to select it by the propertys for the text color, but there is no autocomplete or something equal
Hi,
I have a TabActivity, and the tabs point to sub activities. Is there a way I can send a 'message' to those child activities? I just want to pass a string across, not sure if this is possible.
I have some data being fetched by the parent TabActivity, and the child tabs can't do anything useful until the parent is…
Hi,
in my app I use several png-graphics. For the present version they are installed with the app in the folder "graphic". I made while programming. Now I need some more png-graphics and I don't want to make each time an app-update. How can I manage it, that the app is downloading the png-files from my webserver…
I have a screen where the first field is an EditText, and it gains the focus at startup, also popups the numeric input type, which is very annoying.
How can I make sure that when the activity is started the focus is not gained, and/or the input panel is not raised?
I seem to be missing something obvious here, why would I want more than one activity per application in Android? Does somebody have some solid examples?
Hi,
I have a doubt in developing apps for iphone,
Can I develop authentication page(with secure login id and pwd) through which I can load my webcontent.
Does apple allow applications having login credentials or not?
Can anyone please let me know this.
Thanks in advance..
I have seen a lot of posts about this, and it seems like the code below should work. I have created an SD Card image and added it to the emulator (and that works fine).
Intent intent = new Intent(Intent.ACTION_PICK);
intent.setType("image/*");
…
can any one suggest me how to rotate image view with respect to any point on the image in iphone os.it will be very useful for me if any any body send me the sample code...