Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void bClick(View view) throws IOException {
- String test = new Scanner(new URL("http://www.somesite.us/1.txt").openStream()).nextLine();
- Toast.makeText(this, test, Toast.LENGTH_SHORT).show();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement