Submit Blog Login Last Submitted Blogs RSS Archive Contact  
Cisco Exploration CCNA 4.0
 
 
 

Cisco Exploration CCNA 4.0
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
Language: English
RSS Feeds for this Blog
Statistics
Unique Visitors: 0
Total Unique Visitors: 4180208
Visitors Out: 1222
Total Visitors Out: 3095
 
 
Articles
SQLite database on PhoneGap
2012-05-09 01:49:27
I want to implement SQLite database for iPhone using PhoneGap. I know some basics SQLite database in iPhone native application. But how can I implement SQLite database in PhoneGap? Source: Tips4all...
 
How can I make a phone call programmatically on iPhone?
2012-05-08 20:26:18
How can I make a phone call programmatically on iPhone? i tried the following code but nothing is happening: NSString *phoneNumber = mymobileNO.titleLabel.text; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]]; Can anyone please help me with how to do this? Source: Tips4all...
 
how can I dismiss keyboard when I will just touch anywhere except UITextField?
2012-05-08 20:25:42
Hello I have two UITextFields in my application, and want to dismiss the keyboard when I just touch anywhere except the UITextFields how can I do this? Source: Tips4all...
 
Why does mp4 video plays fine on iPad, not on iPhone?
2012-05-08 20:25:27
I'm quite stumped on this issue. I have a large library of H.264 mp4 video files that I need to have play on iOS. Originally, I was targeting only iPad, but requirements have changed and now I need to include iPhone. But I've noticed that my iPod Touch, which has exactly the same OS version and build id as my iPad, won't play the same files that I've been successfully using on the iPad. I've confirmed this with a colleague who also has an iPhone and iPad with the same version & build. I've also seen the exact same behavior in the iPad simulator, but until now I figured it was a quirk of the simulator. Now I'm not so sure. The mp4s are encoded with the following settings: AVC Coding 640x360, Millions AAC, Stereo (L R), 44.100 kHz 29.97 fps 693.35kb/s I've tried loading the media off multiple servers and even locally and it doesn't seem to make a difference. If I export these files from QuickTime as m4v files, they play fine on all devices and simulators, so my...
 
NSMutableString as retain/copy
2012-05-08 20:25:15
I have aa number of NSMutableString's in my app (almost 10-11); all defined as ivar/property @property (nonatomic, retain) NSMutableString *str1; I read somewhere that it is better to use "copy" for strings. Is that true? If yes, can I just replace retain to copy in my app and remove the release in dealloc ? Do I need to consider some other things as well ? Also, is it normal to have 10-11 NSMutableString's in 1 app..I mean from memory usage perspective ? I also have 4-5 NSMutableDictionary's as well in my app. Please let me know if that is fine. Source: Tips4all...
 
Edge Detection of Image in iPhone Using Image Magick
2012-05-08 20:25:01
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. Source: Tips4all...
 
Center UIPickerView Text
2012-05-08 20:24:43
So I have a uipickerview with rows that only contain the number 0-24 and it looks a bit silly since the numbers are left aligned leaving a huge gap on the right of the pickerview. Is there an easy way to center align text in a uipickerview? Source: Tips4all...
 
Custom UITableViewCell redraw issues
2012-05-08 20:24:29
I have a custom UITableView cell that I've added a textbox to for editing, that shows and hides based on the edit mode. I've also tried adding a vertical line that shows when editing, and it does that, but I'm running into some drawing issues. I just added a green checkmark rightView to start working on input validation feedback, and I'm seeing similar issues. Here is the code for the cell, and part of my cellForRowAtIndexPath. #import <UIKit/UIKit.h> @interface EditableCellStyle2 : UITableViewCell { CGRect editRect; UITextField *editField; UIView *lineView; } @property (nonatomic, readonly, retain) UITextField *editField; @property (nonatomic, readonly, retain) UIView *lineView; @end #import "EditableCellStyle2.h" @implementation EditableCellStyle2 @synthesize editField; @synthesize lineView; - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super initWithS...
 
Objective-C IOS development: Animations Autoreverse
2012-05-08 20:24:18
I have a problem with the setting UIViewAnimationOptionAutoReverse. Here is my code. CALayer *aniLayer = act.viewToChange.layer; [UIView animateWithDuration:2.0 delay:1.0 options:(UIViewAnimationCurveLinear | UIViewAnimationOptionAutoreverse) animations:^{ viewToAnimate.frame = GCRectMake(1,1,100,100); [aniLayer setValue:[NSNumber numberWithFloat:degreesToRadians(34)] forKeyPath:@"transform.rotation"]; } completion:nil ]; the problem is after the animation has reversed the UIView jumps back to the frame set in the animation block. I want the UIView to grow and "ungrow" and stop at it's original position. is there a solution without programming 2 consecutive animations. Thanks! Source: Tips4all...
 
Exclusive CSS for iPhone/Android
2012-05-08 20:24:04
I'm making a mobile-friendly stylesheet for a page of mine. Is there a simple way to make it show that stylesheet to iPhone/Android users? Or do I have to pull the user-agents and figure it out that way - and how do I do that? Also - any tools to make this sort of web dev easier? Source: Tips4all...
 
 
 
 
eXTReMe Tracker