Android demo code for URL handling