How to fix (android.database.CursorWindowAllocationException) crash

前端 未结 2 981
温柔的废话
温柔的废话 2021-01-22 15:25

Before the Local Datastore feature in Parse was available, I used to have my own local database for offline app usage. I think everything worked well until I decided to add a ho

2条回答
  •  闹比i
    闹比i (楼主)
    2021-01-22 16:22

    I'll answer my own question to this: There's no solution at sight, no response from Parse team neither.

    I am now using SharedPreferences file to handle local data to feed the widget. Any use of Parse Local Datastore will yield into cursor errors over time.

    Hope this help someone experiencing the same problem while querying local sqlite databases from homescreen widgets and/or services.

提交回复
热议问题