Friday, March 18, 2011

Mount NTFS partition or external drive with Read/Write permissions on MAC OS X

........ and the answer is NTFS 3G ........

NTFS-3G for Mac OS X is a software project designed to bring NTFS read/write support to Mac OS X along with additional advanced features.

It is based on NTFS-3G, the leading open source NTFS driver that is ported into numerous platforms, but also includes other software projects to build a complete toolset for managing NTFS volumes.

NTFS-3G itself is included in hundreds of Linux distributions; for example Fedora, Mandriva, openSUSE and Ubuntu use NTFS-3G as the default NTFS driver. Development has been ongoing since 2006.

Download NTFS 3G

Version 2010.10.2: Release notes were unavailable when this listing was updated.
  • PPC / Intel
  • Mac OS X 10.4 or later (the purely 64-bit kernel used by Xserves running Mac OS X 10.6 is not supported)
A freely and commercially available and supported read/write NTFS driver for Linux, FreeBSD, Mac OS X, NetBSD, Solaris, Haiku, and other operating systems. It provides safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 file systems.

NTFS-3G develops, quality tests and supports a trustable, feature rich and high performance solution for hardware platforms and operating systems whose users need to reliably interoperate with NTFS.

The driver is used by millions of computers, consumer electronics devices for reliable data exchange, and referenced in more than 30 computer books. Please see our test methods and testimonials on the driver quality page at

Wednesday, March 16, 2011

Check if internet is available : Android

This function will return true if you can access the internet (or false if you can't). You can change the parameter being return when roaming (read the comments).
* @return boolean return true if the application can access the internet
private boolean haveInternet() {
NetworkInfo info = ((ConnectivityManager)getSystemService
if (info == null || !info.isConnected()) {
return false;
if (info.isRoaming()) {
// here is the roaming option you can change it if you want to
// disable internet while roaming, just return false
return true;
return true;

In your manifest file add at least:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />