标签:err class com ppc parse observer override app undle
public class MainActivity extends AppCompatActivity { private static final String TAG = "MainActivity"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Log.e(TAG, "onCreate: 111"); Uri uri = Uri.parse("content://ngyb.ltz/insert"); Log.e(TAG, "onCreate: 222"); getContentResolver().registerContentObserver(uri, true, new ContentObserver(new Handler()) { @Override public void onChange(boolean selfChange) { //System.out.println("哈哈哈,我执行了"); Log.e(TAG, "onChange:哈哈哈,我执行了 "); super.onChange(selfChange); } }); } }
标签:err class com ppc parse observer override app undle
原文地址:https://www.cnblogs.com/nangongyibin/p/10249662.html