[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

Continue reading “[Objective-C] Add contact to contacts list”

[WP7] Open Url with Internet Explorer

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]

[WP7] Make phone call

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]

Windows Phone 7 Make Call

stay tuned!

[WP7] Send mail with default mail client

How to send a custom email from Windows Phone 7 with default configured client?

[code lang=”csharp” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]EmailComposeTask mail = new EmailComposeTask();
mail.To = "info@albertopasca.it";
mail.Subject = "info from app";
mail.Body = "message…";
mail.Show();[/code]

[Objective-C] Use database with sql (lite)

Here a simple tutorial to use SQLite in Objective-C to make complex iphone|ipad applications that uses a database!

First of all, you NEED to download Firefox, after that you need to download and install SQLite Manager Add On for Firefox from here.
The plugin will be used later…

Continue reading “[Objective-C] Use database with sql (lite)”