As the title says.
For example:
I have MainActivity and main.xml
main.xml has WebView “@+id/WebView1”.
After opening SecondActivity, I want it to load an URL on the MainActivity’s webview.
Any solutions?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
in your MainActivity.java
put them in oncreate method;
create the method below
in the second activiy on create method,