Access java class to Activity of skrchware project.


Example code of java class

public class sketchdata {
    public static String text = " hai Subscribe and like my channel";
   
}

Here sketchdata is java class and String text contains anything when you put your text.


So you can get String text to your activity class from java class

here 

sketchdata.text is getting String data from class .

Example: textview1.setaText(sketchdata.text);

Full video tutorial is Video