Comments (2)
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.
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)
- How to remove chip programmatically and duplicate post when adding participant
- Filter not working HOT 2
- Deleting chips with backspace HOT 1
- Inefficient API is used HOT 1
- Download Facebook nesel account HOT 2
- Packaging with aapt2 fails HOT 2
- How to pass a predefined recipient from one Activity to another? HOT 4
- filter contactList HOT 1
- Handle duplicate entries HOT 1
- Pixelated contact picture and chip outline
- Issue with selecting a chip to delete
- Issues deleting recipients HOT 1
- Don't allow selecting the same recipient more than once
- hello:android popupWindow put on autoCompleteTextview an error ,(android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@6bba548 is not valid; is your activity running?),only on Android 6.0
- addRecipient - duplicate chips
- Gmail account kellyjosh HOT 1
- NPE on paste (null tokenizer)
- NPE in afterTextChanged
- My cloud
- Hi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-chips.