Any context allows access to application-specific resources and classes, as well as up-calls for application-level operations such as launching activities, broadcasting and receiving intents, etc.
Normally you can use this.YourClassName
as context.
Eg: soundID = soundPool.load(this.MainActivity, R.raw.sound1, 1);