java - Android, Trying to read through a file stored online. But file doesn't have a type tag -


I am trying to read through an online cached file, but the file does not have a type tag. What is happening with my code, and why do I need to change?

Code:

  Click the Public Zero Button 1 (see View) The client throws Protocol Explanation, IOException {int countWords = 0; FileInputStream fstream = New FileInputStream ("http: // textfile / textfile"); DataInputStream = In New DataInputStream (fstream); BufferedReader br = new BufferedReader (new InputStreamReader (in)); String line = ""; While ((line = br.readline ())! = Tap {} in.close ();}  

When I run the code, it says, "Unfortunately, the test Closed "


Comments

Popular posts from this blog

javascript - How to use the code plugin with popcornjs -

python - rpy2 import is not working -

Python, converting png to gif using ImageMagick -