GithubHelp home page GithubHelp logo

Comments (2)

klinker41 avatar klinker41 commented on June 11, 2024

The exception seems to say it all to me, the app needs permission to your
contacts and it isn't getting that.

On Tue, Aug 25, 2015, 11:53 AM vivotex [email protected] wrote:

I cant get the contact chips to be shown and suggested. If I download the
whole sample project completely and run it, that project works. But If I
add the chips library to into my own project gradle like instructed in
Readme (or just add chips library as a module) it gives this security
exception.
My phone is nexus 6 on api 22. And this is logcats Log.

08-25 21:12:38.604 4380-4533/com.sepidsa.fortytwocalendar W/Filter﹕ An
exception occured during performFiltering()!
java.lang.SecurityException: Permission Denial: opening provider
com.android.providers.contacts.ContactsProvider2 from ProcessRecord{1ce44f5
4380:com.sepidsa.fortytwocalendar/u0a197} (pid=4380, uid=10197) requires
android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
at android.os.Parcel.readException(Parcel.java:1546)
at android.os.Parcel.readException(Parcel.java:1499)
at
android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:3314)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:4624)
at
android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2472)
at
android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1442)
at android.content.ContentResolver.query(ContentResolver.java:462)
at android.content.ContentResolver.query(ContentResolver.java:422)
at
com.android.ex.chips.BaseRecipientAdapter.doQuery(BaseRecipientAdapter.java:953)
at
com.android.ex.chips.BaseRecipientAdapter.access$100(BaseRecipientAdapter.java:63)
at
com.android.ex.chips.BaseRecipientAdapter$DefaultFilter.performFiltering(BaseRecipientAdapter.java:248)
at android.widget.Filter$RequestHandler.handleMessage(Filter.java:234)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)


Reply to this email directly or view it on GitHub
#23.

from android-chips.

samparhizkar avatar samparhizkar commented on June 11, 2024

Right ... I was just gonna report that it's because of the permission. I think it be nice if you add that to Readme file.

from android-chips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.