Code example for RingtoneManager

0
	private final Profile mConvertProfile;
	private final RingtoneManager mRingtoneManager;
	 
	public ProfileAdapter(Activity activity, Cursor c) {
		super(activity, c);
		mRingtoneManager = new RingtoneManager(activity);
		mConvertProfile = new Profile(mRingtoneManager);
		 
	} 
	 
	public ProfileAdapter(Activity activity, Cursor c, boolean autoRequery) {
		super(activity, c, autoRequery);
		mRingtoneManager = new RingtoneManager(activity);
		mConvertProfile = new Profile(mRingtoneManager);
	} 
 
	@Override 
	public Profile getItem(int position) {
		return new Profile(mRingtoneManager, (Cursor)super.getItem(position));
	} 
Stop searching for code, let great code find you!  Add Codota to your java IDE