everythingandroid / android-smspopup

Automatically exported from code.google.com/p/android-smspopup
89 stars 62 forks source link

voicemail-example-for-android code not working in samsung android phones, working in Motorola phones #452

Open shivangbtech opened 9 years ago

shivangbtech commented 9 years ago

I am working on "voicemail-example-for-android"

URL: https://code.google.com/p/voicemail-example-for-android/wiki/Development

I have implemented server for it. When I sync voice message using IMAP from server. It's working fine in Motorola devices of android but not other devices like samsung, HTC, many others.

In motorola devices it shows voice mail in call logs but in other devices it is not showing desired voice message in call logs, Can you please help me to get rid this problem. It's very important for me. Please!!!

shivangbtech commented 9 years ago

I am getting exception below in SAMSUNG device:

10-05 18:09:05.237: E/VoicemailSample(26794): OmtpFetchController: Couldn't write payload to content provider 10-05 18:09:05.237: E/VoicemailSample(26794): java.io.IOException: Updating voicemail should have updated 1 row, was: 0 10-05 18:09:05.237: E/VoicemailSample(26794): at com.example.android.voicemail.common.core.VoicemailProviderHelpers.setVoicemailContent(VoicemailProviderHelpers.java:154) 10-05 18:09:05.237: E/VoicemailSample(26794): at com.example.android.voicemail.common.core.VoicemailProviderHelpers.setVoicemailContent(VoicemailProviderHelpers.java:126) 10-05 18:09:05.237: E/VoicemailSample(26794): at com.google.android.voicemail.example.service.fetch.OmtpFetchController.onHandleFetchIntent(OmtpFetchController.java:89) 10-05 18:09:05.237: E/VoicemailSample(26794): at com.google.android.voicemail.example.service.fetch.OmtpFetchService.onHandleIntent(OmtpFetchService.java:71) 10-05 18:09:05.237: E/VoicemailSample(26794): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) 10-05 18:09:05.237: E/VoicemailSample(26794): at android.os.Handler.dispatchMessage(Handler.java:99) 10-05 18:09:05.237: E/VoicemailSample(26794): at android.os.Looper.loop(Looper.java:137) 10-05 18:09:05.237: E/VoicemailSample(26794): at android.os.HandlerThread.run(HandlerThread.java:60) 10-05 18:09:05.237: D/VoicemailSample(26794): OmtpFetchController: Received onHandleFetchIntent(Intent { act=com.google.android.apps.vvm.VOICEMAIL_FETCH dat=content://com.android.voicemail/voicemail/5?source_package=com.google.android.voicemail.example cmp=com.google.android.voicemail.example/.service.fetch.OmtpFetchService (has extras) })