Does anyone have a code example for getting the unread mail count from K-9 mail? (Either per-account, or an overall value?)
All I've been able to find is documentation on receiving new mail notifications.
benjymous said:
Does anyone have a code example for getting the unread mail count from K-9 mail? (Either per-account, or an overall value?)
All I've been able to find is documentation on receiving new mail notifications.
Click to expand...
Click to collapse
@benjymous
Did you ever find any, I've been looking through the source code of K9 mail, and there seems to be no easy way to just get the unread count.
^I'm_With_Stupid said:
@benjymous
Did you ever find any, I've been looking through the source code of K9 mail, and there seems to be no easy way to just get the unread count.
Click to expand...
Click to collapse
Actually, yes. Here's the code for a dashclock widget I made, that should provide a nice self contained example.
I haven't tried it in a year or so, so things might've changed again, but it should point you in the right direction, at least.
https://github.com/benjymous/dashclock-k-9
benjymous said:
Actually, yes. Here's the code for a dashclock widget I made, that should provide a nice self contained example.
I haven't tried it in a year or so, so things might've changed again, but it should point you in the right direction, at least.
https://github.com/benjymous/dashclock-k-9
Click to expand...
Click to collapse
Edit: IT WORKS!!!!!!!!!!
Related
I'm hoping someone can help me out here. I'm using my X10's Gmail client for all my emails, but one problem which I have is that when I receive email, the name of the sender is not displayed, only the email address. This means having to memorise people's email addresses in order to determine who sent it exactly.
I know definitely that I have names in my address book, when I go to compose the name is there perfectly. But it doesn't show up on received mail. Any way to fix this? This is for ALL of my email, not just a few.
Thanks for any help.
ganny said:
Any way to fix this? This is for ALL of my email, not just a few.
Click to expand...
Click to collapse
Strange, works fine for me in that it does display the name and can't find any settings to change it so it doesn't.
XperiaX10iUser said:
Strange, works fine for me in that it does display the name and can't find any settings to change it so it doesn't.
Click to expand...
Click to collapse
Thanks for your attempt anyway. Its a really strange issue, I swear it used to work before.
I just noticed that I'm facing the same issue on my desktop Gmail too... Perhaps I've set something wrong with desktop Gmail?
EDIT: Actually I just realised: http://ask.metafilter.com/140633/Can-I-change-a-senders-display-name-in-Gmail
It looks like Gmail doesn't cross-reference back to contacts. That's terrible in my opinion, as I'm using my phone here in Japan, where everyone has incomprehensible emails, and they don't change their "From:" tag, making things a real pain.
Is there any email app that can detect dates/times in messages and offer a link to set an appointment like the iphone email app does? Thanks.
VerticalCobra said:
Is there any email app that can detect dates/times in messages and offer a link to set an appointment like the iphone email app does? Thanks.
Click to expand...
Click to collapse
Doesn't the standard Touch-wiz Email app do this? Running CM10 now so I can't check, but I am 99% certain it hyperlinked dates and words like "today", "tomorrow", etc.
jsmith8858 said:
Doesn't the standard Touch-wiz Email app do this? Running CM10 now so I can't check, but I am 99% certain it hyperlinked dates and words like "today", "tomorrow", etc.
Click to expand...
Click to collapse
Thanks. Never used stock myself. Will look into it.
I have two IMAP email accounts. One of them is working fine, but on the other one my phone does not show the body of plain text emails. Emails are received properly and all the other information downloads and displays properly (subject, sender, time, etc.) but when I go to view the body I just see a blank screen and there is no text there at all (not even white on white).
I have deleted the account and set it up again and have the same issue.
slap_shot_12 said:
I have two IMAP email accounts. One of them is working fine, but on the other one my phone does not show the body of plain text emails. Emails are received properly and all the other information downloads and displays properly (subject, sender, time, etc.) but when I go to view the body I just see a blank screen and there is no text there at all (not even white on white).
I have deleted the account and set it up again and have the same issue.
Click to expand...
Click to collapse
Sounds to me like it must be something on the server side. Are both accounts hosted on the same server? Do you have control over the MTAs? Can you compare the setups of the two accounts? If that doesn't help (they're the same) then are there any differences in the definitions of the two accounts in your mail client?
sixedup said:
Sounds to me like it must be something on the server side. Are both accounts hosted on the same server? Do you have control over the MTAs? Can you compare the setups of the two accounts? If that doesn't help (they're the same) then are there any differences in the definitions of the two accounts in your mail client?
Click to expand...
Click to collapse
Thanks for the suggestion. I checked with my web host and it turns out there was a SmarterMail server patch that caused the bug. It has since been patched and is working now. Thanks for the suggestions, though -- that was good advice.
Sent from my ASUS Transformer Pad TF700T using XDA Premium HD app
slap_shot_12 said:
Thanks for the suggestion. I checked with my web host and it turns out there was a SmarterMail server patch that caused the bug. It has since been patched and is working now. Thanks for the suggestions, though -- that was good advice.
Click to expand...
Click to collapse
Glad to hear that you're sorted - and good to hear that your host is on the ball too
I'm wondering if anyone knows of any apps/utils that notify you of new emails (without actually checking email directly on the phone). What I mean is, an app that I guess checks it in the background or whatever, then pops up letting you know you have mail "to check". When I had my "other phone" there was an app called Ultimate Notifier that did this - I didn't have to check my email constantly, and I'd only get notifications that I had email "to check" when I did.
I've found a few apps in the market, but none seem to either work at all, or even do what I'm wanting to do. I know it's not an issue to check email every hour or whatever, but sometimes I prefer to just be notified that I have an email, and if I decide to check it, I check it, if not I don't, at least I was notified anyhow.
Hopefully there's "an app" for that, lol. It's the only thing I miss coming from my "old phone" If it matters, I'm using AquaMail, and the few that I have found are for K9 mail (and haven't been updated in years).
Thanks.
boxermansr said:
I'm wondering if anyone knows of any apps/utils that notify you of new emails (without actually checking email directly on the phone). What I mean is, an app that I guess checks it in the background or whatever, then pops up letting you know you have mail "to check". When I had my "other phone" there was an app called Ultimate Notifier that did this - I didn't have to check my email constantly, and I'd only get notifications that I had email "to check" when I did.
I've found a few apps in the market, but none seem to either work at all, or even do what I'm wanting to do. I know it's not an issue to check email every hour or whatever, but sometimes I prefer to just be notified that I have an email, and if I decide to check it, I check it, if not I don't, at least I was notified anyhow.
Hopefully there's "an app" for that, lol. It's the only thing I miss coming from my "old phone" If it matters, I'm using AquaMail, and the few that I have found are for K9 mail (and haven't been updated in years).
Thanks.
Click to expand...
Click to collapse
I'm confused. All email I thought had this built in. I use Gmail, Yahoo (through built in email app) and Outlook through touchdown. Gmail and outlook are push so every time I get an email I can have it notify me. Yahoo checks every 1/2 hour and notifies me if I have a new email.
why would you need an external app unless you don't have nay kind of setting to auto update mail or push?
zetachi said:
I'm confused. All email I thought had this built in. I use Gmail, Yahoo (through built in email app) and Outlook through touchdown. Gmail and outlook are push so every time I get an email I can have it notify me. Yahoo checks every 1/2 hour and notifies me if I have a new email.
why would you need an external app unless you don't have nay kind of setting to auto update mail or push?
Click to expand...
Click to collapse
Because I don't have it set to update. I generally do, but wanted to have it the way I had it with my other device. It'd just notify that I *had* an email (it wouldn't pull it or anything), and I could choose to check it or not check it. I know it seems silly, but it's just the way I preferred it I suppose.
boxermansr said:
Because I don't have it set to update. I generally do, but wanted to have it the way I had it with my other device. It'd just notify that I *had* an email (it wouldn't pull it or anything), and I could choose to check it or not check it. I know it seems silly, but it's just the way I preferred it I suppose.
Click to expand...
Click to collapse
OK not sure if you do this to save battery life or whatever but if so it would not make sense since the other app would be reaching out (push) to see if there was any email. So it would be a wash one vs the other.
zetachi said:
OK not sure if you do this to save battery life or whatever but if so it would not make sense since the other app would be reaching out (push) to see if there was any email. So it would be a wash one vs the other.
Click to expand...
Click to collapse
A bit of battery saving. I'm not sure how the app I was using with my other device worked (It was called Ultimate Notifier), but their system checked my email server(s) to see if I had messages, if I did, it'd just send me a push notification - I wasn't "polling" any email servers on my end.
boxermansr said:
A bit of battery saving. I'm not sure how the app I was using with my other device worked (It was called Ultimate Notifier), but their system checked my email server(s) to see if I had messages, if I did, it'd just send me a push notification - I wasn't "polling" any email servers on my end.
Click to expand...
Click to collapse
Umm...Ultimate Notifier was made at a time when Push email didn't exist outside of using MobileMe. It was made useless when Apple allowed Push mail with Gmail and POP3 boxes. What you were, in essence, doing is polling the Ultimate Notifier server in the same way that phones today poll Gmail (or other boxes). It used no less battery. In fact, if you know how Push notifications work it doesn't matter if you have 1 service (in your case Ultimate Notifier) or 10 services, you're not using any more battery. The only thing using the battery is downloading the emails, which probably accounts for about 10 minutes of battery a day.
In essence, there's no need for an app like that when every email app can do it natively. It uses the same amount of battery. If you liked how it looked and such...that can probably be done with a few other apps (different email apps or notification apps).
Please read forum rules before posting
Questions and Help issues go in Q&A and Help sections
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Very simple question. Seems like I can't find anyone else who has this question for some reason. I would think that several other people also wonder about this, unless I just simply missed something.
How do I choose a custom mail app for mail? When I choose a theme and click on the widget for email, it asks me to choose Email, Gmail, and Voicemail. However, I use CloudMagic for my email, so this doesn't work for me...
Does anyone have any clue how I can fix this?
There is no clue. Themer only supports gmail at the moment.
altjx said:
Very simple question. Seems like I can't find anyone else who has this question for some reason. I would think that several other people also wonder about this, unless I just simply missed something.
How do I choose a custom mail app for mail? When I choose a theme and click on the widget for email, it asks me to choose Email, Gmail, and Voicemail. However, I use CloudMagic for my email, so this doesn't work for me...
Does anyone have any clue how I can fix this?
Click to expand...
Click to collapse
3rd Party Email account support is coming soon!
thx, i have seen all of this videos but there was no 3rd party mail described.
Now we have to wait :crying:
You say coming soon, but December of last year you said it would be coming in a few weeks http://forum.xda-developers.com/showthread.php?t=2575602.
So is it actually coming soon this time?
strangeshay said:
You say coming soon, but December of last year you said it would be coming in a few weeks http://forum.xda-developers.com/showthread.php?t=2575602.
So is it actually coming soon this time?
Click to expand...
Click to collapse
Icon notifications for any app has just been released into the beta testing community, so it shouldn't be much longer for that to arrive. However this is different to displaying email counts in Zooper, which is a much more complicated process.