[jira] [Created] (CB-10617) Follow-up: Periodic crashing on close of Camera plugin on SOME Androids

2016-02-15 Thread Scott J. Pearson (JIRA)
Scott J. Pearson created CB-10617:
-

 Summary: Follow-up: Periodic crashing on close of Camera plugin on 
SOME Androids
 Key: CB-10617
 URL: https://issues.apache.org/jira/browse/CB-10617
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Reporter: Scott J. Pearson


CB-10507

I implemented the fixes in CB-10507. The researcher in Botswana said that it 
fixes the code crashes in 50% of the cases, but 50% crash as follows. I wonder 
if you have any ideas. Thanks.

Scott

I/sensor_drv_u(  156): L 1514, _Sensor_SetId: SENSOR: add I2C driver OK.
I/sensor_drv_u(  156): L 1077, Sensor_PowerOn_Ex: SENSOR:  power_down_level = 0,
 avdd_val = 3
I/sensor_drv_u(  156): L 1743, _Sensor_SetStatus: _Sensor_SetStatus: 2
I/sensor_drv_u(  156): L 1486, _Sensor_SetId: _Sensor_SetId:sensor_id=0,is_regis
ter_sensor=1,is_main_sensor=1
I/sensor_drv_u(  156): L 1747, _Sensor_SetStatus: _Sensor_SetStatus: 3
I/sensor_drv_u(  156): L 1135, Sensor_SetExportInfo: SENSOR: Sensor_SetExportInf
o.
I/sensor_drv_u(  156): L 1750, _Sensor_SetStatus: _Sensor_SetStatus: 4
I/sensor_drv_u(  156): L 2528, Sensor_Open: 2, sensor set status
I/sensor_drv_u(  156): L 1529, Sensor_GetCurId: Sensor_GetCurId,sensor_id =0
I/sensor_drv_u(  156): L 2536, Sensor_Open: 3:sensor_id :0,addr=0x28
I/sensor_drv_u(  156): L 688, Sensor_SetI2CClock: Sensor_SetI2CClock: clock = 40

I/(  156): L 1824, _sr541_set_vendorid: _sr541_set_vendorid
I/(  156): L 1828, _sr541_set_vendorid: _sr541_set_vendorid : Vendor ID
is already set (0x0A05)
I/(  156): L 1471, _sr541_InitExifInfo: _sr541_InitExifInfo
I/sensor_drv_u(  156): L 1135, Sensor_SetExportInfo: SENSOR: Sensor_SetExportInf
o.
D/cmr_msg (  156): L 190, cmr_msg_post: queue_handle 0xb7836d40, msg type 0x8000
1 num 0 cnt 10
D/cmr_msg (  156): L 190, cmr_msg_post: queue_handle 0xb7836d40, msg type 0x8000
7 num 1 cnt 10
D/cmr_msg (  156): L 98, cmr_msg_get: queue_handle 0xb7836d40, msg type 0x80001
num 1 cnt 10
I/sensor_drv_u(  156): L 3711, _Sensor_ThreadProc: Msg, 0x80001
I/sensor_drv_u(  156): L 3712, _Sensor_ThreadProc: timestamp = 6318007.
I/sensor_drv_u(  156): L 2588, _Sensor_SetMode: _Sensor_SetMode : mode = 0
I/sensor_drv_u(  156): L 1529, Sensor_GetCurId: Sensor_GetCurId,sensor_id =0
I/sensor_drv_u(  156): L 936, Sensor_SetMCLK: Sensor_SetMCLK mclk = 24
I/sensor_drv_u(  156): L 938, Sensor_SetMCLK: Sensor_SetMCLK Done mclk = 24, ret
 = 0
I/sensor_drv_u(  156): L 1418, Sensor_SendRegTabToSensor: Sensor_SendRegTabToSen
sor
E/(  156): L 169, isp_raw_para_update_from_file: sensor is not raw farma
t!!
D/cmr_msg (  156): L 190, cmr_msg_post: queue_handle 0xb7836d40, msg type 0x8000
1 num 1 cnt 10
I/sensor_drv_u(  156): L 2565, Sensor_Open: 4 open success
I/sensor_drv_u(  156): L 2976, Sensor_GetInfo: Sensor_GetInfo: info=b78311b8
I/SprdOEMCamera(  156): L 443, camera_sensor_init: It's YUV Sensor, 0
I/cmr_oem (  156): L 875, camera_sensor_inf: lane_num 2, bits_per_pxl 8, is_loos
e 1
I/SprdOEMCamera(  156): L 2053, camera_init_internal: timestamp = 6318010.
I/cmr_v4l2(  156): L 106, cmr_v4l2_init: Start to open V4L2 device.
I/cmr_v4l2(  156): L 113, cmr_v4l2_init: OK to open device.
I/cmr_v4l2(  156): L 657, cmr_v4l2_scale_capability: width 4096, sc_factor 4
I/SprdOEMCamera(  156): L 9040, camera_cb_thread_init: inited, 0
I/SprdOEMCamera(  156): L 9042, camera_cb_thread_init: timestamp = 6318011.
D/cmr_msg (  156): L 33, cmr_msg_queue_create: count 0x28
D/cmr_msg (  156): L 56, cmr_msg_queue_create: queue_handle 0xb78372a0
I/SprdOEMCamera(  156): L 9093, camera_cb_thread_proc: timestamp = 6318013.
D/cmr_msg (  156): L 190, cmr_msg_post: queue_handle 0xb78372a0, msg type 0x2008
00 num 0 cnt 40
I/SprdOEMCamera(  156): L 1028, camera_cap_thread_init: inited, 0
I/SprdOEMCamera(  156): L 1030, camera_cap_thread_init: timestamp = 6318013.
D/cmr_msg (  156): L 33, cmr_msg_queue_create: count 0x14
D/cmr_msg (  156): L 56, cmr_msg_queue_create: queue_handle 0xb7c58200
I/SprdOEMCamera(  156): L 9095, camera_cb_thread_proc: timestamp = 6318013.
I/SprdOEMCamera(  156): L 9105, camera_cb_thread_proc: timestamp = 6318013.
I/SprdOEMCamera(  156): L 9106, camera_cb_thread_proc: callback thread inited
I/SprdOEMCamera(  156): L 9107, camera_cb_thread_proc: timestamp = 6318013.
I/cmr_v4l2(  156): L 742, cmr_v4l2_thread_proc: cmr_v4l2_thread_proc : In
I/SprdOEMCamera(  156): L 1635, camera_cap_thread_proc: timestamp = 6318014.
D/cmr_msg (  156): L 190, cmr_msg_post: queue_handle 0xb7c58200, msg type 0x2002
00 num 0 cnt 20
I/SprdOEMCamera(  156): L 1081, camera_cap_subthread_init: inited, 0
I/SprdOEMCamera(  156): L 1083, camera_cap_subthread_init: timestamp = 6318014.
D/cmr_msg (  156): L 33, cmr_msg_queue_create: count 0x14
D/cmr_msg (  156): L 56, cmr_msg_queue_create: queue_handle 0xb78377c0
I/SprdOEMCamera(  156): L 1637, camera_cap_thread_proc: timestamp = 6318

[jira] [Commented] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-04 Thread Scott J. Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132959#comment-15132959
 ] 

Scott J. Pearson commented on CB-10507:
---

One more quick question. Does an OnResume of the first page of the
restarted app ever get called? If not, how can I access the event¹s plugin
result?


Scott J. Pearson

REDCap Core Programmer, Project REDCap

REDCap Mobile App

http://projectredcap.org 

Vanderbilt Institute for Clinical and Translational Research (VICTR)

615-322-6039 (o)











> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, 
> in_dev
> ices:0x0
> I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I

[jira] [Commented] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-04 Thread Scott J. Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132937#comment-15132937
 ] 

Scott J. Pearson commented on CB-10507:
---

Sounds cool. I think I get it. Thanks for ALL your help.

> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, 
> in_dev
> ices:0x0
> I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer DACRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Earpiece Function'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer DACLSPKL Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'SPKL Mixer DACRSPKL Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Speaker Function'.0 to 1
> 

[jira] [Resolved] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-04 Thread Scott J. Pearson (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott J. Pearson resolved CB-10507.
---
Resolution: Fixed

Previous issue for Android.

> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, 
> in_dev
> ices:0x0
> I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer DACRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Earpiece Function'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer DACLSPKL Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'SPKL Mixer DACRSPKL Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Speaker Function'.0 to 1
> I/vb_effect(  155): s_cur_out_devices(0x0002), 
> s_cur_in

[jira] [Commented] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-04 Thread Scott J. Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132871#comment-15132871
 ] 

Scott J. Pearson commented on CB-10507:
---

The only thing I don't get is that the APPLICATION restarts on another page, 
different than the one the picture is taken on. How does the onResume fix help 
revert back. Do I need to catch it on the first page and fast-forward to the 
later page? I'm going to have to save a bunch more variables than the imageURI, 
but that's ok. 

> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, 
> in_dev
> ices:0x0
> I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer DACRHP

[jira] [Commented] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-04 Thread Scott J. Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132252#comment-15132252
 ] 

Scott J. Pearson commented on CB-10507:
---

>From email from Botswana team

---

The Device uses android version 4.4. 4 .  It is a Samsung , Model number 
SM-J100H. Kernel version 3.10.17-843154
 
After pressing OK to save the picture the app restarts. It goes back to the 
login screen.


> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, 
> in_dev
> ices:0x0
> I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer DACRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Earpiece Function'.0 to 0
> I/audio_h

[jira] [Commented] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-04 Thread Scott J. Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132253#comment-15132253
 ] 

Scott J. Pearson commented on CB-10507:
---

This works fine on most models.

> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, 
> in_dev
> ices:0x0
> I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer DACRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Earpiece Function'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer DACLSPKL Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'SPKL Mixer DACRSPKL Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Speaker Function'.0 to 1
> I/vb_effect(  155): s_cur

[jira] [Commented] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-03 Thread Scott J. Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131046#comment-15131046
 ] 

Scott J. Pearson commented on CB-10507:
---

Awesome. Thanks! I have communicated with the team leader there, and she will 
get back to me soon. (They're sleeping now.) She's usually pretty quick, but 
another log may take her a couple days.

Thanks again for your expertise and your time.



> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, 
> in_dev
> ices:0x0
> I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer DACRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Earpiece Function'.0 to 0
> I/audio

[jira] [Commented] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-03 Thread Scott J. Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130917#comment-15130917
 ] 

Scott J. Pearson commented on CB-10507:
---

We appreciate your time in looking at it. This group is trying to salvage two 
devices on their long-term study.

> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, 
> in_dev
> ices:0x0
> I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'HPR Mixer DACRHPR Switch'.0 to 0
> I/audio_hw_primary(  155): Set 'Earpiece Function'.0 to 0
> I/audio_hw_primary(  155): Set 'SPKL Mixer DACLSPKL Switch'.0 to 1
> I/audio_hw_primary(  155): Set 'SPKL Mixer DACRSPKL Switch'.0 to 1
> I/a

[jira] [Commented] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-03 Thread Scott J. Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130914#comment-15130914
 ] 

Scott J. Pearson commented on CB-10507:
---

ori-sjp-imac:collector.stable12 pearsosj$ cordova plugin ls
com.shazron.cordova.plugin.keychainutil 2.0.0 "KeyChain Plugin for Cordova iOS"
cordova-plugin-camera 2.1.0 "Camera"
cordova-plugin-console 1.0.2-dev "Console"
cordova-plugin-device 1.0.2-dev "Device"
cordova-plugin-file 3.0.0 "File"
cordova-plugin-media 1.0.1 "Media"
cordova-plugin-media-capture 1.1.0 "Capture"
cordova-plugin-touchid 0.3.0 "Touch ID"
cordova-plugin-whitelist 1.0.0 "Whitelist"
cordova-sqlite-evfree 0.8.0-pre "Cordova sqlite storage - free enterprise 
version with Android memory fix"
de.appplant.cordova.plugin.email-composer 0.8.2 "EmailComposer"
edu.vanderbilt.redcap.encryptionchecker 1.0.0 "Encryption Checker"
edu.vanderbilt.redcap.encryptplugin 1.0.0 "Encrypt Plugin"
edu.vanderbilt.redcap.filetransfer 0.5.0 "File Transfer"
edu.vanderbilt.redcap.sslcertificatechecker 1.0.0 "REDCap Certificate Checker"
nl.x-services.plugins.videocaptureplus 1.3.0 "VideoCapturePlus"
org.apache.cordova.battery-status 0.2.12 "Battery"
org.apache.cordova.dialogs 0.3.0 "Notification"
org.apache.cordova.geolocation 0.3.12 "Geolocation"
org.apache.cordova.network-information 0.2.15 "Network Information"
org.apache.cordova.vibration 0.3.13 "Vibration"
phonegap-plugin-barcodescanner 4.0.1 "BarcodeScanner"
ori-sjp-imac:collector.stable12 pearsosj$ cordova platform ls
Installed platforms: android 5.1.0, ios 3.9.2
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, osx, webos


The device is located in Botswana (Africa), so I'm going to have to get back to 
you on the OS version.

Android SDK Platform 6.0 is installed alongside several 5.0 versions. Do I need 
to downgrade for the device?

The app runs successfully until eventually a picture is taken, and then it 
never returns. This is for a research project, and pictures are used to 
identify the participants.

> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android
>Reporter: Scott J. Pearson
>  Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the 
> code.
>  
> Thanks
> Balladiah
>  
> From: Pearson, Scott James [...] 
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>  
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>  
> Cordova (our framework and the team who manages the Camera plugin) claims 
> they fixed this bug recently. I’ve upgraded my software, and now it is to you 
> to test.
>  
> Let me know how it goes.
>  
> Scott
> ---
> D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : 
> DVFS_MIN_
> LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : 
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager(  608): mDVFSHelper.acquire()
> W/audio_hw_primary(  155): open s_tinycard successfully
> I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to 
> (0x000
> 2)
> I/audio_hw_primary(  155): Changing in_devices: from (0x) to 
> (0x
> )
> W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, 
> in
> _devices:0x0
> W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 
> 0x
> 130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, 
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b 
> device:0x0 v
> ol_level:0x1
> D/audio_pga(  155): 'speaker-l' apply
> I/audio_pga(  155): 'SPKL Playback Volume' set to 10
> I/audio_pga(  155): 'DACL Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACL DG Set' set to 22
> I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
> D/audio_pga(  155): 'speaker-r' apply
> I/audio_pga(  155): 'SPKR Playback Volume' set to 10
> I/audio_pga(  155): 'DACR Playback Volume' set to 7
> I/audio_pga(  155): 'VBC DACR DG Set' set to 22
> I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
> W/audio_hw

[jira] [Created] (CB-10507) Periodic Bug before resume event is called. On SOME Androids only (continued)

2016-02-02 Thread Scott J. Pearson (JIRA)
Scott J. Pearson created CB-10507:
-

 Summary: Periodic Bug before resume event is called. On SOME 
Androids only (continued)
 Key: CB-10507
 URL: https://issues.apache.org/jira/browse/CB-10507
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 5.0.1
 Environment: Android
Reporter: Scott J. Pearson


Reported in 10469. Issue now closed, but report from client:

Hi Scott
I downloaded the upgrade, but it still does the same thing. I’ve attached the 
code.
 
Thanks
Balladiah
 
From: Pearson, Scott James [...] 
Sent: 01 February 2016 21:34
To: Balladiah Kizito
Subject: Good news - bug fix
 
REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
 
Cordova (our framework and the team who manages the Camera plugin) claims they 
fixed this bug recently. I’ve upgraded my software, and now it is to you to 
test.
 
Let me know how it goes.
 
Scott



---


D/CustomFrequencyManagerService(  608): acquireDVFSLockLocked : type : DVFS_MIN_
LIMIT  frequency : 120  uid : 1000  pid : 608  pkgName : ACTIVITY_RESUME_BOO
STER@3
W/ActivityManager(  608): mDVFSHelper.acquire()
W/audio_hw_primary(  155): open s_tinycard successfully
I/audio_hw_primary(  155): Changing out_devices: from (0xfffd) to (0x000
2)
I/audio_hw_primary(  155): Changing in_devices: from (0x) to (0x
)
W/audio_hw_primary(  155): vb_control_parameters.c hp_pa_delay_config 0x0 pa_con
fig:0x230(0x230, 0), 0x130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0,
0)
W/audio_hw_primary(  155): SetAudio_PaConfig_by_devices out, out_devices:0x2, in
_devices:0x0
W/audio_hw_primary(  155): GetAudio_gain_by_devices, outmode:3 inmode:3,indev:0x
0, outdev:0x2
W/audio_hw_primary(  155): vb_control_parameters.c pa_config:0x230(0x230, 0), 0x
130(fm)(0x130, 0),  hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
W/audio_hw_primary(  155): vb_control_parameters.c GetAudio_outpga_nv, dac_pga_g
ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
W/audio_hw_primary(  155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b device:0x0 v
ol_level:0x1
D/audio_pga(  155): 'speaker-l' apply
I/audio_pga(  155): 'SPKL Playback Volume' set to 10
I/audio_pga(  155): 'DACL Playback Volume' set to 7
I/audio_pga(  155): 'VBC DACL DG Set' set to 22
I/audio_pga(  155): 'VBC DACL DG Switch' set to 1
D/audio_pga(  155): 'speaker-r' apply
I/audio_pga(  155): 'SPKR Playback Volume' set to 10
I/audio_pga(  155): 'DACR Playback Volume' set to 7
I/audio_pga(  155): 'VBC DACR DG Set' set to 22
I/audio_pga(  155): 'VBC DACR DG Switch' set to 1
W/audio_hw_primary(  155): SetAudio_gain_by_devices out, out_devices:0x2, in_dev
ices:0x0
I/audio_hw_primary(  155): Set 'Mic Function'.0 to 0
I/audio_hw_primary(  155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
I/audio_hw_primary(  155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
I/audio_hw_primary(  155): Set 'Aux Mic Function'.0 to 0
I/audio_hw_primary(  155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
I/audio_hw_primary(  155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
I/audio_hw_primary(  155): Set 'HP Mic Function'.0 to 0
I/audio_hw_primary(  155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
I/audio_hw_primary(  155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
I/audio_hw_primary(  155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
I/audio_hw_primary(  155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
I/audio_hw_primary(  155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
I/audio_hw_primary(  155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
I/audio_hw_primary(  155): Set 'Linein Speaker Mute Switch'.0 to 1
I/audio_hw_primary(  155): Set 'Linein Headphone Mute Switch'.0 to 1
I/audio_hw_primary(  155): Set 'Linein Mute Switch'.0 to 1
I/audio_hw_primary(  155): Set 'Line Function'.0 to 0
I/audio_hw_primary(  155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
I/audio_hw_primary(  155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
I/audio_hw_primary(  155): Set 'HeadPhone Function'.0 to 0
I/audio_hw_primary(  155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
I/audio_hw_primary(  155): Set 'HPR Mixer DACRHPR Switch'.0 to 0
I/audio_hw_primary(  155): Set 'Earpiece Function'.0 to 0
I/audio_hw_primary(  155): Set 'SPKL Mixer DACLSPKL Switch'.0 to 1
I/audio_hw_primary(  155): Set 'SPKL Mixer DACRSPKL Switch'.0 to 1
I/audio_hw_primary(  155): Set 'Speaker Function'.0 to 1
I/vb_effect(  155): s_cur_out_devices(0x0002), s_cur_in_devices(0x)
I/vb_effect(  155): profile is Handsfree, ret=0
I/audio_hw_primary(  155): do_select_devices X
I/audio_hw_primary(  155): stream_routing_thread looping done.
I/audio_hw_primary(  155): stream_routing_thread looping now...
W/audio_hw_primary(  155): out->write_threshold=0, config.avail_min=960, start_t
hreshold=960
D/WindowOrientationListener(  608): sensor enabled
I/SensorManagerA(  608): getReportingMode :: sensor.mType = 65558
D/SensorService(  608): Auto

[jira] [Created] (CB-10469) Periodic Bug before resume event is called. On SOME Androids only

2016-01-28 Thread Scott J. Pearson (JIRA)
Scott J. Pearson created CB-10469:
-

 Summary: Periodic Bug before resume event is called. On SOME 
Androids only
 Key: CB-10469
 URL: https://issues.apache.org/jira/browse/CB-10469
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaJS
 Environment: Mac OSX, Android releases.

cordova --version
5.3.3
Reporter: Scott J. Pearson
Priority: Blocker
 Fix For: Master


We do a research app that is the leading of its kind. We have a group in 
Botswana, Africa, who reports that our app crashes when resuming. (Not on load, 
but on resume.) The error messages (below) make it seem that this error is on 
the outside of our code. (We have an onResume function that is always called. I 
haven't found evidence that it reaches this point.)

Interestingly, it only happens on SOME of their Android devices. Also, we have 
not had this bug reported by any of our thousands of other iOS and Android 
users. They bought the Androids in Botswana (above South Africa), so I'm 
guessing that they may have an Android rejected by US inspection. Maybe I'm 
overly cynical.

Anyways, the error messages are below. It seems to be in handing the data 
structure over to the MainActivity. who or data is null. You probably know more 
than I do, though.

D/CordovaInterfaceImpl( 2471): Sending activity result to plugin
D/AndroidRuntime( 2471): Shutting down VM
W/dalvikvm( 2471): threadid=1: thread exiting with uncaught exception (group=0x4
16f1bc0)
E/AndroidRuntime( 2471): FATAL EXCEPTION: main
E/AndroidRuntime( 2471): Process: edu.vanderbilt.redcap, PID: 2471
E/AndroidRuntime( 2471): java.lang.RuntimeException: Unable to resume activity {
edu.vanderbilt.redcap/edu.vanderbilt.redcap.MainActivity}: java.lang.RuntimeExce
ption: Failure delivering result ResultInfo{who=null, request=34, result=-1, dat
a=null} to activity {edu.vanderbilt.redcap/edu.vanderbilt.redcap.MainActivity}:
java.lang.NullPointerException
E/AndroidRuntime( 2471):at android.app.ActivityThread.performResumeActiv
ity(ActivityThread.java:3056)
E/AndroidRuntime( 2471):at android.app.ActivityThread.handleResumeActivi
ty(ActivityThread.java:3085)
E/AndroidRuntime( 2471):at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2498)
E/AndroidRuntime( 2471):at android.app.ActivityThread.access$800(Activit
yThread.java:166)
E/AndroidRuntime( 2471):at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1283)
E/AndroidRuntime( 2471):at android.os.Handler.dispatchMessage(Handler.ja
va:102)
E/AndroidRuntime( 2471):at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2471):at android.app.ActivityThread.main(ActivityThrea
d.java:5584)
E/AndroidRuntime( 2471):at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 2471):at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 2471):at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:1268)
E/AndroidRuntime( 2471):at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:1084)
E/AndroidRuntime( 2471):at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 2471): Caused by: java.lang.RuntimeException: Failure deliveri
ng result ResultInfo{who=null, request=34, result=-1, data=null} to activity {ed
u.vanderbilt.redcap/edu.vanderbilt.redcap.MainActivity}: java.lang.NullPointerEx
ception
E/AndroidRuntime( 2471):at android.app.ActivityThread.deliverResults(Act
ivityThread.java:3641)
E/AndroidRuntime( 2471):at android.app.ActivityThread.performResumeActiv
ity(ActivityThread.java:3043)
E/AndroidRuntime( 2471):... 12 more
E/AndroidRuntime( 2471): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2471):at org.apache.cordova.camera.CameraLauncher.proc
essResultFromCamera(CameraLauncher.java:411)
E/AndroidRuntime( 2471):at org.apache.cordova.camera.CameraLauncher.onAc
tivityResult(CameraLauncher.java:610)
E/AndroidRuntime( 2471):at org.apache.cordova.CordovaInterfaceImpl.onAct
ivityResult(CordovaInterfaceImpl.java:120)
E/AndroidRuntime( 2471):at org.apache.cordova.CordovaActivity.onActivity
Result(CordovaActivity.java:353)
E/AndroidRuntime( 2471):at android.app.Activity.dispatchActivityResult(A
ctivity.java:5634)
E/AndroidRuntime( 2471):at android.app.ActivityThread.deliverResults(Act
ivityThread.java:3637)
E/AndroidRuntime( 2471):... 13 more
W/ActivityManager(  608):   Force finishing activity edu.vanderbilt.redcap/.Main
Activity




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-9944) On amazon-fireos, adding cordova-plugin-device produces Error initializing Cordova: Class not found

2015-11-03 Thread Scott J. Pearson (JIRA)
Scott J. Pearson created CB-9944:


 Summary: On amazon-fireos, adding cordova-plugin-device produces 
Error initializing Cordova: Class not found
 Key: CB-9944
 URL: https://issues.apache.org/jira/browse/CB-9944
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaCommon
 Environment: amazon-fireos
Reporter: Scott J. Pearson


Whenever I add cordova-plugin-device to my amazon-fireos project, I receive the 
run-time message Error initializing Cordova, Class not found! This is strange 
because the plugin is the same as that on Android; it works there. What is 
missing?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org