Click here to Skip to main content
15,892,005 members

chaitanya shah - Professional Profile



Summary

Follow on Twitter      Blog RSS
10,357
Author
119
Authority
27
Debator
40
Editor
8
Organiser
368
Participant
0
Enquirer
I have experience in iOs, Objective C,Java,C++/Vc++ 6.0,vc.Net,MFC,ATL,COM,WTL.

You can contact me on chaitanya.ce@gmail.com if you have any query.

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneraliOS Device UUID Pin
chaitanya shah21-Aug-11 23:11
chaitanya shah21-Aug-11 23:11 
GeneralCreate Apple id free Pin
chaitanya shah10-Feb-11 23:46
chaitanya shah10-Feb-11 23:46 
GeneraliPhone Bar Button click event Pin
chaitanya shah30-Sep-10 23:30
chaitanya shah30-Sep-10 23:30 
GeneraliPhone old SDK path Pin
chaitanya shah29-Aug-10 22:06
chaitanya shah29-Aug-10 22:06 
GeneraliPhone SDK path Pin
chaitanya shah29-Aug-10 22:05
chaitanya shah29-Aug-10 22:05 
GeneralApple How to Detect Device Type Pin
chaitanya shah29-Aug-10 20:13
chaitanya shah29-Aug-10 20:13 
#import <sys utsname.h="">

/**
@brief helper class to detects the device on which the program is running
*/
@interface DeviceDetection : NSObject

enum {
MODEL_UNKNOWN=0,/**< unknown model */
MODEL_IPHONE_SIMULATOR,/**< iphone simulator */
MODEL_IPAD_SIMULATOR,/**< ipad simulator */
MODEL_IPOD_TOUCH_GEN1,/**< ipod touch 1st Gen */
MODEL_IPOD_TOUCH_GEN2,/**< ipod touch 2nd Gen */
MODEL_IPOD_TOUCH_GEN3,/**< ipod touch 3th Gen */
MODEL_IPHONE,/**< iphone */
MODEL_IPHONE_3G,/**< iphone 3G */
MODEL_IPHONE_3GS,/**< iphone 3GS */
MODEL_IPHONE_4, /**< iphone 4 */
MODEL_IPAD/** ipad */
};

/**
get the id of the detected device
*/
+ (uint) detectDevice;
/**
get the string for the detected device
*/
+ (NSString *) returnDeviceName:(BOOL)ignoreSimulator;

@end

#import "DeviceDetection.h"

@implementation DeviceDetection

+ (uint) detectDevice {
NSString *model= [[UIDevice currentDevice] model];
struct utsname u;
uname(&u);

if (!strcmp(u.machine, "iPhone1,1")) {
return MODEL_IPHONE;
} else if (!strcmp(u.machine, "iPhone1,2")){
return MODEL_IPHONE_3G;
} else if (!strcmp(u.machine, "iPhone2,1")){
return MODEL_IPHONE_3GS;
} else if (!strcmp(u.machine, "iPhone3,1")){
return MODEL_IPHONE_4;
} else if (!strcmp(u.machine, "iPod1,1")){
return MODEL_IPOD_TOUCH_GEN1;
} else if (!strcmp(u.machine, "iPod2,1")){
return MODEL_IPOD_TOUCH_GEN2;
} else if (!strcmp(u.machine, "iPod3,1")){
return MODEL_IPOD_TOUCH_GEN3;
} else if (!strcmp(u.machine, "iPad1,1")){
return MODEL_IPAD;
} else if (!strcmp(u.machine, "i386")){
//NSString *iPhoneSimulator = @"iPhone Simulator";
NSString *iPadSimulator = @"iPad Simulator";
if([model compare:iPadSimulator] == NSOrderedSame)
return MODEL_IPAD_SIMULATOR;
else
return MODEL_IPHONE_SIMULATOR;
}
else {
return MODEL_UNKNOWN;
}
}

+ (NSString *) returnDeviceName:(BOOL)ignoreSimulator {
NSString *returnValue = @"Unknown";

switch ([DeviceDetection detectDevice])
{
case MODEL_IPHONE_SIMULATOR:
returnValue = @"iPhone Simulator";
break;
case MODEL_IPOD_TOUCH_GEN1:
returnValue = @"iPod Touch";
break;
case MODEL_IPOD_TOUCH_GEN2:
returnValue = @"iPod Touch";
break;
case MODEL_IPOD_TOUCH_GEN3:
returnValue = @"iPod Touch";
break;
case MODEL_IPHONE:
returnValue = @"iPhone";
break;
case MODEL_IPHONE_3G:
returnValue = @"iPhone 3G";
break;
case MODEL_IPHONE_3GS:
returnValue = @"iPhone 3GS";
break;
case MODEL_IPHONE_4:
returnValue = @"iPhone 4";
break;

case MODEL_IPAD:
returnValue = @"iPad";
break;
default:
break;
}

return returnValue;
}

@end
GeneraliPhone steps to get image from URL(String) Pin
chaitanya shah22-Aug-10 2:15
chaitanya shah22-Aug-10 2:15 
AnsweriPhone Email Validation Regex Pin
chaitanya shah19-Aug-10 22:07
chaitanya shah19-Aug-10 22:07 
GeneralHow to find angle between two GPS Location [modified] Pin
chaitanya shah8-Apr-10 19:31
chaitanya shah8-Apr-10 19:31 
GeneralHiding console window in VC++ & C# [modified] Pin
chaitanya shah15-Jan-09 3:21
chaitanya shah15-Jan-09 3:21 
GeneralMS SQL 2000 --- Table Permission Or Size [modified] Pin
chaitanya shah17-Nov-08 23:39
chaitanya shah17-Nov-08 23:39 
GeneralMs SQL 2000 Get row count of all the tables Pin
chaitanya shah17-Nov-08 23:23
chaitanya shah17-Nov-08 23:23 
GeneralSearch Content in Store_Procedure [modified] Pin
chaitanya shah10-Jul-08 4:37
chaitanya shah10-Jul-08 4:37 
GeneralEvent Viewer which is Windows log. [modified] Pin
chaitanya shah29-Jun-08 23:55
chaitanya shah29-Jun-08 23:55 
GeneralMultimedia Applications Pin
chaitanya shah13-Jun-08 1:39
chaitanya shah13-Jun-08 1:39 
GeneralAPI [modified] Pin
chaitanya shah21-May-08 0:21
chaitanya shah21-May-08 0:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.