yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] rooshach:
For some hours my "new" email.apk was working properly. But now, on every sync i get the error

"Verbindung zu Server kann aufgrund eines Sicherheitsfehlers nicht geöffnet werden" ...

Transl. "Connection to server can not be opened, security error"

Any ideas ?

HP.

...manual sync. No changes after switching to PUSH.

Did some testing again:

Each time a password change (on Windows Domain) is forced, i get the error on the next sync. So i have to delete the account and after a new setup the sync is working.

So, to setup the account every 2 days cannot be a good solution :-)
[Android Apps and Games] shafty023:
Hah no I'm an established android dev since this all started few years back. I have no issues releasing the src code containing my changes as well.
[Android Apps and Games] shafty023:
I can port the changes to the latest src if wanted.
[Android Apps and Games] shafty023:
If you install it to userspace as you did then the apk will not be granted the correct permissions to do exchange sync. I'm sure there will be other problems as well. You see this by easygoing logcat on boot and grepping for permissions to see the failures.
[Android Apps and Games] shafty023:
Nice debugging work. Good to see people try and fix issues on their own.
[Android Apps and Games] shafty023:
I've noticed the same issue when set to manual sync. Just change to PUSH, go to inbox and do a manual refresh. That should remove the error. I need to locate the manual sync code and apply the hack there as well.
[Android Apps and Games] shafty023:
My suggestion is to open a terminal and check the results of "top" to see if you have a process running amuck. Have you also run similar tests with email completely deleted (the app) to verify this is not email related? If it is not email related you'll want to submit a bug report to google
[Android Apps and Games] sshark:
Thanks man, thanks! Alright I am now going to start logcat. I believe there is enough documentation on logcat. Will report the results....

I may have questions later, on reporting bugs to Google, if any.
[Android Apps and Games] sshark:
Deleted
[Android Apps and Games] shafty023:
Well those are probably reminders you have set on your calendar. That's the issue with using this Email.apk on Sense. HTC heavily modified their framework. To add to this, this email.apk is synced from newer froyo src then what HTC use on their Evo froyo update.
[Android Apps and Games] suprphrk:
Copy/Paste

I'm new to this app on Evo/SenseUI, so maybe this has been beat to death already. But why is there no copy/paste functionality in this app?
[Android Apps and Games] shafty023:
It just was never added by Google or by any user contribution.
[Android Apps and Games] pshevch:
HTML format support

Thanks for Email.apk! It's works perfectly!

Are you plan to add support for HTML formatted messages?
[Android Apps and Games] WhiteSoxxx:
Any chance there is an email.apk which removes exchange security AND supports html? I am trying to avoid using the stock HTC Sense mail application if I can get both those accomplished :)

I read somewhere that there is a stock email.apk out there which supports html but don't think it has exchange security disabled. Wonder why html was not supported in first place ::shrug::
[Android Apps and Games] SoCalNewb:
Success on DroidX

Much thanks for all your work shafty023. I just installed your Email.apk to my Droid X that I use for Exchange email, and FINALLY I am free from entering a password 90 times a day when I want to access my phone.

For any other newbs out there who, like me, were unsure how to do this despite 12 pages of great directions, here is what I did (no guarantee this is the correct or most efficient way, it's just what worked for me):

1) from computer, email the "Email.apk" to your gmail account

2) open the GMAIL app on your Android device

3) on your Android device, open the email that you just sent to your gmail account, and click on the "install" option

4) Go to Settings/Accounts, then long click on your Exchange account, then click delete (my exchange account is named "Corporate Sync", but the name may be device specific)

5) once install is complete, go to your app drawer and open the "Email" app that is YELLOW

6) setup your Exchange account in the new Email app

Done. Thanks again shafty023!!!
[Android Apps and Games] wmanu:
Hi shafty023, thanks for this, great work. I'm beginner in Android development and was trying add one more option for sync intervel in Email.apk.

In arrays.xml, I've made following changes:

Under <array name="account_settings_check_frequency_entries">

Added <item>@string/account_setup_options_mail_check_frequency_4hour</item>

Under <string-array name="account_settings_check_frequency_values">

Added <item>240</item>

Similar for account_settings_check_frequency_entries_push as well.

In Strings.xml

Added <string name="account_setup_options_mail_check_frequency_4hour">Every 4 hours</string>

Then rebuild the apk with: apktool b -f <path>

Then sign the apk with autosign utility.

Installed the apk successfully, but force closes on run. Tried rebooting, and clearing cache, but still FC.

Can you please advice, how to rectify this error?

Many thanks.
[Android Apps and Games] djmcnz:
You'll need to get a logcat to see why it's fc'ing.
[Android Apps and Games] djmcnz:
I don't think you've declared list_title... public.xml?
[Android Apps and Games] wmanu:
There are three occurrence of list_title already in public.xml

<public type="layout" name="list_title" id="0x7f030010" />

<public type="string" name="message_list_title" id="0x7f07000c" />

<public type="string" name="mailbox_list_title" id="0x7f070054" />

Anything wrong here?

One more thing, before I edited the Email.apk the size was 952KB, but after re-build and re-sign, its only 759KB. Almost 200kb reduced, does this matter?
[Android Apps and Games] djmcnz:
I suspect the size does not matter if the same number of files are there... a different compression method/align may have been used... but all the files to need to be there. It may pay to do a size diff to see where it differs, if it's in images that's fine.

And I see about list_title, you're simply reusing it... umm... try re-editing and change the "Never" setting to 240, *removing all of your 240 entries*, recompile, does it work?
[Android Apps and Games] wmanu:
I revoked all the changes I've made, rebuild and resigned the apk. But even then, I'm getting FC. So is it something wrong in what I do?
[Android Apps and Games] djmcnz:
I'm not entirely sure because there are too many variables.

1. I see you're signing it, are you meant to (system app)?

2. If so, are you using the correct keys?

3. Clear data/cache for email?

4. Are you pushing or installing it?

Ultimately if apktool can build it then it's probably a valid apk, I would think it's an environmental issue... try pushing a working email.apk from a *different* rom and see if that works... that might help to diagnose...
[Android Apps and Games] cybaba:
Is this what I am supposed to run in a terminal on my phone to replace my Email.apk with the modded one? I always get access denied for any of the above commands. Also there's currently no Email.apk in my /system/app folder.. i only see EmailGoogle.apk
[Android Apps and Games] fryman:
I am also having this problem when I have low signal. I wonder if it is unique to the mod or if everyones email app has this issue?
[Android Apps and Games] viluve:
Anyone with Geo411m's stock rom managed to get this installed? If so, can you please share how you do it?

- Tried the install from e-mail method

- Tried the flash 'update.zip' method

- Tried un-install old 'Email.apk' (which I couldn't find, there's only GoogleEmail.apk.)

cheers
[Android Apps and Games] medic032:
Parse Error

Any Idea why I would get a Parse error when trying to install on HTC Hero
[Android Apps and Games] djmcnz:
Try pushing this one.

http://xdaforums.com/showpost.php?p=8661073&postcount=239

PUSH and overwrite, don't "install".

adb remount
adb shell stop
adb push Email.apk /system/app/
adb shell start
[Android Apps and Games] mobiousdigital:
Is HTML support planned for this ?
[Android Apps and Games] wmanu:
1 & 2) I'm using autosign.bat file to sign the apk, so not sure about system app or the keys used.

3) I didn't tried clear/data cache, need to check this

4) I'm installing it from file explorer and it installs successfully. When opens it, gets FC. I have a backup of Email.apk and it installs and works file through the same method, without clearing cache.
[Android Apps and Games] fryman:
djmcnz, thanks for the updated apk! If I replace your updated email.apk with the one one in from the signed zip below and flash will it work or does that void the signed file?

I am trying to avoid installing adb...if that is possible
[Android Apps and Games] pwvandeursen:
I have something strange going on. when I try the above after the push command I get:

208 KB/s <0 bytes in 94484s>

i.e. it didn't get pushed over. anybody have any idea why that is possible?
[Android Apps and Games] tbmorris:
Worked great on my DINC. Rooted, unrevoked forever s-off. Stock Verizon 2.2 ROM. Now my hotmail comes push. This is what I have been waiting on to stop using my pop email accounts.

Now its gmail push and hotmail push.
[Android Apps and Games] cyman777:
FC on Galaxy S

...any idea why?

Just FCs on me whenever I am starting it on the SGS.
[Android Apps and Games] dharani1234:
[HELP] Remove PIN on lockscreen

Hi Guys

I have just setup my corporate mail account on my email App and I created a PIN to be able to proceed further with the setup.

Is there a way I can remove the PIN ? I should have installed the app in this thread ..... but am too late .

Any suggestions on how to remove the PIN nenforcement ... I am running CM 6.0.

Thanks for the help.
[Android Apps and Games] djmcnz:
Nope. Full system wipe required... :(
[Android Apps and Games] shafty023:
Just go into Android Settings -> Location & Security and you can remove it from there. No that is not Email app -> Settings, that is home screen -> Menu button -> Settings
[Android Apps and Games] djmcnz:
Are you sure... not the phone PIN, the account security code? Even if you delete the account the phone still has the policy applied... are we referring to the same thing?
[Android Apps and Games] shafty023:
There are two security policies implemented with the Email app.

Account Device Admin

PIN Lock

Both can be removed from the same location and need to be removed prior to installing this modified apk. So delete the existing Email app from /system/app/, then remove the device admin + pin lock, then push the new Email.apk
[Android Apps and Games] kelix:
hrmm.. its seems as though its uninstalling itself now on reboot... and the locked down email app is back :(
[Android Apps and Games] kelix:
all good, used root explorer ;)

"installing" not overwriting was my downfall
[Android Apps and Games] shanyel:
Hi

Can you explain how to do it?

I want to do this on the new Email APK that's in the latest CM 219 nightly

thanks,
[Android Apps and Games] shafty023:
You want to do what?

Compile the new Email source code from CM's repo and install it?

Take the latest source code and remove Exchange security yourself?
[Android Apps and Games] shanyel:
Take the latest APK and take off its admin security

Thanks
[Android Apps and Games] berndtjj:
Droid X

I have an X as well. I was not able to make it work. Are you running a ROM if, so which. I'm running stock OTA, rooted. Any insight would be appreciated. Thanks.
[Android Apps and Games] defro:
I'd love to learn how to do this too!

In the last few days, mtwebster has applied a number of fixes to Email (though disabling security is not one of them). Shafty - if it's a quick process for you, maybe you could take the APK from CM nightly #220 and patch it for us :):):):):)

Been using your Email app since you released....much love!

h**p://github.com/CyanogenMod/android_packages_apps_Email/commits/froyo
[Android Apps and Games] djmcnz:
If you'd read more than one page of this thread you would have found the link. Care to explain how you missed it?
[Android Apps and Games] defro:
Is this the link you meant:

h**p://xdaforums.com/showthread.php?t=655649&page=24

Must have glazed over it... :confused:
[Android Apps and Games] djmcnz:
This one: http://xdaforums.com/showpost.php?p=8661073&postcount=239
[Android Apps and Games] shafty023:
I'll try and get around to porting the code updates to the latest nightly. Been working on the FM app (added lockscreen music control support) and the Contacts app (added gesture support).
[Android Apps and Games] McHale:
Are you using a nightly build or CM6? I don't see how to change the account color. How/where are you doing this?

tnx
[Android Apps and Games] dharani1234:
Waiting for you to remove the lock for the latest email.apk from cyanogen ( build #220 ) :)
[Android Apps and Games] shanyel:
attached latest (222) w/o security

rename to Email.apk
[Android Apps and Games] dharani1234:
AWESOME!!!! ... Thanks a lot for the quick turnaround.
[Android Apps and Games] djmcnz:
You do realise that app hardly ever changes... certainly not with every nightly. I can't see any changes in over 6 weeks in email.apk.

Just push any one you already have unless there's a new feature added (which hardly ever happens).

Just trying to save effort if there's effort to be saved.
[Android Apps and Games] dharani1234:
Yes I do realise that ... but there has been a critical bug fix if I remember that right last week and as per Cyanogen's git hub I see changes being continuously made to the email App by mwebster.
[Android Apps and Games] dharani1234:
shanyel

I just uninstalled the existing email apk with Titanium backup pro and I tried installing this apk. But the application install fails.

Is this not the right way to do this ?

EDIT: Restarting the phone worked. Thanks for the work Shanyel.

I guess you should update the OP :D
[Android Apps and Games] shanyel:
it is not an installable APK. you need to push it through ADB to /system/app

alternatively you can use the attach as update.zip via recovery or Rom manager
[Android Apps and Games] Crussader:
Hey Shanyel,

I just wanted to ask you if you know something about Exchange 2010 SP1 not working with the latest default Email app... I can check my mail (ActiveSync) with this version:

http://laurie.denness.net/blog/2010/09/exchange-2010-sp1-sync-with-android-froyo/

But I can't with the latest version.

Thanks in advance
[Android Apps and Games] shanyel:
don't really know as working with Exchange 2007...
[Android Apps and Games] defro:
h**p://github.com/CyanogenMod/android_packages_apps_Email/commits/froyo

Unless I'm misunderstanding this link, I see a few commits this week.
[Android Apps and Games] DawidK:
I came across this thread as my Exchange server was migrated from very old version (2003?) to 2010 SP1 and my email stopped working.

I've tried all Email.apk versions attached to this thread and the only one which worked is the one from the link mentioned by Crussader.

Would it be possible that shafty023 or anyone else would port changes to that latest Email.apk?

Otherwise, is there available diff/patch file for the previous versions? Having such diff would be easier to port those changes to latest version of Email.apk. :)

Btw. does "wipe device" option from Exchange server will wipe _whole_ device or just Exchange related stuff?

EDIT: as per description from Android specification remote wipe will reset device to factory defaults (sic!) :S

Thanks in advance,

Dawid
[Android Apps and Games] djmcnz:
Oh, I agree with you both... there are code changes. I should have been clearer, unless there's a functional change or a bug fix why update? Much of the code change at the moment has not resulted in a functional need to update the app... to the best of my deduction anyway since colours were added.

We'd be updating every other day otherwise...
[Android Apps and Games] mcampbellsmith:
Hi!

When I try to add my activesync account, I get a message saying 'This server requires security features your phone does not support'.

Can anyone point to what those security features might be and if there is a way around this?

Thanks!
[Android Apps and Games] DawidK:
Those might be EAS features (read. remote wipe feature).

I'm wondering which OS version are you running and what is required policy on the Exchange side?
[Android Apps and Games] jollerbarn:
Hi,

I'd like to try this one out due to new features in the Email.apk and so on, but this one denies me just as much as the stock Galaxy S email.apk (which sucks).

When using this APK Exchange denies me with the following message (snippet from my OWA 2010 device log):

Access Denied, Security Policy Application

Any ideas?
[Android Apps and Games] illushinz:
Ditto on the error.

EVO running rooted but stock 3.29.651.5

Stock email app sync's and supports security fine, but I need to be able to add another activesync account. Specifically I need the second calendar.

Any help here would be GREATLY appreciated!
[Android Apps and Games] ChrisFix:
Ditto on all the 2.2.1 Email.apk flavors not working with Exchange 2010 SP1...I've tried them all, and none connect due to the issue identified here:

http://code.google.com/p/android/issues/detail?id=11177

The 2.2 version that is posted here works, but is missing features like GAL - so no joy for 2.2.1 Froyo users on Exhchange 2010 SP1:

http://laurie.denness.net/blog/2010/09/exchange-2010-sp1-sync-with-android-froyo/

The issue 11177 link above alludes to the fact that Google already has a fix for this, but it isn't released to the carriers for some reason. Is there anyway to get the correct 2.2.1 Email functionality that works with Exchange 2010 SP1 through a mod of the version that is posted on this thread?
[Nexus One Q&A, Help & Troubleshooting] johnnie93:
Anyone noticing the Browser on our beloved Nexus one is very choppy and laggy on some sites even though we have a 1GHz snapdragon! i know its not a humming bird but i would expect it to catch up...because when the nexus one first came out and i got it...it was BLAZING FAST! but now its all choppy and laggy.... anyone noticing that too??:confused:
[Nexus One Q&A, Help & Troubleshooting] Blueman101:
there could be a couple of things involved with this, you could have more things running the background using cpu then previously, or you could just be going to some poorly coded websites. Also, if you havent been to a website in a while its cache may be different.
[Nexus One Q&A, Help & Troubleshooting] johnnie93:
hmm, ya you might be right if only Google Made GPU acceleration on the browser that would be awesome!
[Nexus One Q&A, Help & Troubleshooting] galaxys:
Mine is still blazing fast, but I don't have a lot running in the back ground & I clear it's cache often.
[Nexus One Q&A, Help & Troubleshooting] johnnie93:
Hopefully Gingerbread will bring a new Web browser UI and other features.. i just decided im going to buy a Galaxy S but i will still use the N1 as a business/exchange phone but the galaxy S as my multimedia phone..
[Nexus One Q&A, Help & Troubleshooting] AndroidPerson:
It does seem choppy compared to the stupid iPhone, but its an appropriate comparison because its the ultimate competition. And android blinks when scrolling. If you look at certain things you can see the colors blinking or something if u scroll slow u can see it more clearly regular scrolling it makes it look choppy. It seems like iPhone loads a page or a map and u are scrolling thhat one image but with android its like its trying to load each movement so browser seems jumpy and a lot of apps are the same way. Google maps is the worst. Its the coolest app on any mobile platform but its awful to scroll and zoom on android relative to the maps on iPhone. If gingerbread makes it on the same level then android wins hands down. Right now android has more features but iPhone is way easier to use its more smooth and polished. Like everything was developed and then actually used to decide what needs improvement.
[Captivate Android Development] lildoggs:
I flashed my captivate with I9000TGYJH1 firmware and the JG8 modem. everything is ok except I have an externat sd card on the phone and it doesnt detect it and the rotation in the settings menu doesn't work. I know its because the firmware is for the i9000, but has anyone found a fix for this yet. your input will be very much appreciated. Thanks in advance.
[Captivate Android Development] Zilch25:
The I9000 kernel doesn't work with our externel SD cards... no fix for that ATM, and I don't think anyone is really working on that either
[Captivate Android Development] lildoggs:
That sucks cause I really like this firmware.
[Captivate Android Development] lildoggs:
So is there a way to root the phone without an external SD card.
[Captivate Android Development] Zilch25:
You still have the internal SD card, and that's where the update.zip packages go. If you're using an I9000 firmware though you have to flash in the stock Captivate kernel so that you can select the option to install update.zip from the menu, then you can flash back to th I9000 kernel.
[Captivate Android Development] lildoggs:
Where can I find the i9000 kernel.
[Captivate Android Development] Zilch25:
Yes... you have to flash back to the I9000 kernel...
[Captivate Android Development] lildoggs:
Do you where I can find a kernel for the i9000.
[Captivate Android Development] Clienterror:
What's an i9000?
[Captivate Android Development] techmik67:
lol...... now THAT is funny!!!
[Hero CDMA Themes and Apps] alexnaoumi:
Is there any way to get the pull down notification bar from one of the galaxy s phones? I like it cuz you can turn on wifi,GPS,etc. from there
[Hero CDMA Themes and Apps] fixxxer2008:
search some of the themes on here, you may find what your looking for.
[Hero CDMA Themes and Apps] REDFOCZ:
There is nothing Luke that yet I have used the envy froyo , touch wiz home replacements nothing there
[Hero CDMA Themes and Apps] user7618:
CyanogenMod has this built in.

-----

Sent from my CDMA Hero. I got some hot Gingerbread-on-Hero action here!
[Hero CDMA Themes and Apps] fowenati:
Though true, I prefer the look of the touch-wiz bar over the CM6/7 Bars by far.
[Hero CDMA Themes and Apps] rubyknight:
You can theme CM7 and most good themes include a dropdown theme as well. I'd suggest searching the market for JAMT CM7 and see his white and black themes as they have the best looking dropdown i've ever seen.

I too am not a big fan of the cyanogenmod look. Personally I removed the toggle bar altogether to improve my performance but the theme chooser makes it possible to replace all of it however you want
[Captivate Q&A, Help & Troubleshooting] klloyd:
Ok, i've read and read, and read... I can not find out how to flash a captivate on linux. I'm running mint 9. I want to go back to full stock, original rom that came on the phone. How do I do this in Linux?
[Captivate Q&A, Help & Troubleshooting] rsmith675:
Odin one click downloader should be able flash your captivate to stock
[Captivate Q&A, Help & Troubleshooting] klloyd:
I tried it, (under windows) and it went from what I had to JH2. I dont think I had jh2 to begin with, I think it was jf? something... The only reason I had to try and reflash it at all was one of the apps messed up and it started looping startup. So I went back to stock according to odin. Maybe I need to do it again, I may have done something wrong....

Odin is a linx one click fix, or I have to virtual box windows to do it? My wifes computer is the only windows machine in the house, and I hate messing with it, its tooo dang slow!
[Captivate Q&A, Help & Troubleshooting] klloyd:
When I down load something to flash, its password protected. Format is .rar. I just can not open them. Is this right and the other software will open it, or do I need a password to open them?