Java Question can someone help me please with this Android Java class?

salmander

Active Member
Licensed User
Longtime User
Hello All,

I have no experience with Java. So far, I have been surviving on B4A through all the libraries. But now, I want to be able to develop my own library. I am lost and can not find any help on this regard.

I just finished completing FirstLib example twice now and have understood the logic. So coming to the point, I am trying to port AccessibilityService class to the b4a.
This is where I am so far. I know it is not much :(.
B4X:
package com.home.secondTest;

import anywheresoftware.b4a.BA.Events;
import anywheresoftware.b4a.BA.Permissions;
import anywheresoftware.b4a.BA.ShortName;

@ShortName("SecondTest")
@Permissions(values={"android.permission.BIND_ACCESSIBILITY_SERVICE"})
@Events(values={"onAccessibilityEvent"})
public class SecondTest {
   
   
}
Can someone please help me what to do next?
 
Last edited:

salmander

Active Member
Licensed User
Longtime User
No need to be sorry Erel, you are not discouraging me, instead I will take it as a challenge.
However, I need you to help me start going. I have posted here of a step by step tutorial for wrapping an Android java class to b4a. You can pick any class.

Thanks a lot.
 
Top