I need to mock a Cursor for some content provider unit tests, but the addRow method is not working for some strange reason. After adding a row, the co ...
I need to mock a Cursor for some content provider unit tests, but the addRow method is not working for some strange reason. After adding a row, the co ...
I have gone through and made sure all my Cursors are closed. I am running with strict mode with detectLeakedSqlLiteObjects and detectLeakedClosableObj ...
I have coded some code that connects to a databse in the internal storage of the device, runs a SQL statement to filter out excercises, then iterate t ...
I'm working o a calendar app with events and I save them in MyDatabaseHelpe, the events are shown in a listview by day, my problem is that in onitemcl ...
I am new to android using kotlin.I am getting this error message in my log. Caused by: java.lang.IllegalStateException: Couldn't read row 0, col -1 f ...
I'm getting the error following error when building the project in android studio error: Not sure how to convert a Cursor to this method's return ...
Lets say we have a simple EditText and I want to change the cursor(caret) to some other color, before we were use reflections to get access to the pri ...
I am currently using this code to access the recent images from /DCIM/ folder - final Cursor cursor = chatActivity.this.getContentResolver() ...
I am trying to make the blinking cursor disappear when the button is clicked in android, and I have no idea how to do than, can anyone help with that. ...
I want, that my cursor is moving to the next cell with different content and I want the cursor to skip over all cells that have a value that already e ...
My cursor in android studio(chipmunk) is changing itself from writing mode to overwrite mode whenever I select texts. And my ctrl + C and ctrl + V is ...
I am attempting to print the cursor results to log.d. When I print the results of the cursor, it does not print the array. i.e. D/Row values: c ...
I'm following this guide in creating an audio player: https://www.sitepoint.com/a-step-by-step-guide-to-building-an-android-audio-player-app/. The pro ...
I have a crud app project in android studio. I have done insert, update, delete and view all. The only one I'm having error with is the search functio ...
The issue I am running into is that I have a numeric Edit Text field where the cursor drives me crazy: Let's say you want to type 11115 but mistype 1 ...
I am trying to do a Media Player and the first step for that is to scan all the songs available in the external storage of the device. After that I wi ...
I have cursor adapter which extends one static class with one View How can i return on onCreateViewHolder CursorHolder2 or CursorHolder? Because I ...
For a particular reason I am adding a dummy content to my cursor. But after user have performed some actions I want to remove that dummy content I hav ...
I was working on a simple phone app that shows the Call log and contacts also offers the possibility to call someone " It's Simply A Phone Caller ". T ...
Why ContactsContract.CommonDataKinds.Event.START_DATE always returning contact number. The number is available in Google Contacts. Here what I am ...