im new in this. but i have private variable which is have static text
private static final String URL = "http://google.com";
. and i create edittext like this
android:id="@+id/url"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/add_url"
android:inputType="textUri" />
how can i set the private variable from the edittext above?
is it
private static final String URL = urledittext.value;
? thats how done in pascal. because im new for java.