Hitman46 / dashclock

Automatically exported from code.google.com/p/dashclock
0 stars 0 forks source link

Gmail Unread Count - More Labels #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to add a list of user-defined Gmail labels to the Gmail 
Extension? I have a fair number of emails that skip the inbox and go straight 
to a different label. It would be especially nice to be able to checkbox select 
several labels, even if the notifier only displayed a total unread count of 
those labels selected.

Original issue reported on code.google.com by nick.ten...@gmail.com on 13 Feb 2013 at 5:22

GoogleCodeExporter commented 8 years ago
I am not sure if the Gmail Content Provider allows you to query every label.

I just tried modifying the LabelsQuery to include the name and when iterating 
with:

while (cursor.moveToNext()) {
  Log.d("TAG", "label from cursor: " + cursor.getString(LabelsQuery.NAME));
}

Every label is "Inbox"

@roman?

Original comment by maca...@gmail.com on 19 Feb 2013 at 2:01

GoogleCodeExporter commented 8 years ago
It does let you query more than one label. Legitimate feature request, but not 
something I'll have time to address in the immediate future.

Original comment by roman.nurik on 20 Feb 2013 at 5:25

GoogleCodeExporter commented 8 years ago
This is a modified gmail extension with support for custom labels.
https://play.google.com/store/apps/details?id=com.vardhan.teja.dashclock.gmailex
tension
You can go through the code here: 
https://code.google.com/p/gmail-dashclock-extension/ after i upload it in a day 
or two

Original comment by tejavard...@gmail.com on 5 Mar 2013 at 12:06