Android Question Using custom view - error - No package identifier when getting name for resource number 0x00000002

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

When trying to set the .Left property of a custom view, my app crashes with the following errors shown in the Logs from the IDE.

B4X:
Installing file.
** Activity (main) Pause, UserClosed = false **
ACT-AM_ON_PAUSE_CALLED ActivityRecord{41d15b20 token=android.os.BinderProxy@41d13ce8 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
ACT-PAUSE_ACTIVITY handled : 1 / android.os.BinderProxy@41d13ce8
Flushing caches (mode 0)
close handle(0x63330940) (w:1088 h:1920 f:1)
DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{41df5890 anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{41d21028 I.E..... R....... 0,0-1080,1920}
ACT-STOP_ACTIVITY_HIDE handled : 0 / android.os.BinderProxy@41d13ce8
Flushing caches (mode 1)
PackageAdded: package:b4a.example
Flushing caches (mode 0)
ACT-AM_ON_RESUME_CALLED ActivityRecord{41d15b20 token=android.os.BinderProxy@41d13ce8 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{41df5890 anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{41d21028 V.E..... R.....ID 0,0-1080,1920}
ACT-RESUME_ACTIVITY handled : 0 / android.os.BinderProxy@41d13ce8
create handle(0x60c1ce38) (w:1088, h:1920, f:1)
[Mali]window_type=1, is_framebuffer=0, errnum = 0
[Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
[Mali]max_allowed_dequeued_buffers=3
close handle(0x60c1ce38) (w:1088 h:1920 f:1)
create handle(0x60c1ce38) (w:1088, h:1920, f:1)
setViewport 1080x1920 <0x5fc70408>
** Activity (main) Resume **
from settings cache , name = install_non_market_apps , value = 1
No package identifier when getting name for resource number 0x00000002
No package identifier when getting name for resource number 0x00000003
No package identifier when getting name for resource number 0x00000004
No package identifier when getting name for resource number 0x00000005
No package identifier when getting name for resource number 0x00000006
No package identifier when getting name for resource number 0x00000007
No package identifier when getting name for resource number 0x00000008
No package identifier when getting name for resource number 0x00000009
prepareDirty (0.00, 0.00, 1080.00, 1920.00) opaque 1 <0x5fc70408>
finish <0x5fc70408>
onWindowFocus: null softInputMode=34 first=true flags=#1810100
START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{41d21028 V.E..... R......D 0,0-1080,1920} ic=null tba=android.view.inputmethod.EditorInfo@4217a078 controlFlags=#104
create handle(0x5c49f338) (w:1088, h:1920, f:1)
No package identifier when getting name for resource number 0x00000002
No package identifier when getting name for resource number 0x00000003
No package identifier when getting name for resource number 0x00000007
No package identifier when getting name for resource number 0x00000008
No package identifier when getting name for resource number 0x00000009
prepareDirty (0.00, 0.00, 1080.00, 1920.00) opaque 1 <0x5fc70408>
finish <0x5fc70408>

Is there a way to set the .Left property another way?

Thanks.
 

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Don,

Seems to be working for me as well now. I think I had a corrupted library file.

Hopefully, it will continue to work because I really like that library.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Seems to be working for me as well now. I think I had a corrupted library file.
i´ve change the lib a little bit...

All my libs which do use a viewwrapper are based on a template i created... IconButton wa not using this template... I changed some methods from the lib with the ones on use in my template...

Seems that there was a problem.
 
Upvote 0
Top