B4A Question Reflector.SetOnClickListener not working in release build - Computersmith64    
Apr 3, 2018   
(1 reaction))
Private r As Reflector
r.Target = mImage
r.SetOnClickListener("machineClick...) as one of its members. When I initialize the class, I use reflector to set the onClickListener for... - the listener sub is called whenever the ImageView is tapped on. In release mode however, the listener...
link: Are you compiling in release (obfuscation) mode?
You need to add an underscore to the sub name. See the obfuscation tutorial.
Yes, t...
link: Are you compiling in release (obfuscation) mode?
You need to add an underscore to the sub name. See the obfuscation tutorial....
B4A Question Click Event on Label (TabStripViewPager) - ilan (first post)    
Jun 14, 2017Use Reflector.SetOnClickListener to add a click event: https://www.b4x.com/android/help/reflection.html#reflector_setonclicklistener
Wow this is amazing. I had no clue its possible to do that. Thank you :)...
link: -better-viewpager.63975/page-2#post-408977
Use Reflector.SetOnClickListener to add a click event...
B4A Question SetOnClickListener - Erel (first post)    
Jan 22, 2014Oops. The descriptions can be seen here: http://www.b4x.com/search?query=Reflector.SetOnClickListener...
link: http://www.b4x.com/android/help/images/15.png Reflector.SetOnClickListener (sub As String) - has...
link: the SetOnClickListener ?...
link: .SetOnClickListener("AB_btn_Click")
Private Sub AB_btn_Click(ViewTag As Object)
If SubExists...
B4A Question Animation to Custom View - Star-Dust (first post)    
Sep 1, 2018no it not showing any effect
I wrote the object type badly, copy this
Private Sub mBase_Click (viewtag as object)
'mBase.SetVisibleAnimated(1000,True)
If SubExists(mCallBack,mEventName & "_Click") Then
CallSub(mCallBack,mEventName & "_Click")
End If
End Sub
See this: https://www.b4x.com/android/help/reflection.html#reflector_setonclicklistener...
link: )
mBase = Base
Dim obj As Reflector
obj.Target = mBase
obj.SetOnClickListener...
B4A Question Photo view click listener - Emme Developer    
Dec 11, 2017Hi to all! I'm using this library.
Is possible to get click event?
I tried this, but sub is never handled
Dim p as photoview
'....
'....
Dim r As Reflector
r.Target = p.asview
r.SetOnClickListener("Click_Click")
Sub Click_Click (ViewTag As Object)
Log("handled")
End Sub...
B4A Library Amir_Fragment - alimanam3386 (first post)    
Feb 28, 2019   
(1 reaction)For question#2 test below code:
Dim r As Reflector = Parent
r.SetOnClickListener("Parent_Click")
Sub Parent_Click(ViewTag As Object)
Log("Parent Clicked!")
End Sub
for question#1 : I try to find a solution for it :cool:...
link: For question#2 test below code:
Dim r As Reflector = Parent
r.SetOnClickListener...
B4A Library NotificationListener library (NotificationListenerService) - Erel    
Jul 7, 2024   
(20 reactions) btnEnableNotifications_Click
Dim In As Intent
In.Initialize("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS", "")
StartActivity(In)
End Sub
The user will see the following screen:
http...The NotificationListener library allows you to access the device notifications.
With this library you can listen to new notifications and removed notifications.
You can also clear existing...="anywheresoftware.b4a.objects.NotificationListenerWrapper"
android:label="Notification...
Italian xCustomView - Star-Dust (first post)    
Aug 6, 2021   
(1 reaction)Comunque per cambiare l'evento di una label (come lbl ricevuta dal design) puoi usare questo codice, con la librerie Reflection
Dim obj As Reflector
obj.Target=Label1
obj.SetOnClickListener("NomeEvento_CLlick")
Ma continuo a sconsigliare di fare cosi. Puoi Assorbire comunque le preferenze da lbl e passarle a un altra Label...
link: codice, con la librerie Reflection
Dim obj As Reflector
obj.Target=Label1
obj.SetOnClickListener...
B4A Question R8 Optimizer breaking string-based reflection (JavaObject / Reflector) - Scantech    
Oct 10, 2026   
(1 reaction)
java.lang.RuntimeException: Field: player not found in: b0.d
Private Sub SwitchTargetPlayerView(FullScreenIsDestination As Boolean)
Dim mp As HalfScreen
mp = B4XPages.GetPage("Media Pl...
link: Check this: https://www.b4x.com/android/forum/threads/tips-regarding-javaobject-and-r8-optimizer.172191/#content...
B4J Question Where can I find jReflector libary in my B4J? - DonManfred (first post)    
May 4, 2026
Yes
You did search but did not found it? What did you search?
Or what do you want to tell me?
Se...
link: Yes...
link:
where an I find the jreflection library for b4j
Have you tried to search for jReflection in the Se...
link: https://www.b4x.com/android/forum/threads/jreflection-library.35448/...
Page: 1  
2  
3  
4  
5