String[] lines = "this is java \n this is android \n this is .net".split("\n"); for (int i = 0; i < lines.length; i++) { Toast.makeText(this, lines[i], Toast.LENGTH_SHORT).show(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)