Today a phone code to enable in your apps list a new tool, MFG!

Today a phone code to enable in your apps list a new tool, MFG!
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
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:
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!
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
Nuova versione, del 5/12/2012:
Eh si,
anche il mio nuovissimo Windows Phone 7 fa di tutto per essere ritrovato!!!
E’ un LG Optimus 7 – E900 !
How to call Internet Explorer to open a custom url!
[code lang=”csharp” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]WebBrowserTask ie = new WebBrowserTask();
ie.URL = "http://www.albertopasca.it";
ie.Show();[/code]
Bene,
come al solito Microsoft non si tira indietro e presenta il nuovo SDK per Windows Phone 7 e XBOX 360!
Provato subito in anteprima!
This is my first post about Windows Phone 7 SDK!
It’s a C# snipplet to make call from your phone using PhoneCallTask!
[code lang=”csharp” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]
PhoneCallTask pct = new PhoneCallTask();
pct.DisplayName = "Alberto Pasca";
pct.PhoneNumber = "+39328111111";
pct.Show();
[/code]