Vanilla 2.2 mail .apk?


Last Updated:

  1. mikep554

    mikep554 Member This Topic's Starter

    Joined:
    Jun 9, 2010
    Messages:
    14
    Likes Received:
    0
    Any chance someone can post the stock 2.2 mail client .apk? I'm hoping to get multiple exchange account access, which HTC didn't see fit to grant us.
     

    Advertisement
  2. yankeeboy

    yankeeboy Well-Known Member

    Joined:
    Nov 9, 2009
    Messages:
    346
    Likes Received:
    67
    Is this even possible? I can't stand the HTC Mail, would love the stock mail from like Droid X. For whatever reason, HTC Mail app doesnt have HTML email. I would however be weary of removing an inherent mail app for fear of screwing up anything.

    I have looked at a few other options like K-9 but am not a fan
     
  3. mikep554

    mikep554 Member This Topic's Starter

    Joined:
    Jun 9, 2010
    Messages:
    14
    Likes Received:
    0
    I don't want to REMOVE the HTC mail app, I just want to install and use the stock one.

    Someone posted a link a long time ago to the stock mail client from both 2.1 vanilla and the client from the Motorola Droid with 2.1 (basically identical other than the icon). They both ran fine on my Inc with 2.1. The only problem was that they didn't do Exchange calendar sync. Not as in a bug, they just didn't have that functionality.

    I want the 2.2 vanilla client because it is supposed to sync multiple Exchange accounts WITH calendars. Both the 2.1 and 2.2 version of the HTC app only do one Exchange account.
     
  4. adrynalyne

    adrynalyne Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    1,507
    Likes Received:
    885
  5. yankeeboy

    yankeeboy Well-Known Member

    Joined:
    Nov 9, 2009
    Messages:
    346
    Likes Received:
    67
  6. mikep554

    mikep554 Member This Topic's Starter

    Joined:
    Jun 9, 2010
    Messages:
    14
    Likes Received:
    0
    Thank you so much! I now have both my work and personal exchange calendars on my phone. Woohoo!
     
  7. Fmstrat

    Fmstrat Member

    Joined:
    Aug 5, 2010
    Messages:
    13
    Likes Received:
    1
  8. adrynalyne

    adrynalyne Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    1,507
    Likes Received:
    885
    I grabbed it from a Nexus One FRF91 dump and then signed it :)

    If you wanted to, you can grab the aosp source for the Mail.apk and compile it yourself if you want to add functionality.

    http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary
     
  9. Fmstrat

    Fmstrat Member

    Joined:
    Aug 5, 2010
    Messages:
    13
    Likes Received:
    1
  10. adrynalyne

    adrynalyne Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    1,507
    Likes Received:
    885
    I would be interested in seeing if you can implement that feature. That would be huge.

    That, and IMAP IDLE :)
     
  11. Fmstrat

    Fmstrat Member

    Joined:
    Aug 5, 2010
    Messages:
    13
    Likes Received:
    1
    I started looking into it, but I have to figure out how to recompile the entire SDK from scratch since Google thought it would be a good idea to not include Calendar providers in the SDK (they must think the interface is going to change). Once I can figure out my own custom android.jar for 2.2, I'll look to do it for the 2.2 reader.
     
    adrynalyne likes this.
  12. zn120

    zn120 Member

    Joined:
    Jun 24, 2010
    Messages:
    12
    Likes Received:
    1
  13. adrynalyne

    adrynalyne Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    1,507
    Likes Received:
    885
    Not sure. Probably not, but you can try it.
     
    Thepackfan likes this.
  14. IvanF

    IvanF New Member

    Joined:
    Aug 3, 2010
    Messages:
    2
    Likes Received:
    0
    I tried to install this version with Sprint HTC EVO with factory Android 2.1. Getting "there is a problem parsing the package".
    Generic 2.1 version of mail.apk installed fine, however no Exchange Calendar support. It installs as "email" and it can exist together with HTC "mail", no need to remove HTC client, just don't configure it.

    Does anybody have some suggestions where to find steps for compiling newer mail client for 2.1 or any other way to get this one to work on Android 2.1 ?


    Regards

    Ivan
     
  15. Fmstrat

    Fmstrat Member

    Joined:
    Aug 5, 2010
    Messages:
    13
    Likes Received:
    1
    Just to let anyone know who's using this APK, there may be a bug in it. While developing an unread widget I noticed when this client goes to check mail in the background, it sometimes creates a never-ending loop of AlarmManager entries until mail is checked again. It appears to happen only with Exchange calendars, not IMAP (POP untested). The fact that it is reporting verbosely in the log files confirms this is also not a final build email app. Example logs:


    08-07 15:58:31.874: VERBOSE/AlarmManager(226): Alarm triggering: Alarm{46656ed8 type 2 com.android.email}
    08-07 15:58:31.894: VERBOSE/AlarmManager(226): Adding Alarm{4660ca28 type 2 com.android.email} Dec 31 07:26:01 pm
    08-07 15:58:31.914: VERBOSE/AlarmManager(226): Adding Alarm{466094d8 type 2 com.android.email} Dec 31 07:00:00 pm
    08-07 15:58:31.914: VERBOSE/AlarmManager(226): Alarm triggering: Alarm{466094d8 type 2 com.android.email}
     
  16. adrynalyne

    adrynalyne Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    1,507
    Likes Received:
    885
    FRF91 is a final build. So not sure what you are getting at there ;)
     
  17. Fmstrat

    Fmstrat Member

    Joined:
    Aug 5, 2010
    Messages:
    13
    Likes Received:
    1
    Was it ripped from the actual OTA release, or from one of the builds that was released prior to the official OTA? It's just very uncommon for an app to have verbose output in it when released.
     
  18. adrynalyne

    adrynalyne Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    1,507
    Likes Received:
    885
    It was ripped from an actual OTA release.
     
  19. Fmstrat

    Fmstrat Member

    Joined:
    Aug 5, 2010
    Messages:
    13
    Likes Received:
    1
    Interesting. I retract that part of the comment, but unfortunately it doesn't change the fact that the app does still have the bug. I wonder if it exists in all versions of the 2.2 app. I may investigate that as I look into moving folder functionality.

    Thanks!
     
  20. adrynalyne

    adrynalyne Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    1,507
    Likes Received:
    885
    I can provide a build from the FRG22 build of the Moto Droid, if you are interested in checking it out. Its the most recent build for the Moto.
     
  21. adrynalyne

    adrynalyne Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    1,507
    Likes Received:
    885
    This is from the FRG22 build for the Moto Droid.
     

    Attached Files:

    • Mail.apk
      File size:
      599.7 KB
      Views:
      880
    razorloves and Fmstrat like this.
  22. mikep554

    mikep554 Member This Topic's Starter

    Joined:
    Jun 9, 2010
    Messages:
    14
    Likes Received:
    0
    Could this be causing problems setting up calendar items w/invitations? I am able to create one calendar item with an invitation with the stock calendar. When I try to make a second one, it doesn't ever send the email, although it gets put on my calendar ok.
     
  23. Fmstrat

    Fmstrat Member

    Joined:
    Aug 5, 2010
    Messages:
    13
    Likes Received:
    1
    I would try the new APK posted here and see. I'm going to test my issue against it as well.

    I've also just recompiled the android.jar file with Calendar support, so I should be able to build the email app from scratch source now, too.

    Thanks.
     
  24. brennen

    brennen New Member

    Joined:
    Apr 2, 2010
    Messages:
    1
    Likes Received:
    0
    Awesome, it'll be great if you can get 'move to folder' working. Any chance copy / paste functionality could be added in at some point?
     
  25. mikep554

    mikep554 Member This Topic's Starter

    Joined:
    Jun 9, 2010
    Messages:
    14
    Likes Received:
    0
    The second mail.apk is DEFINITELY different. One of the Exchange servers I sync to requires use of a PIN or password for unlock, no pattern or unlock with just a swipe. The first apk that adrynalyne posted didn't care, gave no warnings and let me continue using my phone with the pattern lock. This new apk gave a big scary warning about allowing the Exchange server to require certain changes on my phone. When I touched OK, it took me to the lock setup and I had to set up a PIN unlock before it would go past and sync.

    It also seems like I am able to successfully create appointment invitations from both accounts more often, but it still doesn't like my non-primary account very much. Maybe it is the calendar with the issue. Is the calendar on the Inc the same as that on vanilla 2.2?
     

Share This Page

Loading...