Implementing transaction methods for Android