Friday, April 29, 2011

How to find the own phone number in Iphone

NSString *phoneNumber = [[NSUserDefaults standardUserDefaults]
stringForKey:@"SBFormattedPhoneNumber"];
 
NSLog(@"Phone Number: %@", phoneNumber);

Thursday, April 28, 2011

Verifying iTunes video conversion and video syncing using sample QuickTime files

Verifying video conversion in iTunes

iTunes includes the capability to convert some movies into a format that can be played on your iPhone, iPad, iPod, or Apple TV that supports video playback. To verify that videos you convert using this feature play correctly, follow the steps below:
  1. When the conversion is complete, iTunes will create a copy of your movie in your iTunes library. There will be two movies listed with the same name. The sample_iTunes file with a kind of "MPEG-4 video file" is compatible with your device.
  2. Download this QuickTime sample movie: sample_iTunes.mov (right-click or Control-click this link and save it to your desktop). If you are using Internet Explorer, choose Save Target As from the shortcut menu. If you are using Safari, choose Download Linked File from the shortcut menu. Note: If the movie starts to play in a browser window, click Back and try again. (Make sure you hold the Control key down while clicking if you don't have a right button on your mouse).
  3. Open iTunes and add the sample movie "sample_iTunes.mov" to your Library. Note: The file may also appear as simply "sample_iTunes." To add the movie, open iTunes and choose Add to Library from the File menu.
  4. Locate and select the "sample_iTunes" file in iTunes.
  5. From the Advanced menu, choose Create iPod or iPhone Version or Create iPad or Apple TV version. While converting, you will notice an item named "Converting..." appear in the list on the left.
    The "Converting..." item disappears after the conversion is over.
  6. Connect your device and sync the converted sample movie to it.
  7. Eject your device in iTunes and disconnect it from the computer.
  8. On your device, find the "sample_iTunes" video and verify that it plays correctly.

Verifying video syncing to iPhone, iPad, and iPod

To verify that your device is syncing and playing movies that have been properly converted, follow these steps:
  1. Download this iPod-compatible sample movie: sample_iPod.m4v (right-click or Control-click the link and save it to your desktop). You may need to unzip this file if it is not automatically handled by your web browser. On Windows XP, right-click the downloaded zip archive and choose Extract All.
  2. Open iTunes and add the sample movie "sample_iPod.m4v" to your Library from the File menu. Note: The file may also appear as simply "sample_iPod".
  3. Connect your device and sync the pre-encoded sample movie to it.
  4. Eject your device in iTunes and verify that the "sample_iPod" movie plays correctly.

Troubleshooting Tips

If iTunes does not convert the "sample_iTunes.mov" file to a compatible version, consider the following options:
  • Verify that the sample movie plays in iTunes; if it doesn't, download and reinstall iTunes.
  • Verify that the video was converted correctly in iTunes using the procedure above.
If iTunes successfully converts the "sample_iTunes.mov" file to a compatible version, but your movie does not convert, consider the following options:
  • Recreate the movie from the original source material.
  • If your movie relies on a third-party QuickTime component, such as DivX, consult the vendor for software updates and additional support information.
If the iPod-compatible "sample_iPod.m4v" file does not sync to your device, consider the following options:
  • Verify that the sample movie plays in iTunes; if it doesn't, reinstall iTunes.

Wednesday, April 27, 2011

Free Software for Mac os

Web Browsing

firefox

Mozilla Firefox

The premier free, open-source browser. Tabs, pop-up blocking, themes, and extensions. Considered by many to be the world's best browser.
Download Page

Video Player, Torrents, Podcasting

miro

Miro

Beautiful interface. Plays any video type (much more than quicktime). Subscribe to video RSS, download, and watch all in one. Torrent support. Search and download from YouTube and others.
Download Page

IM - Instant Messaging

adium

Adium

Connect to multiple IM accounts simultaneously in a single app, including: AOL IM, MSN, and Jabber. Beautiful, themable interface.
Download Page

Video Converter, iPhone Converter

video converter

Miro Video Converter

Convert any type of video to mp4 or theora. Convert any video for use with iPhone, iPod, Android, etc. Very clean, easy to use interface.
Download Page | Mac App Store (free)

Application Launching

quicksilver

Quicksilver

Quicksilver lets you start applications (and do just about everything) with a few quick taps of your fingers. Warning: start using Quicksilver and you won't be able to imagine using a Mac without it.
Download Page

Email

thunderbird

Mozilla Thunderbird

Powerful spam filtering, solid interface, and all the features you need.
Download Page

Utilities

The Unarchiver

The Unarchiver

Uncompress RAR, 7zip, tar, and bz2 files on your Mac. Many new Mac users will be puzzled the first time they download a RAR file. Do them a favor and download UnRarX for them!
Download Page

DVD Ripping

handbrake icon

Handbrake

DVD ripper and MPEG-4 / H.264 encoding. Very simple to use.
Download Page

RSS

vienna

Vienna

Very nice, native RSS client.
Download Page
rssowl

RSSOwl

Solid cross-platform RSS client.
Download Page

Peer-to-Peer Filesharing

cabos icon

Cabos

A simple, easy to use filesharing program. Gnutella network.
Download Page
solarseek

SolarSeek

Soulseek filesharing for Mac, in a simple, solid client.
Download Page
transmission icon


Transmission

Very nice torrent downloader.
Download Page

Running Windows Software on Macs

Q

Q Emulator

Run Windows programs on your Intel Mac at near native speed. Works on G4 / G5 Macs too, but much slower.
Download Page

Podcasting

juice

Juice

Solid podcasting client.
Download Page

Video Playback

VLC

VLC

Plays more video files than most players: Quicktime, AVI, DIVX, OGG, and more. Pretty good interface.
Download Page
MPlayer

MPlayer

The interface and buttons are not as nice or as Mac-like in feel, but it may play even more video files than VLC.
Download Page
MPlayer

Perian

A plugin that allows quicktime to play additional video formats. (Included in Democracy Player.)
Download Page

iPod Ripping

iPodDisk

iPodDisk

Copy music off your iPod in the finder, like a regular disk drive.
Download Page

CD / DVD Burning

handbrake icon

Burn

CD and DVD Burner. Burn any video to a disc that plays in your DVD player!
Download Page

Privacy

vidalia

Vidalia

This TOR frontend keeps you anonymous on the web using military-grade techniques. For use with Firefox see: TorButton.
Download Page

Word Processing / Office Suites

bean

Bean

Very fast and easy to use word processor. Live word count, autosaving, more.
Download Page
openoffice

OpenOffice

OpenOffice is a full-featured, office suite compatible with Microsoft Word, Powerpoint, and Excel. Friends don't let friends pay for Microsoft Office.
Download Page
abiword

AbiWord

A word processor. Leaner and quicker than OpenOffice. Compatible with Microsoft Word documents and OpenDocument Format.
Download Page

Wifi Scanning

kismac

KisMac

The best wireless scanner for Mac. Find wireless access when you're on the go.
Download Page

Sound Recording

audacity

Audacity

Simple sound recording tool.
Download Page

Graphics, Photo, Publishing

seashore

Seashore

Based on Gimp, but doesn't require X11.
Download Page
formulate pro

Formulate Pro

An easy way to fill-out (or sign) PDFs that Preview can't edit.
Download Page
Xee

Xee

Fast image viewer and image browser.
Download Page
gimp

Gimp.app

Photo editing application that rivals Photoshop in features (requires X11).
Download Page
inkscape

Inkscape

Vector graphics application (requires X11).
Download Page
scribus

Scribus

Desktop publishing. Complicated install, but a nice app.
Download Page

FTP / SFTP

cyberduck

Cyberduck

Very good all-around ftp program.
Download Page
onebutton ftp

OneButton FTP

Simple, fast FTP, with a focus on "advanced queuing".
Download Page
fugu

Fugu

Not as polished as Cyberduck (and only for SFTP) but has a side by side interface showing your files and the remote files.
Download Page

HTML / Text Editing

smultron

Smultron

Text / html editor. Integrates with Cyberduck for editing websites.
Download Page
NVU

Nvu

Visual tool for making websites (WYSIWYG html editor), comparable to Dreamweaver.
Download Page

IRC

colloquy

Colloquy

Great IRC client.
Download Page

Web Development

wavemaker.gif

WaveMaker

A visual development tool for building great-looking web and cloud applications.
Download Page

Note Taking

freemind

Freemind

An innovative application for note taking and outlining. Takes time to get used to, but some people swear by it.
Download Page

Personal Finance

cashbox

Cashbox

Simple, easy to use application for managing personal finances.
Download Page
buddi

Buddi

A personal finance and budgeting program, aimed at those who have little or no financial background.
Download Page

MSN Chat

More Web Browsing

shiira

Shiira

Fast, nice web browser.
Download Page
sunrise browser

SunriseBrowser

Good webkit-based browser created with special tools for web designers.
Download Page
seamonkey

Seamonkey

Full-featured Mozilla browser, used to be called 'Mozilla Suite'.
Download Page

PDF Viewer

skim

Skim

PDF viewer.
Download Page

Screensaver

electric sheep

Electric Sheep

Immersive, trippy screensaver.
Download Page

More Filesharing

bittorrent

Tomato Torrent

Download torrents. Nice and simple.
Download Page
Also see: Poisoned - Azureus

3D Graphics and Modeling

blender

Blender

Powerful 3D Modeling software.
Download Page

Planetariums and Outer Space

celestia icon

Celestia

Open-source 3D planetarium software. Akin to traveling through space (outer space).
Download Page
stellarium icon

Stellarium

"Renders realistic skys in realtime." See what you would see if your city wasn't so light-polluted. Used in real planetariums.
Download Page
Also see: macORSA - Orbit Reconstruction, Simulation, and Analysis

Comic Viewer

jomic

Jomic

Read digital comics.
Download Page

Dance Dance Revolution

stepmania

Stepmania

Dance Dance Revolution clone. Can connect to external dance pads.
Download Page

Games

cube icon

Cube

Nice first-person shooter.
Download Page
Marathon: Aleph One icon

Marathon: Aleph One

Engine for Bungie's free FPS series Marathon. Play online, solo play with rich original story, many total conversions and thousands of maps.
Download Page
zombies icon

Zombies

3D zombie strategy game.
Download Page
armagetron

Armagetron Advanced

3D Tron game.
Download Page
BZflage logo

BZFlag

First-person tank game.
Download Page
Battle for Wesnoth logo

Battle for Wesnoth

Fantasy / Strategy Game
Download Page
Also see: Snes9X (SNES emulator), Frozen Bubble, PySol for Mac (card games), PLANESHIFT (3D Fantasy MMORPG), VDrift (drift racing simulation).

del.icio.us Client

cocoalicious

Cocoalicious

Let's you easily post to del.icio.us.
Download Page

Free File Hosting

CC Publisher

CC Publisher

Host Creative Commons video or audio files for free on archive.org with this easy uploader.
Download Page

Quick Links


Viewers Comic viewer: Comical
Comic viewer: FFView
OpenDocument viewing application: ODF Viewer

RSS and Usenet
RSS Reader: Feed
Cross-platform RSS reader: BlogBridge
RSS video podcast player: I/ON
Usenet Reader: OSXnews

IM, IRC, Chat
Multi-IM: Fire
Powerful IRC client: X-Chat Aqua
Videoconferencing client: XMeeting
PBX / Voip system: Asterisk

Graphics and Art
Draw on a moving canvas: Cosmic Painter
Image editor: Seashore
An artwork scaling calculator: Scaletron!
A Paint-like program designed for pixel-pushers: Pixen
A VRML/X3D Browser: FreeWRL
Video
Realtime Editing and Effects System: Jahshaka
Video transcoder: ffmpegX
MPEG convertor: MPEG Streamclip

Music and Audio
OGG Vorbis encoder (ogg is an open source audio codec): Ogg Drop
Music notation: LilyPond
Play and compose live music: Miraton
Max/MSP style realtime music and multimedia environment: Pd
Manage chords, lyrics, and projection: OpenSong

Wifi / Networking
Discover open wifi networks: iStumbler
A Prism/Prism2 driver 802.11: WirelessDriver
Fast, lightweight VNC client: Chicken of the VNC
VNC server providing remote access to the GUI, keyboard and mouse: OSXvnc

Utilities
Manage disk space: DiskInventoryX
Book management: Books
CD / DVD Burning: SimplyBurns
Disable sleep on a Mac: InsomniaX
Protect your laptop with a car-alarm style alarm: Multialarm
Remove extra languages from OSX to save disk space: Monolingual
System event notifications: Growl
System performance monitors: MenuMeters
Virtual desktop tool: Desktop Manager
Virus checker: ClamXav
Share mouse and keyboard between 2 or more computers: SynergyKM and Quick Synergy
Check available RAM: Memtest
Monitor CPU, RAM, battery, CPU temp, network, I/O, and more: X Resource Graph
Control your Mac via Bluetooth: Romeo

Writing and Typesetting
Screenplay writing and pre-production support: Celtx
Bibliography manager, BibTeX .bib format: BibDesk
Typesetting - TeX previewer for Mac OS X: TeXShop
Typesetting: iTexMac

Education
Education course management system: Moodle
Student information system: Focus / SIS
Another student information system: Centre

Programming
Development platform: Eclipse
SQL Editor: YourSQL

Math and Engineering
General purpose computer algebra system: Yacas
GNU S language: R
MATLAB style rapid engineering and scientific prototyping / data processing: FreeMat