delete from Context by Uri - Android Network

Android examples for Network:Uri

Description

delete from Context by Uri

Demo Code


//package com.java2s;

import android.content.Context;

import android.net.Uri;

public class Main {
    public static int delete(Context context, Uri uri, String where) {
        return context.getContentResolver().delete(uri, where, null);
    }/* w w w .ja  v  a  2 s  .  c  o  m*/
}

Related Tutorials