context.getContextResolved appliaction stopped - begginner in java
- by Szymad
I have a problem with my app.
I'm trying to execute query, but app stops every time.
This error occurs while trying to execute query.
I'm learing from Android Pro 3 book, but code presented in this book is deprecated.
package com.example.contactsabuout;
import android.net.Uri;
import android.os.Bundle;
import android.provider.Contacts;
import…