GetResources im Adapter Android

private Context context; 
//in the Constructor, pass the context in the parametres
public TabAdapter(FragmentManager fm, Context context) {
   super(fm);
   this.context = context;
}

//and you can use it by:
context.getResources().
Fool lin