[Q] CM9 & Email subfolder notification

Search This thread

Gr0m03eka

Member
Mar 31, 2011
38
18
Thanks a lot for the mod, works perfectly on my phone and tablet both running CyanogenMod 10.1.
Could You implement one more thing: in "Sent" folder of all accounts (Exchange and IMAP) mail should be displayed by "Recipient" (to whom I send mail), but not sender (me).
Thanks again.
 

Sanfe

Member
Mar 20, 2007
14
3
Valencia
Hi Thenetstriker

Thanks for your great mod. I like to make you a suggestion:

Its possible to delete the "recent folders" section. Seems that its a bit useless and are a bit confused when use the app



Enviado desde mi Nexus 7 con Tapatalk 4
 

Thenetstriker

Senior Member
Jul 24, 2008
163
104
Sorry for the late reply. I've just compiled a new version of my modified email app using the latest CyanogenMod 10.2 source. Works pretty good on my Sony Xperia Z.
 

Attachments

  • Email_cm10.2.zip
    2 MB · Views: 138

Thenetstriker

Senior Member
Jul 24, 2008
163
104
Yesterday I took the time and looked at the code of the email app again and I think I found a much cleaner and simpler solution with less code changes. On my Xperia Z it works very good so far. I've attached the code changes and the install zip to this message. Please report any problems that occur with this version. If there are no problems with this version I will try to submit the changes to the CyanogenMod repository. I think this solution could be clean enough for them to merge it into their sources.

For those who have problems installing the zip file: Please check if the email apk file under /system/app is also named Email2.apk. If it has another name then rename the file in the zip file to match the name on your device so that it will be overwritten on install.
 

Attachments

  • EmailTest.patch
    31.8 KB · Views: 107
  • EmailTest.zip
    2 MB · Views: 255

Crall

Member
Sep 16, 2010
14
0
Kungsbacka
With the latest zip I seem to have some issues with the exchange that I didn't have with the old one. I use teamsek unofficial 10.2 rom

Skickat från min GT-I9300 med Tapatalk 4
 

Attachments

  • uploadfromtaptalk1379581057825.jpg
    uploadfromtaptalk1379581057825.jpg
    79.1 KB · Views: 151
  • uploadfromtaptalk1379581078333.jpg
    uploadfromtaptalk1379581078333.jpg
    64.2 KB · Views: 128

drosophyle

New member
Jan 18, 2009
3
0
unreads

Hello,
I have a brand new Nexus 4 runing on 4.3.
I would like to see all unread emails (including those from subfolders) in my inbox. Sounds like you found the solution but I have tried with no success to install your app. Besides, I do not know what to do with the patch file. Please advise,
Droso
 

drosophyle

New member
Jan 18, 2009
3
0
Hi again,
I guess I have found a trick to avoid that problem.
Just set all your outlook rules as "Client Only". Emails will land into your inbox on your phone (notifications working), and on your set subfolders in your outlook...
 

Crall

Member
Sep 16, 2010
14
0
Kungsbacka
Yesterday I took the time and looked at the code of the email app again and I think I found a much cleaner and simpler solution with less code changes. On my Xperia Z it works very good so far. I've attached the code changes and the install zip to this message. Please report any problems that occur with this version. If there are no problems with this version I will try to submit the changes to the CyanogenMod repository. I think this solution could be clean enough for them to merge it into their sources.

For those who have problems installing the zip file: Please check if the email apk file under /system/app is also named Email2.apk. If it has another name then rename the file in the zip file to match the name on your device so that it will be overwritten on install.

I dont know what to do, after installing the latest of your version the exchange keeps the phone awake all the time. Done a clen install of everything but the issue remains. Using it with Exchange 2013.
 

Thenetstriker

Senior Member
Jul 24, 2008
163
104
I dont know what to do, after installing the latest of your version the exchange keeps the phone awake all the time. Done a clen install of everything but the issue remains. Using it with Exchange 2013.

I don't think that my changes are causing this problem because I didn't change anything in the exchange synchronisation. (This is a completeley separated app) But I also had these problem with the exchange synchronisation before. One time these problems occured because my exchange password was exired and one time I had to completeley delete my exchange account and add it again to solve the problem. Can you try if readding the exchange account solves your problem? (If this does not help try to delete the app data from the E-Mail and Exchange app completely and then readd the exchange account)
 
  • Like
Reactions: phubarr

Crall

Member
Sep 16, 2010
14
0
Kungsbacka
I don't think that my changes are causing this problem because I didn't change anything in the exchange synchronisation. (This is a completeley separated app) But I also had these problem with the exchange synchronisation before. One time these problems occured because my exchange password was exired and one time I had to completeley delete my exchange account and add it again to solve the problem. Can you try if readding the exchange account solves your problem? (If this does not help try to delete the app data from the E-Mail and Exchange app completely and then readd the exchange account)

Ok, i will try that. Thank you!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Ok here is my first release of my modified email app an the patch file for the jelly bean sourcecode. If you find any problems, please report them here, then I will try to fix them.
    4
    Here is my new release. I fixed the problem when multiple notifications are shown. Also I've corrected the behaviour that when a mailbox is currently open, notifications are suspended for this mailbox. I also disabled the notifications for all special folders, except the inbox. (e.g. deleted items, drafts etc. doesn't need notifications in my opinion)

    Please report any problems in this thread.
    4
    I've now also compiled the modified email app for CyanogenMod 10.1. (Email2.apk) Works perfectly on my Sony Xperia T.
    4
    I've found some time to look at the email app and managed it so far to create a version which shows a separate notification for each folder. But there are still some issues that I have to test and analyze. (e.g. notification is instantly recreated when opening the message over the notification) I will share the apk here if I can solve this problem.
    4
    I am using the Jellybean source to compile the app. In the app manifest is the minSdkVersion="14" so I think it should work in ics too. In the meantime I could resolve the last problems and now I am testing the app. Seams to work pretty well. I will release the app and my sourcecode here if I don't find more problems.