Android Question (BALayout)

PFlores81

Active Member
Licensed User
Longtime User
Having an issue since updating a few libraries and cannot narrow it down to which.

Recompiled using new libraries and now log shows up with an error in BALayout.java:41

Application just FC and drops back to home screen.

Edit: NM, I narrowed it down to the latest AHPager
 
Last edited:

PFlores81

Active Member
Licensed User
Longtime User
ugh, almost got it done but now upon compile its throwing an error

"Loop iterator should be a numeric variable." its Identical to the demo code... well its a few numbers less but sheesh.

Ok fixed, yet still get an FC at load time.
 
Last edited:
Upvote 0

PFlores81

Active Member
Licensed User
Longtime User
Log file below, still will not load layouts

B4X:
accelHandler -0.009580 3.240461 8.714278


START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.zpaid.ngf/.main} from pid 1027


Start proc com.zpaid.ngf for activity com.zpaid.ngf/.main: pid=31098 uid=10136 gids={50136, 3003, 1015, 1023, 1028}


loaded /system/lib/egl/libEGL_adreno200.so


loaded /system/lib/egl/libGLESv1_CM_adreno200.so


loaded /system/lib/egl/libGLESv2_adreno200.so
<qeglDrvAPI_eglInitialize:269>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_VANILLA.04.02.02.60.051_msm8960_JB_VANILLA_CL2997615_release_AU (CL2997615)
Build Date: 04/11/13 Thu
Local Branch:
Remote Branch: quic/mako_jb_mr1
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_JB_VANILLA.04.02.02.60.051 +  NOTHING
<s3dReadConfigFile:75>: Can't open file for reading


<s3dReadConfigFile:75>: Can't open file for reading
<s3dReadConfigFile:75>: Can't open file for reading
Enabling debug mode 0
** Activity (main) Create, isFirst = true **


Using cached license response


Before reset_l


printFileName fd(35) -> /data/app/com.zpaid.ngf-2.apk


Didn't match the sniff3G2 <=== status = 3
Didn't match the sniff <=== status = 5
Didn't match the sniff <=== status = 1
Didn't match the sniff <=== status = 1
Didn't match the sniff <=== status = 1
ValidateAACFile data not sufficient
Didn't match the sniff <=== status = 1
Didn't match the sniff <=== status = 1
extended extractor not needed, return default
Tunnel Mime Type: audio/mpeg, object alive = 0, mTunnelAliveAP = 0
maxPossible tunnels = 1
Normal Audio Playback
LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
Trying to create tunnel player mIsTunnelAudio 0,                        LPAPlayer::mObjectsAlive 0,                        TunnelPlayer::mTunnelObjectsAlive = 0,                        (mAudioPlayer == NULL) 1
LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
** Activity (main) Resume **


Skipped 52 frames!  The application may be doing too much work on its main thread.
route: devices 0x2 in mode 0
No valid input device: 0
snd_use_case_set(): uc_mgr 0xb7083968 identifier _enadev value Speaker
switchDevice: mCurTxUCMDevivce DMIC Endfire mCurRxDevDevice Speaker
a2220: txDevice=(null) rxDevice=Speaker
snd_use_case_set(): uc_mgr 0xb7083968 identifier _verb value HiFi
Set mixer controls for Speaker enable 1
acdb_id 15 cap 1 enable 1
ACDB -> send_audio_cal, acdb_id = 15, path =  0
ACDB -> send_adm_topology
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
ACDB -> send_audtable
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
ACDB -> AUDIO_SET_AUDPROC_CAL
ACDB -> send_audvoltable
ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP
ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
ACDB -> send_afe_cal
ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
Error: ACDB AFE returned = -8
ACDB -> AUDIO_SET_AFE_CAL
Setting mixer control: PRI_RX Channels, value: Two
Setting mixer control: RX5 MIX1 INP1, value: RX1
Setting mixer control: RX5 MIX1 INP2, value: RX2
Setting mixer control: RX6 DSM MUX, value: DSM_INV
Setting mixer control: LINEOUT2 Volume, value: 100
Setting mixer control: LINEOUT4 Volume, value: 100
Setting mixer control: RX5 Digital Volume, value: 65
Set mixer controls for HiFi enable 1
Setting mixer control: PRI_RX Audio Mixer MultiMedia1, value: 1
close: handle 0xb70d6208 h 0x0
open: handle 0xb70d6208, format 0x2
Device value returned is hw:0,0
handle->format: 0x2
setHardwareParams: reqBuffSize 2048 channels 2 sampleRate 48000
setHardwareParams: buffer_size 16384, period_size 2048, period_cnt 8
Allow


Displayed com.zpaid.ngf/.main: +1s336ms


accelHandler 0.110171 3.248844 8.752599


accelHandler 0.135319 3.332670 8.322693


** Activity (main) Pause, UserClosed = true **


Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@49befa10 attribute=null, token = android.os.BinderProxy@427ab088
standby: handle 0xb70d6208 h 0x0


snd_use_case_set(): uc_mgr 0xb7083968 identifier _verb value Inactive


Set mixer controls for HiFi enable 0
Setting mixer control: PRI_RX Audio Mixer MultiMedia1, value: 0
snd_use_case_set(): uc_mgr 0xb7083968 identifier _disdev value DMIC Endfire
disdev: device DMIC Endfire not enabled, no need to disable
snd_use_case_set(): uc_mgr 0xb7083968 identifier _disdev value Speaker
Set mixer controls for Speaker enable 0
Setting mixer control: RX5 MIX1 INP1, value: ZERO


Setting mixer control: RX5 MIX1 INP2, value: ZERO
Setting mixer control: LINEOUT2 Volume, value: 0
Setting mixer control: LINEOUT4 Volume, value: 0
Setting mixer control: RX5 Digital Volume, value: 0
exitPlaybackThread, mproxypfdPlayback: -1
closeDevice handle 0x0
closeDevice handle 0x0
 
Upvote 0

PFlores81

Active Member
Licensed User
Longtime User
(Main, 119) Panel.LoadLayout should only be called after the panel was added to its parent. (warning #1001)

Is from filtered logs.

Mind you, the only thing that has changed was the updated ahviewpager and an updated support jar.


Fixed, thank you.
 
Last edited:
Upvote 0
Top