Wednesday, 15 July 2015

email - Sending e-mail on Android automatically -


I follow the procedures to send e-mail without user intervention from my device (Nexus 7 & Samsung Galaxy S5) Both of the described in

and

have sent the e-mail correctly, but I always end up with a popup message "Turns Off Gmail" on my device. , Which is not too weak for my app's user and by which both solutions are Mr. make.

Is there any other solution, or how can I get rid of this error?

The logs show the following errors:

03-17 11: 44: 32.324: I / Gmail (2797): intention is to change the provider: Intent {Act = android.intent.action.PROVIDER_CHANGED dat = content: // gmail-ls / unread / ^ I (extra extras)} 03-17 11: 44: 32.341: I / Gmail (2797): Sender sent intent to change : Intent {act = android.intent.action.PROVIDER_CHANGED dat = content: // gmail-ls / unread / ^ IIIM (additional)} 03-17 11: 44: 32.365: I / Gmail (2797): indicated Account changed 03-17 11: 44: 32.368: I / Gmail (2797): getAccountsCurs or 03-17 11: 44: 32.369: Blue / Gmail (2797): Sink complete for account: Account: -654877552 03-17 11: 44: 32.379: W / GAV2 (2797): thread [SyncAdapterThread-1,5, main]: Dispatch call queued Need to call GAServiceManager.getInstance () 3-17 11: 44: 32.380: E / Android Random (2797): Quite Exception: SyncAdapterThread-1 03-17 11: 44: 32.380: E / Android Random (2797): Process: com.google. Android.gm, PID: 2797 03-17 11: 44: 32.380: E / Android Random (2797): java.lang.NullPointerException: Virtual Method 'java.lang.String android.net.Uri.getScheme ()' Trying to open an empty object on reference 03 -17 11: 44: 32.380: E / Android Random (27 9 7): Android Content Content Resolver OpenInstream Stream (ContentRSolver.JA Java: 630) 03-17 11: 44: 32.380: E / Android Random (2797): .android.gm.provider.aV.b at com.google (source file: 6237) 03-17 11: 44: 32.380: E / Android Random (2797): at com.google.android.gm.provider.bh.HC (Source: 4213) 03-17 11: 44: 32.380: E / Android Random (27 9 7): at com.google.android.gm.provider.bh & lt; Init & gt; (Source file: 4186) 03-17 11: 44: 32.380: E / Android time (2797): at com.google.android.gm.provider.bo.a (source file: 3898) 03-17 11: 44: 32.380: E / Android Rendime (2797): at com.google.android.gm.provider. Operations.b (Hundred RceFile: 628) 03-17 11: 44: 32.380: E / AndroidRuntime (2797): at com.google.android.gm.provider.aV.a (Sourcefile: 5936) 03-17 11: 44 : 32.380: E / Android Random (2797): at com.google.android.gm.provider.MailSync.a (source file: 89 9) 03-17 11: 44: 32.380: E / Androindertime (2797) : At com.google.android.gm.provider Mail engine.a (source file: 2432) 03-17 11: 44: 32.380: E / Android Random (27 9 7): at com.google.android.gm.provider.MailEngine.a (source file: 2129) 03-17 11 : 44: 32.380: E / Android Random (2797): at com.google.android.gm.provider.bp.a (source file: 127) 03-17 11: 44: 32.380: E / Android Random (279 7): at com.google. Android.common.b.onPerformSync (source file: 33) 03-17 11: 44: 32.380: E / Android Random (2797): at com.google.android.gm.provider.bp.onPerformSync (source file: 82) 03-17 11: 44: 32.380: E / Android Random (27 9 7): Android Content. Abrecredredet sync Adapter $ SyncThread.run 03:49 11: 44: 32.417: I / NotifUtils (27 9 7): Notification valid, map size: 1 gram Are you able to get a stack trace of error? Which is causing Gmail to shut down? If you are on an Android studio, it will be subject to logcat .

By selecting the dropdown in the right-hand side of the logging area, you need to remove the filter for the log and select No Filter .

This will help you troubleshoot the error due to this accident.

Related : I have an argument to send an email to a server, where you can monitor better delivery, spam compliance (in the US) and usage rates if you want to email No need to send as a user, this can be a better solution.


No comments:

Post a Comment