getodk / skunkworks-crow

Skunkworks-crow is an Android app for sharing filled forms stored in ODK Collect from one device to another
Other
23 stars 73 forks source link

bug: Unable to send forms through bluetooth #341

Open ajay-prabhakar opened 4 years ago

ajay-prabhakar commented 4 years ago

Software and hardware versions

Android 9, Samsung J8

Problem description

Currently, we are unable to send the forms through Bluetooth every time we are timeout error if we are making default method as Bluetooth then, it is working on some devices

Steps to reproduce the problem

Try to send the forms through the Bluetooth and observe the behavior

Expected behavior

Forms have to send successfully in Bluetooth method

huangyz0918 commented 4 years ago

Can you share me some log from Android Studio? @Chromicle Thanks.

ajay-prabhakar commented 4 years ago

It is working perfectly in my device I observed this behavior in OnePlus 6T I don't have that phone I will get in two days I will update the log message in PR template

SaumiaSinghal commented 4 years ago

Hie @Chromicle! I use a vivo v11 phone running Android 9. I tried sending the form via bluetooth, after setting the default option to send a form as bluetooth. But it still doesn't work. Hie @huangyz0918, I can share the log from Andorid Studio.

ajay-prabhakar commented 4 years ago

I can share the log from Android Studio.

Yeah, please 😄

SaumiaSinghal commented 4 years ago

2020-01-17 23:04:55.090 2184-2184/org.odk.share E/BackgroundFallback: initVivoBgFallback callstackcom.android.internal.policy.DecorView.<init>:382 com.android.internal.policy.PhoneWindow.generateDecor:2441 com.android.internal.policy.PhoneWindow.installDecor:2820 com.android.internal.policy.PhoneWindow.getDecorView:2185 androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor:575 androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor:518 androidx.appcompat.app.AppCompatDelegateImpl.setContentView:457 androidx.appcompat.app.AppCompatDialog.setContentView:99 com.google.android.material.bottomsheet.BottomSheetDialog.setContentView:88 org.odk.share.views.ui.common.applist.AppListActivity.setupBottomSheet:218 2020-01-17 23:04:57.092 2184-2184/org.odk.share W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@f3fefb3 2020-01-17 23:04:57.139 2184-2184/org.odk.share I/AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead. 2020-01-17 23:04:57.338 2184-2184/org.odk.share E/BackgroundFallback: initVivoBgFallback callstackcom.android.internal.policy.DecorView.<init>:382 com.android.internal.policy.PhoneWindow.generateDecor:2441 com.android.internal.policy.PhoneWindow.installDecor:2820 com.android.internal.policy.PhoneWindow.getDecorView:2185 androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor:575 androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor:518 androidx.appcompat.app.AppCompatDelegateImpl.setContentView:457 androidx.appcompat.app.AppCompatDialog.setContentView:99 com.google.android.material.bottomsheet.BottomSheetDialog.setContentView:88 org.odk.share.views.ui.common.applist.AppListFragment.setupBottomSheet:139 2020-01-17 23:04:57.388 2184-2184/org.odk.share E/BackgroundFallback: initVivoBgFallback callstackcom.android.internal.policy.DecorView.<init>:382 com.android.internal.policy.PhoneWindow.generateDecor:2441 com.android.internal.policy.PhoneWindow.installDecor:2820 com.android.internal.policy.PhoneWindow.getDecorView:2185 androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor:575 androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor:518 androidx.appcompat.app.AppCompatDelegateImpl.setContentView:457 androidx.appcompat.app.AppCompatDialog.setContentView:99 com.google.android.material.bottomsheet.BottomSheetDialog.setContentView:88 org.odk.share.views.ui.common.applist.AppListFragment.setupBottomSheet:139 2020-01-17 23:04:57.450 2184-2184/org.odk.share E/RecyclerView: No adapter attached; skipping layout 2020-01-17 23:04:57.453 2184-2184/org.odk.share E/RecyclerView: No adapter attached; skipping layout 2020-01-17 23:04:59.517 2184-2184/org.odk.share W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@d867e94 2020-01-17 23:04:59.624 2184-2184/org.odk.share I/AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead. 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: Rejecting re-init on previously-failed class java.lang.Class<com.evernote.android.job.gcm.PlatformGcmService>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/gcm/GcmTaskService; 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at boolean com.evernote.android.job.GcmAvailableHelper.isGcmApiSupported(android.content.Context) (GcmAvailableHelper.java:45) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at boolean com.evernote.android.job.JobApi.isSupported(android.content.Context) (JobApi.java:125) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void com.evernote.android.job.JobProxy$Common.cleanUpOrphanedJob(android.content.Context, int) (JobProxy.java:293) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void com.evernote.android.job.JobManager.schedule(com.evernote.android.job.JobRequest) (JobManager.java:186) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at int com.evernote.android.job.JobRequest.schedule() (JobRequest.java:436) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startJob(com.evernote.android.job.JobRequest) (SenderService.java:85) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startJob(com.evernote.android.job.util.support.PersistableBundleCompat) (SenderService.java:99) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startUploading(long[], int) (SenderService.java:78) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.views.ui.bluetooth.BtSenderActivity.startCheckingDiscoverableDuration() (BtSenderActivity.java:334) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.views.ui.bluetooth.BtSenderActivity.onActivityResult(int, int, android.content.Intent) (BtSenderActivity.java:312) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.Activity.dispatchActivityResult(java.lang.String, int, int, android.content.Intent, java.lang.String) (Activity.java:7583) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.deliverResults(android.app.ActivityThread$ActivityClientRecord, java.util.List, java.lang.String) (ActivityThread.java:4601) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.handleSendResult(android.os.IBinder, java.util.List, java.lang.String) (ActivityThread.java:4650) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.ActivityResultItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (ActivityResultItem.java:49) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1994) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.os.Looper.loop() (Looper.java:224) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7050) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:536) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:876) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.gcm.GcmTaskService" on path: DexPathList[[zip file "/data/app/org.odk.share-Hw-RJOQDJZToMJCu9_9EQA==/base.apk"],nativeLibraryDirectories=[/data/app/org.odk.share-Hw-RJOQDJZToMJCu9_9EQA==/lib/arm64, /system/lib64]] 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at boolean com.evernote.android.job.GcmAvailableHelper.isGcmApiSupported(android.content.Context) (GcmAvailableHelper.java:45) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at boolean com.evernote.android.job.JobApi.isSupported(android.content.Context) (JobApi.java:125) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void com.evernote.android.job.JobProxy$Common.cleanUpOrphanedJob(android.content.Context, int) (JobProxy.java:293) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void com.evernote.android.job.JobManager.schedule(com.evernote.android.job.JobRequest) (JobManager.java:186) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at int com.evernote.android.job.JobRequest.schedule() (JobRequest.java:436) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startJob(com.evernote.android.job.JobRequest) (SenderService.java:85) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startJob(com.evernote.android.job.util.support.PersistableBundleCompat) (SenderService.java:99) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startUploading(long[], int) (SenderService.java:78) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.views.ui.bluetooth.BtSenderActivity.startCheckingDiscoverableDuration() (BtSenderActivity.java:334) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.views.ui.bluetooth.BtSenderActivity.onActivityResult(int, int, android.content.Intent) (BtSenderActivity.java:312) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.Activity.dispatchActivityResult(java.lang.String, int, int, android.content.Intent, java.lang.String) (Activity.java:7583) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.deliverResults(android.app.ActivityThread$ActivityClientRecord, java.util.List, java.lang.String) (ActivityThread.java:4601) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.handleSendResult(android.os.IBinder, java.util.List, java.lang.String) (ActivityThread.java:4650) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.ActivityResultItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (ActivityResultItem.java:49) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1994) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.os.Looper.loop() (Looper.java:224) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7050) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2020-01-17 23:05:01.500 2184-2184/org.odk.share I/org.odk.share: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:536) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:876) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: Rejecting re-init on previously-failed class java.lang.Class<com.evernote.android.job.gcm.PlatformGcmService>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/gcm/GcmTaskService; 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at boolean com.evernote.android.job.GcmAvailableHelper.isGcmApiSupported(android.content.Context) (GcmAvailableHelper.java:45) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at boolean com.evernote.android.job.JobApi.isSupported(android.content.Context) (JobApi.java:125) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.evernote.android.job.JobProxy$Common.cleanUpOrphanedJob(android.content.Context, int) (JobProxy.java:293) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.evernote.android.job.JobManager.schedule(com.evernote.android.job.JobRequest) (JobManager.java:186) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at int com.evernote.android.job.JobRequest.schedule() (JobRequest.java:436) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startJob(com.evernote.android.job.JobRequest) (SenderService.java:85) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startJob(com.evernote.android.job.util.support.PersistableBundleCompat) (SenderService.java:99) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startUploading(long[], int) (SenderService.java:78) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.views.ui.bluetooth.BtSenderActivity.startCheckingDiscoverableDuration() (BtSenderActivity.java:334) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.views.ui.bluetooth.BtSenderActivity.onActivityResult(int, int, android.content.Intent) (BtSenderActivity.java:312) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.Activity.dispatchActivityResult(java.lang.String, int, int, android.content.Intent, java.lang.String) (Activity.java:7583) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.deliverResults(android.app.ActivityThread$ActivityClientRecord, java.util.List, java.lang.String) (ActivityThread.java:4601) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.handleSendResult(android.os.IBinder, java.util.List, java.lang.String) (ActivityThread.java:4650) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.ActivityResultItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (ActivityResultItem.java:49) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1994) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.os.Looper.loop() (Looper.java:224) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7050) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:536) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:876) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.gcm.GcmTaskService" on path: DexPathList[[zip file "/data/app/org.odk.share-Hw-RJOQDJZToMJCu9_9EQA==/base.apk"],nativeLibraryDirectories=[/data/app/org.odk.share-Hw-RJOQDJZToMJCu9_9EQA==/lib/arm64, /system/lib64]] 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at boolean com.evernote.android.job.GcmAvailableHelper.isGcmApiSupported(android.content.Context) (GcmAvailableHelper.java:45) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at boolean com.evernote.android.job.JobApi.isSupported(android.content.Context) (JobApi.java:125) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.evernote.android.job.JobProxy$Common.cleanUpOrphanedJob(android.content.Context, int) (JobProxy.java:293) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.evernote.android.job.JobManager.schedule(com.evernote.android.job.JobRequest) (JobManager.java:186) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at int com.evernote.android.job.JobRequest.schedule() (JobRequest.java:436) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startJob(com.evernote.android.job.JobRequest) (SenderService.java:85) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startJob(com.evernote.android.job.util.support.PersistableBundleCompat) (SenderService.java:99) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.services.SenderService.startUploading(long[], int) (SenderService.java:78) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.views.ui.bluetooth.BtSenderActivity.startCheckingDiscoverableDuration() (BtSenderActivity.java:334) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void org.odk.share.views.ui.bluetooth.BtSenderActivity.onActivityResult(int, int, android.content.Intent) (BtSenderActivity.java:312) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.Activity.dispatchActivityResult(java.lang.String, int, int, android.content.Intent, java.lang.String) (Activity.java:7583) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.deliverResults(android.app.ActivityThread$ActivityClientRecord, java.util.List, java.lang.String) (ActivityThread.java:4601) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.handleSendResult(android.os.IBinder, java.util.List, java.lang.String) (ActivityThread.java:4650) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.ActivityResultItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (ActivityResultItem.java:49) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1994) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.os.Looper.loop() (Looper.java:224) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7050) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:536) 2020-01-17 23:05:01.501 2184-2184/org.odk.share I/org.odk.share: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:876) 2020-01-17 23:05:01.519 2184-2184/org.odk.share D/SenderService: Starting upload job 15 : 2020-01-17 23:05:01.569 2184-2632/org.odk.share D/PlatformAlarmService: Run job, request{id=15, tag=formUploadJob, transient=false}, waited 00:00:00, delay 00:00:00 2020-01-17 23:05:01.582 2184-2632/org.odk.share I/JobExecutor: Executing request{id=15, tag=formUploadJob, transient=false}, context PlatformAlarmService 2020-01-17 23:05:01.599 2184-2633/org.odk.share D/UploadJob: Waiting for receiver 2020-01-17 23:05:01.602 2184-2633/org.odk.share W/BluetoothAdapter: getBluetoothService() called with no BluetoothManagerCallback 01-17 23:19:56.278 13263-13301/org.odk.share W/MALI: gles_texture_delete_textures:194: [MALI] GLES ctx 0x7f74286008, delete texture name 205 of total 1(0), elapse time: 14324 01-17 23:20:00.017 13263-13301/org.odk.share W/MALI: glDrawArrays:714: [MALI] glDrawArrays takes more than 5ms here. Total elapse time(us): 5308

SaumiaSinghal commented 4 years ago

It gets stuck at getBluetoothService() called with no BluetoothManagerCallback on Android 9. @Chromicle, you were correct. On other devices, it works fine if the default method of sending a form is set via Bluetooth, but I could still see this issue sometimes.:/ @Chromicle, if you are not working on it, I would like to work on it. :)