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, 2012 12:07 AM, "Narendra Singh Rathore" <[email protected]>
wrote:



On Thu, Mar 15, 2012 at 4:16 AM, 김유섭 <[email protected]> wrote:
>
> I think you'd better use da...
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 suggestion for filling my database using that text file?





-- 
You received this message because you are subscribed to the Google
Groups "Android Developers"...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to