On Fri, Mar 16, 2012 at 8:18 PM, TreKing treking...@gmail.com wrote:
You posted the exception itself. You did NOT post the exception's MESSAGE.
I said before, if you call getMessage() on the exception object, it gives
you a REASON WHY the generic IOException was raised.
OK, I got what you
On Sat, Mar 17, 2012 at 3:16 AM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
The above message indicates that *getMessage() returns NULL* here.
Well, that is unfortunate. At this point, I would recommend you grab the
source and look up AssetManager.readAsset and see where it throws
On Fri, Mar 16, 2012 at 8:06 AM, Miguel Morales therevolti...@gmail.comwrote:
Try using a buffered input stream. In other words, stream read the
file. You should also know that phones are very limited in memory.
Loading more than a few MB into memory spells trouble.
I even tried that, but
On Fri, Mar 16, 2012 at 3:32 AM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
I even tried that, but still faced the same exception.
Which you still have failed to elaborate on. What is the exception MESSAGE?
What does it tell you the problem is?
On Fri, Mar 16, 2012 at 7:25 PM, TreKing treking...@gmail.com wrote:
On Fri, Mar 16, 2012 at 3:32 AM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
I even tried that, but still faced the same exception.
Which you still have failed to elaborate on. What is the exception
MESSAGE?
On Fri, Mar 16, 2012 at 8:59 AM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
Well, the exception is same as I told you earlier. There isn't any change
in it.
You posted the exception itself. You did NOT post the exception's MESSAGE.
I said before, if you call getMessage() on the
On Thu, Mar 15, 2012 at 4:16 AM, 김유섭 j.rechard...@gmail.com wrote:
I think you'd better use database like sqlite.
Thanks for suggesting me, but I m actually having a large text file.
And thus it would be much difficult for me to fill database one by one a
lot of records.
Do you have any
I think the problem is that you're reading the whole file into a byte
array. This is bad. Try using a buffered input stream. In other words,
stream read the file. You should also know that phones are very limited in
memory. Loading more than a few MB into memory spells trouble.
On Mar 15,
I think you'd better use database like sqlite.
2012. 3. 14. 오후 1:05에 TreKing treking...@gmail.com님이 작성:
On Tue, Mar 13, 2012 at 1:50 AM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
Caused by: java.lang.RuntimeException: java.io.IOException
OK. What is the message given with the
On Sun, Mar 11, 2012 at 12:16 PM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
Hi Treking, haven't you checked the attachment I provided?
No. Sorry, but I'm not downloading a random RAR file off the internet, nor
am I so bored that I would want to dig through decipher whatever
On Tue, Mar 13, 2012 at 1:50 AM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
Caused by: java.lang.RuntimeException: java.io.IOException
OK. What is the message given with the exception? What is the value of
getMessage() or toString() on the exception? That would help.
On Fri, Mar 9, 2012 at 9:21 PM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
Please suggest me what should I do in this case in order to solve my
problem.
Provide the details of the exception: the message and stack trace, at the
every least. And the sample code that calls it.
On Sun, Mar 11, 2012 at 9:30 PM, TreKing treking...@gmail.com wrote:
On Fri, Mar 9, 2012 at 9:21 PM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
Please suggest me what should I do in this case in order to solve my
problem.
Provide the details of the exception: the message and
Hi all,
I am willing to know how to *read large (2.5 MB) sized text file*, that I
put in assets folder of my app.
I am able to read small text files as shown here
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/content/ReadAsset.html
So, what should I do to
On Thu, Mar 8, 2012 at 7:16 AM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
So, what should I do to read large sized text files?
Presumably the same thing you're doing for the small sized text file.
What is the problem you're experiencing when trying to do this?
What is the problem you're experiencing when trying to do this?
I am just unable to read the contents of large file, and thus unable to
display the contents on my view, unlike the small sized file on which my
code is working well.
--
You received this message because you are subscribed to
On Thu, Mar 8, 2012 at 12:10 PM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
What is the problem you're experiencing when trying to do this?
I am just unable to read the contents of large file
That tells us nothing about the why of the actual problem you're having.
On Fri, Mar 9, 2012 at 12:22 AM, TreKing treking...@gmail.com wrote:
On Thu, Mar 8, 2012 at 12:10 PM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
What is the problem you're experiencing when trying to do this?
I am just unable to read the contents of large file
That tells us
On Thu, Mar 8, 2012 at 1:08 PM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
I guess, you got my problem now, didn;t you?
Nope, sorry. You're being vague. How does fewer words work well? How does
more words break it? You applied the same code but it's still of no use
still doesn't
19 matches
Mail list logo