I have been trying to create a directory in /sdcard programmatically, but it\'s not worki开发者_开发问答ng.The code below always outputs directory not created.
How can I seek (change the position) of a ByteArrayInputStream (java.io)? It is something so obvious, but I can\'t seem to find a method for this anywhere (mark/reset is not enough, I need to set the
I have a file that contains about 200,000 long values that I want to read as fast as possible into a long[]. It\'s for an Android app; function calls are slow (开发者_JAVA百科so anything involving rea
I\'m trying to create a Child Process with Redirected Input and Output (as described here - http://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx).
How can I convert a javax.xml.transform.Source into a InputStream? The Implementation of Source is javax.xml.transform.dom.DOMSource.
What is the correct way to \"empty\" a StringWriter in Java so that I can reuse the StringWriter without having 开发者_StackOverflowto create a new one?Neither StringWriter.flush() nor StringWriter.cl
Just started learning c++ today and im pretty boggled. its an amazing language but im having some trouble overwriting a file
At first glance it seems like a good idea to let the hard disk write to RAM on its own, without CPU instructions copying data, particularly with the success of asynchronous networking in mind. But the
I am working on a project in C which requires me to read in matrix values from a txt file. The first two lines are the number of rows and columns, and the rest is the actual matrix data.
I have a F# application that communicates with a java application via named pipe. Where F# acts as server and java acts as client. The application works for the most part except that the F# runes in t