I want to know whether a single button in Android can call a web service as well as start another activity i.e move to another splash screen when pressed.
Is this possible ? Can a single button have two Events ? If yes,how ?
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.
A button can have only one
ClickListenerbut you call a web service and start an activity from this listener.EDIT: