Hi all,
a large collection of tricks that you made with registry edit in your Windows Phone 7.
These are all hidden features, but simply editable from the registry directly from phone.
Month: January 2011
[WP7] Enable hidden MFG menu
Today a phone code to enable in your apps list a new tool, MFG!
[Objective-C] Get current Date and Time
Get current and formatted time from your simulator or device!
[code lang=”java” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]- (NSString*) getDateTime {
NSDateFormatter *formatter;
NSString *dateString;
formatter = [[NSDateFormatter alloc] init];
[formatter setDateFormat:@"dd-MM-yyyy HH:mm"];
dateString = [formatter stringFromDate:[NSDate date]];
[formatter release];
NSLog(@"Current data: %@", dateString);
return dateString;
}[/code]
eof
Rif: albertopasca.it
[Objective-C] Ipad popover controller
Hi all,
today a snippet to open in a view a popover controller. It’s the view with the arrow (do you know?)
Like this, take a look here:
[Objective-C] Send mail with attachments
Hi all,
with these lines of code you can use Apple iOS Mail system to send an email with an attachment!
It’s so easy that i don’t know this method!
[Objective-C] Add contact to contacts list
Hi all,
this is a simple way to add programmatically a “Person” into your iphone contacts list.
First of all you need to include Address Book frameworks into your project:
#import AddressBook/AddressBook.h
#import AddressBookUI/AddressBookUI.h