Android texTView



hello people first create new project name it (first word always capital ) like " calculator" select "empty activity"


Android texTView, remove default text view to minimize gradle sync process take two plain text for input values (numeric value) five button called addition ,subtract,multiply,divide & remainder text view for "results "


now we completed " activity_main.xml" now start backend code " mainactivity.java" red text remove after set " id " in .xml file it's necessary to convert integer value into string ... because if don't convert type of input addition of 1+1 is 11 and after conversion addition of 1+1 is 2 copy onclick func() of addition


paste below change handle name now we finished the backend work...! now time to join front-end to back-end


Android texTView

set there respective main activity func() from onclick run application on emulator better way to run on your android phone if easily available run successfully...!


Android texTView Rating: 4.5 Diposkan Oleh: PaduWaras