Gmail says "your email will appear shortly" - Android Software/Hacking General [Developers Only]

Hi All,
Hi ,
I hae updated to Asian froyo yesterday night and since then i am haing this problem.
My gmail app says" your email will appear shortly" but when I tried to add my Wife gmail account it got added instantly and is syncing fine. I tried factory reset and clearing cache things.. nothing seem to work . The email is working fine in mobile browser and samsung galaxy S stock email client . Market and other apps are also working perfectly. Not sure what is the problem . I hae also contacted google to get some help .. no replies till now..
Do you guys know anything on this ..
Please help
Thanks

have exactly the same problem! all of a sudden.. never happened before!
my second gmail account is working fine and the email app is syncing both accounts flawlessly... Just the gmail app is stuck on "your email will be appear shortly" on my main account !!!!
Tried wiping, deleting gmail app data and anything else I could... nothing worked!!
Please help!

can anybody please help on this? I'm running out of ideas...
here is a logcat, I think the problem can maybe found there...
are these lines in particular any interesting..?
I/Gmail ( 6414): getStartSyncRequest: handledServerOpId: 0, upperFetchedConvoId: 0, lowerFetchedConvoId: 0, ackedClientOp: 0
D/dalvikvm( 6414): GC_FOR_MALLOC freed 5008 objects / 276232 bytes in 34ms
I/Resources( 6414): Loaded time zone names for en_US in 254ms.
W/ResponseProcessCookies( 6414): Cookie rejected: "[version: 0][name: GX][value: DQAAALQAAAAfP4N6HOQ_4paIpLHKOEeWndV7XQW6DbNUx31R1gNaAJnUTSpaeq7Be_zVlcY_ti_h5C8Ug8bZs1z_yipk8J0pfGkG20djCXwFxl9BJ3OF5KYCbD65_spQuysktP4TvlJtqREIbHSW9CPekJT6Sm11bVunLUxNoX9sdzRwYpFSAgG7oyoCEisJIhO-CKIY0GDBG1vZ7O9Z80IxIBD-xJyQ6y_-06obERYXgLxlAFrm42GDraFa5UnKJbSyAdER9c4][domain: mail.google.com][path: /proxy/gmail/mail][expiry: Fri Dec 03 08:07:46 GMT+01.00 2010]". Illegal domain attribute "mail.google.com". Domain of origin: "android.clients.google.com"
D/Gmail ( 6414): IO exception: java.io.IOException: Server returned unhandled response content type (text/html status: 500)
D/SyncManager( 163): failed sync operation authority: gmail-ls account: Account {[email protected], type=com.google} extras: [force=true ignore_settings=true ignore_backoff=true do_not_retry=true ] syncSource: 3 when: 5960191 expedited: false, SyncResult: stats [ numIoExceptions: 1]
D/SyncManager( 163): not retrying sync operation because SYNC_EXTRAS_DO_NOT_RETRY was specified authority: gmail-ls account: Account {[email protected], type=com.google} extras: [ignore_settings=true force=true do_not_retry=true ] syncSource: 3 when: 5961226 expedited: false
D/dalvikvm( 679): GC_FOR_MALLOC freed 8086 objects / 502424 bytes in 48ms
W/FlurryAgent( 3159): onStartSession called with duplicate context, use a specific Activity or Service as context instead of using a global context
Click to expand...
Click to collapse

Related

[Q] Exchange Email Problem - Any Adivce

Does anyone know the reason or have a good solution to the "unable to open connection to server" error when adding an exchange account?
I have this issue on CM5.0.8, CM6 and CM6.1.0RC1
I have an HTC Magic Sapphire PVT 32B / HBoot 1.33.2005 / Radio 2.22.19.261
The only way i have been able to connect to my works exchange email account has been on CM5.0.8 using the old HTC Work Email app i found. I know it works on a stock EVO my company requires a lock package installed and remote wipe, but assuming that it worked on the old HTC Work Email i am assuming that i should work with the Vanilla Email app for 2.2. So I would like to use the stock 2.2 email app to connect if possible.
When i try and add the email account i get the "unable to open connection to server". It seems like the request is not reaching the https server before it times out? or some other issue... I have read plenty of users with this type of issue but every answer seems different and i have tried replacing the email.apk a few times without luck but those same posts said the one in cm5.0.8 worked flawless for them
Side Note ? Is there a way to load the HTC Evo Email application onto my Magic? I noticed that it has a different setup screen much like the old HTC Work Email app, I just wished the old Work Email app would work on 2.2 without crashing...
Any help would be awesome....
Try setting the exchange server as your companies OWA site. its normally owa.companyname.org/com or whatever. This was the key for me.
I tried that and no Luck, Thanks Anyway
I have been reading that solution on a few forums and thought it was odd, but only have used exchange though this one company and also google before.
My company uses the web address of sync.companyname.com and to use owa I access it though owa.companyname.com
Anyone have any other ideas?
Can anyone help me decode and figure out what to try next with my LogCat? Captured when trying to add the Exchange account and getting the error "unable to open connection to server". From my quick research this might be because of my company using there own signed server?
D/Email ( 624): Begin check of incoming email settings
D/EAS SyncManager( 624): !!! EAS SyncManager, onCreate
I/ActivityManager( 170): Displayed activity com.android.email/.activity.setup.A
ccountSetupCheckSettings: 384 ms (total 384 ms)
D/dalvikvm( 624): GC_FOR_MALLOC freed 7374 objects / 447408 bytes in 104ms
D/NativeCrypto( 624): Freeing OpenSSL session
V/EmailServiceProxy( 624): validate returns 1
D/EAS SyncManager( 624): !!! EAS SyncManager, onDestroy

[APP]CalendarSync sync/manage appointments on Android/Blackberry

CalendarSync is an Android app (also works on Blackberry) which you can use to sync your calendars and appointments using CalDAV, WebDAV, HTTP, FTP or plain .ics calendar files.
Do you want to check out the app? Then just load and install the free test version where you can check out all the feature for free at the Google Play Store, Blackberry World, Amazon App Store or directly from my website (link below).
A Windows mobile version is now available: http://forum.xda-developers.com/showthread.php?t=544181
Features:
Using a self-created iCalendar analyser which support complex and more features than other iCalendar parsing/importing applications.
Import appointments, alarms and attendees direct from iCal files (*.ics). and applications.
Import appointments, alarms and attendees direct from Microsoft Calendar files (*.vcs) and applications.
Export appointments, alarms and attendees which are stored on the device to iCal files (*.ics).
Make a quick look at the appointments stored in the iCal files.
Update old and add new appointments from an iCal file.
iCalendar files are associated to this app.
Timezone support.
Create and remove device calenders.
Fingerfriendly landscape/portrait mode aware GUI.
Load and analyse ICal files direct from the Internet from different sources.
The app supports self signed certificates.
Supports the sync from and to server which provide calendar information with HTTP/HTTPS (WebDAV if you want to use two way Sync).
Supports the sync from and to server which provide calendar informations with CalDAV.
Supports the sync from and to server which provide calendar informations with FTP/FTPS.
Supports the download/handling of webcal/webcals feeds.
Periodically background sync of calendar informations.
Automatically background sync can be handled periodically by the app itself or it can be triggered by external applications like Tasker.
Checking for updates
Logging
Advanced filtering which informations should be imported.
Supporting devices with more than one cpu to speed up parsing/importing/downloading of informations.
Multi-language: Currently english and german.
If you are interested in translating the app in other languages please contact me.
Requirements:
Android 2.2 or newer.
Permissions
android.permission.READ_CALENDAR and android.permission.WRITE_CALENDAR
The app is designed to interact with the calendar so it needs the rigth to read/write the calender e.g. to store new appointments.
android.permission.INTERNET and android.permission.ACCESS_NETWORK_STATE
The app can sync which various internet and network sources. So it needs the rigth to access the network.
android.permission.READ_PHONE_STATE
For licensing the app needs access to device id.
android.permission.WRITE_EXTERNAL_STORAGE
The app can import/export calendar informations based on files stored on the device so it needs the rigth to access the devices storage.
android.permission.RECEIVE_BOOT_COMPLETED and android.permission.WAKE_LOCK
This permissions are used for the autosync service. If the device reboots the autosync service will start automatically. To prevent interuption of the autosync process the app must be able to prvent the sleep mode temporarily.
com.android.vending.CHECK_LICENSE
This permission is used for license validation if you bougth the app at the google market.
android.permission.ACCESS_WIFI_STATE
This permission is used for the autosync service to prevent the app from syncing if no WIFI/WLAN connection is available.
android.permission.MANAGE_ACCOUNTS and android.permission.GET_ACCOUNTS and android.permission.AUTHENTICATE_ACCOUNTS and android.permission.*WRITE_SYNC_SETTINGS
The app can create custom calendars. To prevent automatic cleanup services from android from deleting this custom calenders these calendars musst be assigned with an existing sync account. The permissions above will be used to create such a dummy sync account.
If you like my app please donate so that i can develop further improvements.
Download (NO MIRRORING): CalendarSync click here
initial version 1.0 available
I have installed it on my HD2 with NAND build but on clicking on Parse button app just crashes; please help me if I am missing something
Thanks
Pawan
pawandeep said:
I have installed it on my HD2 with NAND build but on clicking on Parse button app just crashes; please help me if I am missing something
Thanks
Pawan
Click to expand...
Click to collapse
Please test the new version.
new version:
online checking for new versions
logging
supporting recurring appointments
920904 said:
Please test the new version.
new version:
online checking for new versions
logging
supporting recurring appointments
Click to expand...
Click to collapse
Thanks for quick response.
now it does not crash but its looking for a iCalParser folder in root and making it unusable for me ; is it possible to this folder to custom location ? can we add file association for .ICS files so it can be directly opened from file browser or emails.
Thanks
pawandeep said:
Thanks for quick response.
now it does not crash but its looking for a iCalParser folder in root and making it unusable for me ; is it possible to this folder to custom location ? can we add file association for .ICS files so it can be directly opened from file browser or emails.
Thanks
Click to expand...
Click to collapse
the ics files are now associated to the app.
new version 1.2:
iCalendar files are now associated to the app
much faster import of appointments. Up to 400% faster!
new version 1.3:
fixed a problem handling rrules
added a possibility to filter iCalendar informations during parsing which can also handle complex recurrence rules.
Performance improvements
Ready to get the maximum performance from phones with more than one cpu.
updated manual
thanks - good idea
if this appis working, i would prefer, to sell it - it is worth ~€10 for a HUGE user group(business users).
for nwo, i'm trying to import an ICS file, which i got via email (in K9-Mail)
1.) not assiosiated with ISC in k9-mail - don'T know why ?
2.) tried to click on "calendar list", then application crash
adb logcat:
Code:
E/AndroidRuntime(10266): FATAL EXCEPTION: main
E/AndroidRuntime(10266): java.lang.NullPointerException
E/AndroidRuntime(10266): at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:355)
E/AndroidRuntime(10266): at android.widget.ArrayAdapter.getView(ArrayAdapter.java:323)
E/AndroidRuntime(10266): at android.widget.AbsListView.obtainView(AbsListView.java:1431)
E/AndroidRuntime(10266): at android.widget.ListView.measureHeightOfChildren(ListView.java:1273)
E/AndroidRuntime(10266): at android.widget.ListView.onMeasure(ListView.java:1184)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
E/AndroidRuntime(10266): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
E/AndroidRuntime(10266): at android.widget.LinearLayout.measureVertical(LinearLayout.java:381)
E/AndroidRuntime(10266): at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
E/AndroidRuntime(10266): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
E/AndroidRuntime(10266): at android.widget.LinearLayout.measureVertical(LinearLayout.java:381)
E/AndroidRuntime(10266): at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
E/AndroidRuntime(10266): at com.android.internal.widget.WeightedLinearLayout.onMeasure(WeightedLinearLayout.java:60)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
E/AndroidRuntime(10266): at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
E/AndroidRuntime(10266): at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewRoot.performTraversals(ViewRoot.java:812)
E/AndroidRuntime(10266): at android.view.ViewRoot.handleMessage(ViewRoot.java:1752)
E/AndroidRuntime(10266): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(10266): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(10266): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(10266): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(10266): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(10266): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(10266): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(10266): at dalvik.system.NativeStart.main(Native Method)
I/ ( 3230): dumpmesg > "/data/log/dumpstate_app_error.log"
W/ActivityManager( 3230): Force finishing activity com.icalparse/.ActivityDisplayPreference
W/ActivityManager( 3230): Activity pause timeout for HistoryRecord{48ae04b8 com.icalparse/.ActivityDisplayPreference}
if wanted i can give you an exchange account for testings ...
if interesting on a test engineer -> please contact me.
android 2.2.1 - galaxy 9000 - darkys ROM 9.2
cu camel
camro said:
thanks - good idea
if this appis working, i would prefer, to sell it - it is worth ~€10 for a HUGE user group(business users).
for nwo, i'm trying to import an ICS file, which i got via email (in K9-Mail)
1.) not assiosiated with ISC in k9-mail - don'T know why ?
2.) tried to click on "calendar list", then application crash
adb logcat:
Code:
E/AndroidRuntime(10266): FATAL EXCEPTION: main
E/AndroidRuntime(10266): java.lang.NullPointerException
E/AndroidRuntime(10266): at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:355)
E/AndroidRuntime(10266): at android.widget.ArrayAdapter.getView(ArrayAdapter.java:323)
E/AndroidRuntime(10266): at android.widget.AbsListView.obtainView(AbsListView.java:1431)
E/AndroidRuntime(10266): at android.widget.ListView.measureHeightOfChildren(ListView.java:1273)
E/AndroidRuntime(10266): at android.widget.ListView.onMeasure(ListView.java:1184)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
E/AndroidRuntime(10266): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
E/AndroidRuntime(10266): at android.widget.LinearLayout.measureVertical(LinearLayout.java:381)
E/AndroidRuntime(10266): at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
E/AndroidRuntime(10266): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
E/AndroidRuntime(10266): at android.widget.LinearLayout.measureVertical(LinearLayout.java:381)
E/AndroidRuntime(10266): at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
E/AndroidRuntime(10266): at com.android.internal.widget.WeightedLinearLayout.onMeasure(WeightedLinearLayout.java:60)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
E/AndroidRuntime(10266): at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
E/AndroidRuntime(10266): at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
E/AndroidRuntime(10266): at android.view.View.measure(View.java:8224)
E/AndroidRuntime(10266): at android.view.ViewRoot.performTraversals(ViewRoot.java:812)
E/AndroidRuntime(10266): at android.view.ViewRoot.handleMessage(ViewRoot.java:1752)
E/AndroidRuntime(10266): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(10266): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(10266): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(10266): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(10266): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(10266): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(10266): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(10266): at dalvik.system.NativeStart.main(Native Method)
I/ ( 3230): dumpmesg > "/data/log/dumpstate_app_error.log"
W/ActivityManager( 3230): Force finishing activity com.icalparse/.ActivityDisplayPreference
W/ActivityManager( 3230): Activity pause timeout for HistoryRecord{48ae04b8 com.icalparse/.ActivityDisplayPreference}
if wanted i can give you an exchange account for testings ...
if interesting on a test engineer -> please contact me.
android 2.2.1 - galaxy 9000 - darkys ROM 9.2
cu camel
Click to expand...
Click to collapse
currently the ics file has to be saved on the filesystem to open it directly.
I will release a new version which will also address your problem soon.
@camro please check if your problem is fixed now.
the new version brings a big bunch of improvements
new version 1.4:
fixed a problem with appointment which have alarms defined
fixed a problem if appointments use timezones which are not defined in the icalendar informations
enhanced filtering calculation
fixed filtering calculation problems
handling now valarms
fixed a problem whith appointment that did not get updated completely
fixed a problem with durations
supporting all possible rrule configurations for filtering
fixed a problem if no active calendar has been found
If no calendar is selected the app will try to import the appointments in a calendar which is currently active
at the calendar selection also calendars can be selected which are currently not active
920904 said:
@camro please check if your problem is fixed now.
the new version brings a big bunch of improvements
new version 1.4:
fixed a problem with appointment which have alarms defined
fixed a problem if appointments use timezones which are not defined in the icalendar informations
enhanced filtering calculation
fixed filtering calculation problems
handling now valarms
fixed a problem whith appointment that did not get updated completely
fixed a problem with durations
supporting all possible rrule configurations for filtering
fixed a problem if no active calendar has been found
If no calendar is selected the app will try to import the appointments in a calendar which is currently active
at the calendar selection also calendars can be selected which are currently not active
Click to expand...
Click to collapse
no, if i click on preferences -> calendar list -> CRASH ..
also the ICS file is not assigned to your application.
(tried to click on a ICS file in k9-mail)
(ICS BOT can do that - see code -> http://code.google.com/p/enh/source/browse/trunk)
maybe it helps to find a method how to do that...
http://code.google.com/p/enh/source...rc/org/jessies/icsbot/IcsBotViewActivity.java
see line 56 (76)
EDIT: ICS BOT can maybe help a lot, because it was working great (on older API)
EDIT1: jave is not my prefer language - mabye you can compile it for the new API to make it possible to use it for 2.2 ?
camro said:
no, if i click on preferences -> calendar list -> CRASH ..
also the ICS file is not assigned to your application.
(tried to click on a ICS file in k9-mail)
(ICS BOT can do that - see code -> http://code.google.com/p/enh/source/browse/trunk)
maybe it helps to find a method how to do that...
http://code.google.com/p/enh/source...rc/org/jessies/icsbot/IcsBotViewActivity.java
see line 56 (76)
EDIT: ICS BOT can maybe help a lot, because it was working great (on older API)
EDIT1: jave is not my prefer language - mabye you can compile it for the new API to make it possible to use it for 2.2 ?
Click to expand...
Click to collapse
opening ics files from other apps will be in in the future currently the files have to be saved on the storage.
if you send me your mail address i could provide you with some special builds of the app to fix your calendar list problem.
i'm currently using it here with an i9000 with a froyo build from my wireless network operator
new version 1.5:
improved way of user informations display
improved handling of device calendars
improved handling of Text Breaks
handling exdates of appointments during filtering/importing
fixed a possible problem with rrules during updates.
if an serious problem occurres the user will be asked to send am error report.
new version 1.6:
fixed a problem with information display during importing (process bar was not updated)
new version 1.7:
replacing html quotas
new option which will enable that all parsed informations will be imported automatically
correctly handling rdates for filtering
fixed a possible problem if no end date and no duration has been set
added a german translation
added a new way to get device calendar names
920904 said:
new version 1.7:
replacing html quotas
new option which will enable that all parsed informations will be imported automatically
correctly handling rdates for filtering
fixed a possible problem if no end date and no duration has been set
added a german translation
added a new way to get device calendar names
Click to expand...
Click to collapse
.) calendar names works now
.) automatic import works
but the import can't be changed, then calendar crash ..
can the import be possible via extra option in icalparser to:
a) import process without open icalparser in window, only open a new calendar item, and fill in all informations <- semi-automatic
b) do import process without open icalparser in window, only show bubble for max. 10sec <- full-automatic
is this available on the market for 2.3? i don't see it. I was looking for an app like this after ICS bot stopped supporting 2.2/2.3. I dl'd this one app that supposedly synced ics to android and it ended up wiping my primary calendar!!!
i'd be happy to purchase/donate to this app if it can simply take an ics invite and add it to the calendar i specify. Also would hope to see it on the market.
camro said:
.) calendar names works now
.) automatic import works
but the import can't be changed, then calendar crash ..
can the import be possible via extra option in icalparser to:
a) import process without open icalparser in window, only open a new calendar item, and fill in all informations <- semi-automatic
b) do import process without open icalparser in window, only show bubble for max. 10sec <- full-automatic
Click to expand...
Click to collapse
i sent you an e-mail with some information.
sundar2012 said:
is this available on the market for 2.3? i don't see it. I was looking for an app like this after ICS bot stopped supporting 2.2/2.3. I dl'd this one app that supposedly synced ics to android and it ended up wiping my primary calendar!!!
i'd be happy to purchase/donate to this app if it can simply take an ics invite and add it to the calendar i specify. Also would hope to see it on the market.
Click to expand...
Click to collapse
currently it is not available on the marked. you can find the apk file on my page. there is a download link in the first post. there you also find an overview about the features, manual, ... some features will need a license but you can get a license for testing purpose if you are interested
920904 said:
i sent you an e-mail with some information.
currently it is not available on the marked. you can find the apk file on my page. there is a download link in the first post. there you also find an overview about the features, manual, ... some features will need a license but you can get a license for testing purpose if you are interested
Click to expand...
Click to collapse
i sent you back some emails ...
before you are going to market - think about the name, because i know from some search engines, that there are a lot of guys, which are searching for this ..."vcs" (vcard) and "ical"(iCalendar).
also, if wanted, i can talk with devel of enhanced email, which does also have this on his list to implement, but maybe he can decide to use/prefer your tool, and not try to invent the wheel again
camro said:
i sent you back some emails ...
before you are going to market - think about the name, because i know from some search engines, that there are a lot of guys, which are searching for this ..."vcs" (vcard) and "ical"(iCalendar).
also, if wanted, i can talk with devel of enhanced email, which does also have this on his list to implement, but maybe he can decide to use/prefer your tool, and not try to invent the wheel again
Click to expand...
Click to collapse
vcs import will be in in the next version. also some other enhancements will be implemented. if the dev of the enhanced email is interested in icalendar import he can contact me.

Solved: Exchange Services kills battery

There is a widespread problem with a process called "Exchange Services" on Android that rapidly drains device batteries. I have found references to the problem going at least as far back as Android 4.0. I can personally confirm that it happens on Android 4.4.2. And it happens on just about all devices, as far as I can tell.
I have:
Samsung Galaxy Note 10.1 (2012), on Android 4.1.2
Samsung Galaxy S4 (Verizon), on Android 4.4.2
Samsung Galaxy Tab Pro 8.4, on Android 4.4.2
For email, I have an Exchange account for work and an Exchange account for my personal domain.
Work email is on Exchange Server 2010 w/SP1.
Personal email was on Exchange Server 2007, up until around April.
Then it was on Exchange Server 2010 w/SP3, up until yesterday.
Now it is on Exchange Server 2013.
I have never had this problem on any device, with my work email (Exchange 2010 SP1).
I never had this problem on any device, when my personal email was on Exchange 2007.
I had this problem on all 3 devices after my personal email was upgraded to Exchange 2010 w/SP3.
I don't have this problem on any device now that my personal email has been moved to Exchange 2013.
On my S4 and my Note 10.1, I was able to get the problem to go away by deleting my personal Exchange account from the device, rebooting into Recovery and wiping cache, then re-adding the Exchange account to the device.
On my Tab Pro, nothing I did made the problem go away (when my personal email was on Exchange 2010 w/SP3). I went as far as doing a factory reset to completely wipe the tablet, then only adding the personal email account. And many other combinations in between. Nothing helped. I've had my Tab Pro 8.4 for about a month now and I have had to charge it every single day. If I didn't, it would die in less than 24 hours, even if I didn't use it at all. The only thing that would keep it from dying would be to turn off WiFi.
On my S4, I installed SafeStrap and the HyperDrive 17.1 ROM for a few days. I tried the S5 email client, the N3 email client, and the "stock w/security removed" email client (reflashing the whole ROM for each one) and they all exhibited this problem and I could not get it to go away. I finally Odin'ed back to the stock NC5 image and re-setup everything and had the problem. I deleted my personal email account, wiped cache, re-added personal email, and it went away again.
I enabled Exchange ActiveSync logging for my Tab Pro and for my S4 (can be done on the server, using Outlook Web Access, in Options) when it was having the problem and I identified what the actual problem is: The problem is that the device is constantly trying to sync and failing, so it keeps retrying continuously. Specifically, it is attempting to do a Sync on the Collection with CollectionID of "RI", which is the Recipient Info Cache collection. All the other collections sync okay, so your email, calendar, etc, sync and work just fine. But, the ActiveSync logs show that the Sync attempt on RI causes the server to generate an internal exception and then return a Status code of 8 (which, according to the documentation indicates that the collection has been moved or deleted).The device receives the status of 8 and immediately re-attempts to sync the RI. Over and over and over, once every 1 to 2 seconds. THIS is what was crushing the battery on my devices.
I investigated further and found that Microsoft actually has a patch available for this server bug. The KB article that describes the issue and provides the resolution is here:
http://support.microsoft.com/kb/2886469/en-us
The only thing that I feel like is still a mystery is why, for example, my phone would have this problem and then I could delete the account, wipe cache, and re-add the account and have the problem go away. Looking at logs of my phone syncing when it's actually working show that it Syncs RI and the server does not throw an exception. That is really strange. I guess I just have to settle for "stupid Microsoft!" and move on.
I spent the last couple of weeks trying to get my hosted Exchange provider (Apptix) to apply this MS patch to my server. They initially said they would have to test it in their lab, etc., and it could be a couple of months before they put it into production. Then, eventually they told me that they can't load it on my server with no explanation of why. In other words, Apptix SUCKS!! I was with them for years. They used to be MailStreet, but they changed names in the last year. I'm guessing AppTix bought MailStreet. MailStreet really used to be great! I would call Tech Support and the person who answered the phone would be totally competent and always handled any issue I had with 1 phone call - 2 at the most. Now that they are Apptix, their support sucks big green donkey parts. And, they more than doubled my monthly fees, in the name of premium support, too! How ironic!
With Apptix, after weeks of trying I was completely unable to get a resolution to this problem. They kept telling me it's just a known thing that devices using ActiveSync burn a lot of battery and I should just change my devices from Push to polling every 1 hour. They simply would not install the Microsoft patch that has been available for 9 MONTHS!
So, yesterday, I moved my domain to hosted Exchange with Rackspace.com. They are awesome. I was able to do the whole migration myself (except for one phone call to get them to add an Accepted Domain to my account for a subdomain that I need because I'm using Split Domain Routing - some mailboxes on Google and some on Rackspace), in about 2 hours. And I went from paying $33/month for 5GB of mailbox storage to $10/month for 100GB!
And, best of all, I moved all my devices over to my new account on Rackspace, where I'm on an Exchange 2013 server, and none of them have Exchange Services battery drain any more. My Tab Pro was burning through 80% of its battery in less than 20 hours. Today, it has been on battery for 15h 54m and battery is at 83%.
TL;DR: If you're having this problem, the FIX (vs some workarounds I've seen posted) is to either apply the Microsoft patch linked above to your Exchange 2010 server. You might have to upgrade it to Service Pack 3 first. OR, upgrade your server to Exchange Server 2013.
Caveat: I don't know for SURE that the MS patch will fix your problem, as I didn't get to try it. But, the problem description EXACTLY matches the logs I was generating, so I strongly suspect it will fix the problem.
If you want to see for yourself if this is the explanation for your own version of this problem, try this:
Login to Outlook Web Access for your email account. It has to be the full version, not the Light version.
In the upper right, click on Options/See All Options.
Then, in the left pane, click Phone.
Then, in the right pane, click on your device and then click on Start Logging.
If you don't see these options, you are not in the right version of OWA.
Leave logging on for 10 or 15 minutes, then, on the same screen, click on Retrieve Log.
This will stop logging and put the log file as an attachment to an email in your Inbox.
The log file can be opened in Notepad. It's XML. Look for something that looks like this (the part that says Microsoft.Exchange.AirSync.AirSyncPermanentException, and then the part at the bottom that says <Status>8</Status>):
Code:
RequestHeader :
POST /Microsoft-Server-ActiveSync/default.eas?Cmd=Sync&User=username%40yourdomain.com&DeviceId=SEC06A986F234C19&DeviceType=SAMSUNGSMT320 HTTP/1.1
Connection: keep-alive
Content-Length: 39
Content-Type: application/vnd.ms-sync.wbxml
Authorization: ********
Host: email.hostaccount.com
User-Agent: SAMSUNG-SM-T320/101.40402
MS-ASProtocolVersion: 14.1
X-MS-PolicyKey: 3365629650
X-Forwarded-For: 50.73.234.97
RequestBody :
<?xml version="1.0" encoding="utf-8" ?>
<Sync xmlns="AirSync:">
<Collections>
<Collection>
<SyncKey>1358440366</SyncKey>
<CollectionId>RI</CollectionId>
<DeletesAsMoves/>
<GetChanges/>
<WindowSize>10</WindowSize>
<Options/>
</Collection>
</Collections>
</Sync>
SyncCommand_OnExecute_Exception :
Microsoft.Exchange.AirSync.AirSyncPermanentException
at Microsoft.Exchange.AirSync.RecipientInfoCacheSyncCollection.OpenSyncState(Boolean autoLoadFilterAndSyncKey, SyncStateStorage syncStateStorage)
at Microsoft.Exchange.AirSync.SyncCommand.SyncTheCollection(SyncCollection collection, Boolean createSubscription, Boolean tryNullSync)
at Microsoft.Exchange.AirSync.SyncCommand.OnExecute()
LogicalRequest :
<?xml version="1.0" encoding="utf-8" ?>
<Sync xmlns="AirSync:">
<Collections>
<Collection>
<SyncKey>1358440366</SyncKey>
<CollectionId>RI</CollectionId>
<DeletesAsMoves/>
<GetChanges/>
<WindowSize>10</WindowSize>
<Options/>
</Collection>
</Collections>
</Sync>
Command_WorkerThread_Exception :
--- Exception start ---
Exception type: Microsoft.Exchange.AirSync.AirSyncPermanentException
Exception message:
Exception level: 0
HttpStatusCode: OK
AirSyncStatusCode: Ping_ServerError
XmlResponse:
<?xml version="1.0" encoding="utf-8" ?>
<Sync xmlns="AirSync:">
<Status>8</Status>
</Sync>
Exception stack trace: at Microsoft.Exchange.AirSync.SyncCommand.OnExecute()
at Microsoft.Exchange.AirSync.SyncCommand.ExecuteCommand()
at Microsoft.Exchange.AirSync.Command.WorkerThread()
Inner exception follows...
Exception type: Microsoft.Exchange.AirSync.AirSyncPermanentException
Exception message:
Exception level: 1
HttpStatusCode: InternalServerError
AirSyncStatusCode: ServerError
XmlResponse:
[No XmlResponse]
Exception stack trace: at Microsoft.Exchange.AirSync.RecipientInfoCacheSyncCollection.OpenSyncState(Boolean autoLoadFilterAndSyncKey, SyncStateStorage syncStateStorage)
at Microsoft.Exchange.AirSync.SyncCommand.SyncTheCollection(SyncCollection collection, Boolean createSubscription, Boolean tryNullSync)
at Microsoft.Exchange.AirSync.SyncCommand.OnExecute()
--- Exception end ---
AccessState :
Allowed
AccessStateReason :
Individual
ResponseHeader :
HTTP/1.1 200 OK
ResponseBody :
<?xml version="1.0" encoding="utf-8" ?>
<Sync xmlns="AirSync:">
<Status>8</Status>
</Sync>
ResponseTime :
07/08/2014 12:53:55
Hello,
Hope all is well,
So after reading this thread I went ahead and turned auto sync off from the notification panel. Deleted some accounts and only left my outlook account. For some reason exchange services keep waking up my cpu. Does anyone have the same issue, or can help me find a solution?
Thanks in advance

[Q] Gmail 5 issue 5mb attachment limit with 2007 exchange accounts

Hi,
I am having trouble getting exchange accounts to work on Gmail 5.0
Pre-lollipop update we were using the onboard android mail client with no worries, keen for the gmail integration we upgraded to gmail 5.0 where we discovered we cannot download or send attachments greater than 5mb when using an exchange account in gmail.
When downloading an attachment I get the following error "Couldn't download. Touch to retry."
When attaching a 5mb file I get "Can't attach file over 5mb."
The debugging I have done:
Files over 5mb can be downloaded/sent over wifi
All settings related to limits have been disabled
I have checked the exchange 2007 settings and there is a limit of 15mb set
Removing this limit did not help
Tested downloading an attachment using a gmail account, this was successful
Rolled back to lollipop with no updates: no success
Ensured all apps are OS is up to date
3rd party apps such as 'outlook' have no issue
I am able to download attachments greater than 5mb using OWA
I have tried multiple file types including PDF, ZIP and JPEG
Confirmed accounts are still working on email clients pre-gmail integration
Not getting anywhere from this I rooted a test phone and got the following information from logcat when attempting to download an attachment:
Code:
W/AttachmentService( 2363): Attachment #346 is not eligible for download
W/AttachmentService( 2363): Attachment #346 cannot be downloaded ever
I/ConvLayout( 2363): IN setHeight=386px of overlay item: [email protected]
W/AttachmentService( 2363): Attachment #346 is not eligible for download
W/AttachmentService( 2363): Attachment #346 cannot be downloaded ever
I/ConvLayout( 2363): IN setHeight=386px of overlay item: [email protected]
D/audio_hw_primary( 184): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary( 184): disable_snd_device: snd_device(2: speaker)
I/wpa_supplicant( 884): wlan0: CTRL-EVENT-SCAN-STARTED
Vague results here didn't help me that much, is anyone here able to help with this issue I am having?
Unfortunately using a 3rd party mail application isn't a solution I can use for this.
Is this a known bug for the system?
Any help or advice for places to look is greatly appreciated, I have run out of ideas for trying to find what this issue is.
Thankyou
Hi There,
I have the same issue! Some users on google apps using the same app don't have this limitation, only users going through exchange.
This was also a problem in the original email app back in version 4 i think but was fixed in 4.4.....now the issue is back again!
Anyone have any idea if this was just a limit simply implemented by google?
Thanks
Pete

Development - email share: All apps associated with this action have been turned off

First of all, this really belongs in the developers section but I'm not allowed to post there so - sorry. My app is sending an email with an attachment using an Intent:
Code:
Intent emailIntent = new Intent(Intent.ACTION_SEND);
Uri emailUri = new FileHelper().getUri(file, context);
emailIntent.putExtra(Intent.EXTRA_STREAM, emailUri);
emailIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
// set other stuff like to and from address
context.startActivity(Intent.createChooser(emailIntent, message.chooserMessage));
A user is reporting that when performing this action, he gets the message "All apps associated with this action have been turned off, blocked, or not installed". I happen to have the same type of phone and tested with no problems, so it is specific to some kind of configuration on his device. He says he has three email apps installed (default, GMail, and something called Blue Mail) and all are configured and work properly.
I have looked through everything I can find online about this error and can't find anything applicable to my situation. Anyone have ideas on what to try other than telling him to factory reset?

Categories

Resources