1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Need to fix 3 lines of Android Java code giving Gradle errors

Discussion in 'Hire a Freelancer' started by Brickbat1, Mar 29, 2019.

  1. Brickbat1

    Brickbat1 Jr. VIP Jr. VIP

    Joined:
    Mar 22, 2010
    Messages:
    423
    Likes Received:
    169
    Occupation:
    I build Bots
    Location:
    Lagos
    Hi,

    I am not good in Android Java, but I like to tinker around. I need someone to provide fixes for the Gradle errors I am facing on implementing an AccessibilityService. You will suggest fixes, I will implement them, and if I still have errors or no gradle errors but the code does not work, then you will log into my system via Teamviewer and make the Accessibility code work.

    The errors:
    Code:
     AccessibilityNodeInfoCompat rootInActiveWindow = AccessibilityNodeInfoCompat.wrap (getRootInActiveWindow ());
    
    Error message: cannot resolve "wrap(android.view.accessibility.AcessibilityNodeInfo)
    
    
    TextUtils.SimpleStringSplitter colonSplitter = new TextUtils.SimpleStringSplitter (":");
    
    Error message: SimpleStringSplitter (char) inSimpleStingSplitter cannot be applied to (java.lang.string)
    
    
    public class WhatsappAccessibilityService extends AccessibilityService
    
    Error message : Class WhatsAppAccessibilityService must either be declared abstract or implement abstract method 'onInterrupt()' in AccessibilityService
     
  2. lihsus

    lihsus Jr. VIP Jr. VIP

    Joined:
    Feb 23, 2018
    Messages:
    401
    Likes Received:
    62
    Gender:
    Male
    Occupation:
    Amazon Web Service and Reviews
    Home Page:
    Hello I am interested to do your work
    Contact me on Skype or telegram.
    or PM me your contact details.