yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Loccy:
Belated, but I'm getting the same symptoms on Oxygen 2.0 RC7 (a Gingerbread ROM) :-(
[Android Apps and Games] shafty023:
Yup that should avoid the fc issues since the default email app would be there.
[Android Apps and Games] e1design:
Hi mate,

I followed your advice, the only difference was that the dalvik folder with the .dex file was in /data. Once I replaced the email.apk and deleted the .dex file, the email application was missing from the list of installed apps. I went into /system/apps and then installed your email.apk from there.

When I added my first Exchange account (I synchronise with two; one for personal contacts and calendar, and the other for work email and calendar), the personal one - it added successfully with your popup asking to override the security features. Then, when trying to add the work account (the one that usually generates "the server requires security features your phone does not support" message, the dreaded message appears (your phone does not support..)

So I can validate that your email.apk is installed and working, since I saw its message when adding my first exchange account. However, I could not complete adding the second account due to some other security feature.

To your knowledge of the email.apk and Exchange Activesync, what could this other feature be that is causing the second account not to work?

Peace..
[Android Apps and Games] shafty023:
It could be any number of possible security policies that still cause you to fail provisioning. So you're not able to successfully add the account, or you can add the account but fail to sync?

This also might be fixed in my latest Email.apk that I'll be releasing on the market hopefully today. The good thing is if you bought the app and it didn't work you could always refund it right away. But I would prefer people didn't because I will work with everyone to get the mod working 100% for them. It already works for about 80% of the people using it and in my latest version I greatly improved the code to help get it working for what I think would be upwards of 90% of people. The last 10% could be due to a newer version of Exchange that the Email source might not support.

The following code-snipper from the Email source shows what protocols are supported

Eas.java

// Define our default protocol version as 2.5 (Exchange 2003)
public static final String SUPPORTED_PROTOCOL_EX2003 = "2.5";
public static final double SUPPORTED_PROTOCOL_EX2003_DOUBLE = 2.5;
public static final String SUPPORTED_PROTOCOL_EX2007 = "12.0";
public static final double SUPPORTED_PROTOCOL_EX2007_DOUBLE = 12.0;
public static final String DEFAULT_PROTOCOL_VERSION = SUPPORTED_PROTOCOL_EX2003;
[Android Apps and Games] shafty023:
I will mark this down as a feature to add. I'll need to locate the "commit" for that in the froyo branch and patch that into my gingerbread branch. Shouldn't be difficult to add so consider that something to look forward to in my paid app release :)
[Android Apps and Games] shafty023:
Just fyi, I just added the following features to the "soon to be released" paid app version.

Allow setActivePolicies() to execute in order to clear any Account Hold flags

Allow saving ANY attachment to the sdcard

Selecting a client certificate during Exchange setup (just like in the old version)

Use Volume controls when viewing a message to navigate to the next or previous message!

Finish complete folder sync integration with sub-folder sync!

Added "select all" messages in mailbox menu

Allow hiding certain sync folders that are seldom or unused folders

Extra menu to show hidden folders

Disabled default syncing of all folders, added option in content menu in folder list to toggle sync on/off for that folder

Added option to return to message list when deleting the message you're reading, instead of moving to next message

Customizable Account Color is back!
[Android Apps and Games] shafty023:
Can you post some debug logs related to the Exception you get when trying to launch Email ?
[Android Apps and Games] dwang:
Will the paid version integrate with the built-in calendar and contacts?
[Android Apps and Games] shafty023:
Yes absolutely. It's built off the Email source code so it is identical in terms of integration within the Android apps.

EDIT:

Let me rewind on this question, I failed to mention it would integrate perfectly with stock Calendar + Contacts and likely Sense Calendar but this doesn't add any special corporate directory browsing which isn't available in AOSP Email.
[Android Apps and Games] kovjanos:
excellent

Works as expected! Finally I can sync with my server... My rom is:

- MDJ's CyanogenMod 7 v. 2.6

- Android 2.3.2 (GRH78C)

- CM7 nightly @22JAN2011

I would like to see this on the app's ToDo list:

- pre-fetch size option (like winmo, do not download the whole email just peace of it: header/header+[5|10|15]k/full)

Many thanks, Janos

ui: your app is not world-wide, I had to use market enabler to fake provider to Tmo-us to get it listed!
[Android Apps and Games] shafty023:
The app has been officially released on the market!

Here is a link to it on AppBrain if you want to see it from your browser, otherwise you can find it on the market under the name Enhanced Email
[Android Apps and Games] Pochemuchka1977:
I have tried to use it in 1.14 MIUI based ROM and got menu icons totally mixed up. For example, instead of Refresh icon I have contact icon and ....
[Android Apps and Games] kitkatxda:
Thanks for making it available. I bought it, then got a refund as I got the security message. With a previous APK I was using of yours (not sure exactly which to be honest as for a few days it wasn't in the first post and I got it from the thread somewhere) I just got your custom message. No idea why it was different, but I guess I'll check again in a few days.

It's a work account on a personal phone, so no way I'll give work access to it, and if that means I can't check my work emails, no biggy :)

I might try again if I install a new ROM, in case there were some dodgy settings/cache files somewhere, but I just didn't have the time to do that in 15 minutes (curse google, at least 1 or 2 hours wouldn't be that bad)

edit: SGS, darky's rom 8.1

And it was definitely the earlier versions of the apk causing FC of the scanning apps, I restored the standard email app and barcode scanner worked fine.
[Android Apps and Games] Virnik0:
There is fix for that crashes, because theese.crashes are related to camera libraries. Fix can be found here on xda in form of update.zip

Sent from my GT-I9000
[Android Apps and Games] Hiataby:
When html support?
[Android Apps and Games] kitkatxda:
appreciate that information - but you realise how many threads and pages there are on here right? :)

Any pointer to said fix would be appreciated - but I understand if it's too much of a hassle :)

I did some search on scanner, email and FC, only found reports on the problems, no fixes besides reinstalling the default email app.
[Android Apps and Games] Virnik0:
I will upload such fix to multiupload.com in a few minutes. I am using it right now, so I must know. I had similiar problems before.

Sent from my GT-I9000
[Android Apps and Games] OhmegaStar:
Questions for Enhanced Email (from app store)

Hi All,

I cant seem to find the official support for enhanced email. I have questions & some issues as well with the app.

If the OP is the creator / owner of the market app, I'll post here for him and anyone else to come up with suggestions.

1) How to replace the Samsung galaxy S default email app with the app purchased from the market ? ( step by step instructions would be nice).

2) When selecting many emails, and then deleting them, the application will feel unresponsive, will throw a application (...) not responding... force close or wait dialog. It should throw up a spinning wheel while deleting so uses can see stuff is going on.

3) Background Colour on Unread mails in the list overview should be changeable (now its kinda gray)

3) Foreground Colour (text colur) on Unread mails in the list overview should be changeable (now its kinda "bold" white)

4) Background & foreground colour on the reading pane should be changeable for non-html emails

5) Support for proper html emails (oh please! this cant be missing !?!? still)

6) Support for bubble with unread email count in the icon in the launcher, and on the notification bar..

7) Colourfull notification icons (the grey in grey is just dull next to the other froyo notification bar icons).

8) Proper indented folder tree explorer (collapsible)

9) Selected email from email list, option to move to folder.

10) Pinch Zoom / AutoFit !!!!!

11) Select Text, Copy & Paste Support!!!!!!!!

12) Proper support for toggle Landscape & portrait mode when replying. As it is now this gives a guaranteed force close.

13) Support Activesync - Task Synch!

Regards,

Henrik Ohm
[Android Apps and Games] Virnik0:
OK, Done.

Here is the zip file. This one will automatically delete Email.odex, overwrite Email.apk with the one from the first post (yes, it is included) and it will overwrite libraries which are needed to make both Camera.apk and BarcodeScanner.apk (and all other camera dependent apps) working without original stock Email.apk, so user can use AOSP Email.apk without any issues. Install from CWM.
[Android Apps and Games] Virnik0:
Just download ZIP file I have posted one post up, open it with winrar, go to the /system/app folder in it, overwrite Email.apk inside with the one you have downloaded, and then save zip again. Move that ZIP to your internal sdcard, and then reboot your phone to the recovery. Install from it, and you are done.

Sorry, but theese qustions or recommendations shall go to the Email.apk author, so I can't help you there.
[Android Apps and Games] e1design:
Exchange 2010?

Hi mate,

Yes, when trying to add the account, when I'm adding the username, password, server name, etc., progressing to the next screen results in the error message "the server equires security features.." so I can't even add the account.

When I look at your code above it references Exchange 2003; The account I've been able to add, and have working, I believe is hosted on 2003 but the account I'm having trouble adding is on an Exchange 2010 server - would this have any impact on what I'm trying to do?

Peace..
[Android Apps and Games] OhmegaStar:
Thanks,

Ive downloaded file - let see what happens.

The other issues was sent to the author.
[Android Apps and Games] shafty023:
I will absolutely positively refund outside of the 15 minute refund window. I do have a longstanding rep here on XDA and within the cyanogenmod dev team so rest assured I will take care of anyone no matter what.
[Android Apps and Games] shafty023:
It's possible but I'd need to see some debug logs from when you receive the security error on the exchange 2010 account. Can you post some here so I can look through them?
[Android Apps and Games] shafty023:
Yes I am the OP of this thread and author of the market app so feel free to post any questions/issues/requests here or e-mail me from within the Market listing.
[Android Apps and Games] kovjanos:
Hi,

Beside the partial content download, here is another feature req if possible:

- sticky header like the new gmail app while scrolling the mail content.

I also found, that changing to-and-back between landscape & portrait is buggy, it looks like it totally reload the email instead of re-rendering it (e.g. if it contains pics and you allow to show them, changing the or reloads the email and You have to push the allow button again)

Also, if You are opening an attachment and change the orientation, it stops (perhaps because of reopening the mail), and unfortunately I was not able to re-open the attachment (I had to save).

R, Janos
[Android Apps and Games] kitkatxda:
many thanks for that, will try it out :) If it works I'll purchase the app again as a thanks to shafty :)

keep in mind though, that the manual process you describe will be required every time the market app is updated.

Wouldn't it be easier to set the enhanced mail app as the default app to open emails? Or just a shortcut on a home screen? I only ever open an email app manually, so whichever I put on the home screen is the default app as far as I'm concerned. That said, I never tried clicking on email links on web pages, not sure how that would be impacted.

As an additional questions, where can I find logs from the app? If I still get the issue about this thread's apk not asking rights vs. market apk forcing the rights, happy to pass on logs for shafty to investigate, but no idea where I can find them.
[Android Apps and Games] shafty023:
You could download the app "aLogcat" from the market for free and use that. Or you could install the android sdk and use "adb logcat" to see the logs live.
[Android Apps and Games] demod_oz:
So does the paid app work as any old (non-system) app? Ie no need to root? my archos tab's system files are read only- even if I do root it.

I tried renaming the app with all of the apk tools around, but it was still detected as a system app, and wouldn't install.
[Android Apps and Games] shafty023:
Yes the paid app works as a non-system app. I accomplished this by changing the namespace for the entire code base so it doesn't conflict with the stock application :)
[Android Apps and Games] demod_oz:
Cool, just have to work out why I can't find it in the market now :)
[Android Apps and Games] shafty023:
It's possible you may have to use market enabler and set it to tmobile in order to find it if you're not in the US or a supported country code. I'm not quite sure how Google decides where it will make apps available or not. That's definitely not something I selected. I chose enable in every country but I've had someone write me saying they had to use Market Enabler app to be able to see it to buy it.
[Android Apps and Games] kitkatxda:
it didn't come up when I search for "enhanced" for me, but I searched for Qantum and scrolled down a bit to find quantum solutions (recorded as app maker) and found it. I'm in Australia.
[Android Apps and Games] e1design:
Debug Logs

Absolutely, I'll help where I can. Can you let me know which debug logs you're after, client or server-side? I don't have access to the server-side logs, but I can post the client logs if you could point me in the right direction on how to access them on the device?

Peace..
[Android Apps and Games] dwang:
Bought your app, but had to refund because the menu icons are displayed incorrectly. This is running the latest cyanogenmod 7 nightly images on a nexus s.

Hopefully this can be fixed and I will re-purchase.
[Android Apps and Games] Grem:
Thanks for the market place app.

Seems to be a few issues when running multiple exchange accounts, for instance the main one I've encoutered so far is if I change the colour setting of one account, the other account either inherits this colour as well, or looses it's colour completely, though when I then go and set the changed account colour back to it's original, it, and the other account, appear to keep their colours ok. I suspeect it's only when I change the colour of the first exchange account added the second changes with it and not the other way around.

Hope that all makes sense.
[Android Apps and Games] shafty023:
client-side will be what I need. Download aLogcat from the market and have it running when you try and connect to your exchange server. then save those logs from aLogcat and post em here in a txt file.
[Android Apps and Games] demod_oz:
thanks for that.. gave it a try, but nothing! pm'd shafty *hopefully* for a manual alternative.
[Android Apps and Games] shafty023:
What's interesting is I'm running the latest CM7 nightly for the HTC Glacier and the icons are correct. But I DID used to have the same icon issue on a prior CM7 nightly which made me dig deeper to find the issue. Turns out it is the /system/framework/framework-res.apk file in CM7 and not part of the Email applications res/ directory. So it's nothing I can fix myself it will have to be fixed in the CM7 build you have installed. Is anyone else on CM7 and using my application have incorrect images in their option menu?
[Android Apps and Games] e1design:
Email Syncronisation Log File

Hi mate,

Log file is attached. I switched on verbose logging and removed entries above / below the relevant section for the email syncronisation events. I have anonymised my email address and Exchange server address in the log file.

Peace..
[Android Apps and Games] dwang:
The stock email app in the latest cm7 seems to show the icons correctly though.
[Android Apps and Games] kitkatxda:
try the app brain link and the QR barcode to download it? Install "barcode scanner" if you haven't already :)

http://www.appbrain.com/app/enhanced-email/com.qs.enhancedemail#

As an update:

- I applied the fix provided a couple of pages ago http://xdaforums.com/showpost.php?p=10829169&postcount=341 (the apk from this thread + scanner fixes), works fine, I get shafty's message that I can bypass the security settings

- I re-purchased the app anyway as a thanks to shafty for his work, set it up exactly the same way as the fixed version, I get the standard security message coming up (about granting privileges on your phone to the exchange server). It's a shame as I'd like the sync of multiple folders and subfolders automatically.
[Android Apps and Games] demod_oz:
Yeah tried that! :) I get a "not found!"
[Android Apps and Games] 651egg:
purchased app for DINC. works great. THANK YOU!!
[Android Apps and Games] shafty023:
Hey that message is ok and does not mean you are granting access! I just reverted the text to the stock text on that warning as some people thought my personalized text indicated some kind of hackery in the app. You will know if you are granting the app admin access because it would redirect you to the Device Admin setup screen which it doesn't :)
[Android Apps and Games] shafty023:
Ok I can't pinpoint why your installation would not have the correct icons but I know how to resolve it. The issue you had was incorrect icons for "Refresh" and "Compose" correct? AOSP email does not contain the following files and therefore defaults to using the ones in framework-res.apk.

res/drawable-hdpi/ic_menu_refresh.png
res/drawable-hdpi/ic_menu_compose.png
res/drawable-mdpi/ic_menu_refresh.png
res/drawable-mdpi/ic_menu_compose.png

I'm going to copy those icons from framework-res.apk into that folder in my application which should correct the issue.
[Android Apps and Games] kitkatxda:
thanks for clarifying ... :)

Works great now, love the option to hide and/or sync folders.
[Android Apps and Games] Virnik0:
It is read only, because it is mounted as read only. You have to remount it in read/write mode. You can use root explorer for it.

Sent from my GT-I9000
[Android Apps and Games] webwude:
As i am not sure, if i can install it (stock JPY, root and Voodoo 5.1 atm), is there any alternative way to get both fixed email.app and barcode etc. working? Is thter anny way to overwrite those libraries "on the fly" ?

Regards,

ww
[Android Apps and Games] shafty023:
For those that have bought the app please do me a huge favor and remember to rate it in the market and write a review! Helps the app move up the list of popular paid apps ;)
[Android Apps and Games] shafty023:
Just fyi in case you hadn't heard my paid app version of this on the market offers this feature again! Name of the app is "Enhanced Email"
[Android Apps and Games] Virnik0:
Look few posts back, I have posted fix file which can be installed from cwm. It will fix all your problems related to camera and barcode scanner.

Sent from my GT-I9000
[Android Apps and Games] reidar.ostrem:
Hi!

Just bought your app in the Marked, haven't tried it out yet but wanted to support your work. I have been using the Email.apk in the first post, but is/will this apk be updated with the same features as the paid app ?

Keep up the good work!
[Android Apps and Games] shafty023:
Thanks for the support! No I'll be leaving the Email.apk in the first post as-is or as a testing ground for getting Exchange security bypass working more effectively. Any code changes made in the free app to get Exchange security bypass working better will definitely be pushed into the Paid app. But all the additional features that took a long time to merge in to my paid app will remain in the paid app.

P.S. If you haven't already can you rate my app in the market :)
[Android Apps and Games] reidar.ostrem:
Thanks for the quick answer!

I'm in the process of wiping and reinstalling my device, and will try out the Enhanced Email. How will it work in conjunction with the original Email.apk as this is linked directly in the "accounts and sync/Corporate" .. Will there be two Corporate accounts to choose from when adding the exchange accounts ?

Anyway, i'll be sure to rate and comment on your app when i have installed and setup my device again :)
[Android Apps and Games] shafty023:
Unfortunately that listing in Accounts & Sync for Corporate is linked directly to the stock app. But, setting up a corporate account from within Enhanced Email will register it in Accounts & Sync.
[Android Apps and Games] webwude:
Hm, how do I know, that "cwm" works at my device - as i mentioned, it is just stock jpy + root + voodoo 5.1 (with odin)...

I read a lot about wrong recovery (2e vs 3) etc?

Regards,

ww
[Android Apps and Games] jaredt2:
I purchased the app this morning (thanks for all the work on this). I'm running CM-6.1.2-Droid and I'm losing the accounts on every reboot. Its also a acting a bit flaky when adding accounts. It goes back to the add account screen if you actually choose an account color. If you leave the defaults, everything works and you can go back in and edit the account... until you reboot, then you get to start over from scratch.

Maybe it's an issue running on 2.2.1?
[Android Apps and Games] kovjanos:
I have the same trick on WinMo 6.1, 6.5 and 6.5.x - and probably all platforms could have a solution for this if You have the sdk to create application to run on Your device...

R, Janos
[Android Apps and Games] cmarti:
The thing is that when I try to install it with Astro the only option it gives me s uninstall or launch, when I uninstall after it starts it says failed and if I launch it launches and works perfectly but again this is no installation.