Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. try {
  2.             String line;
  3.             String myText = "";
  4.             InputStream is = res.openRawResource(R.raw.woerterbuch);
  5.             DataInputStream dis = new DataInputStream(is);
  6.             while ((line = dis.readLine()) != null) {
  7.                 myText = myText + line;
  8.             }
  9.  
  10.         } catch (IOException ioe) {
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement