Removed whitespace.
Added `enabled` flag and missing copyright notice.
Android example should match iOS example.