Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Error reading file greater than 1MB

Error reading file greater than 1MB

Put your problem here if it does not fit any of the other categories.

Error reading file greater than 1MB

Postby aabolin » Wed Apr 29, 2009 2:15 pm

Hi,

I'm trying to read a game 'resource' file - whose filesize is ~3.5MB

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. InputStream inpfile = context.getResources().openRawResource(R.raw.demo01); //No problem here
Parsed in 0.011 seconds, using GeSHi 1.0.8.4


Now, when I try to read the InputStream, it returns error:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. Data exceeds UNCOMPRESS_DATA_MAX (3627188 vs 1048576)
Parsed in 0.010 seconds, using GeSHi 1.0.8.4


Please give me some hints to read files greater than 1MB.

Thank you.

- Augustine
aabolin
Freshman
Freshman
 
Posts: 4
Joined: Wed Apr 29, 2009 1:58 pm

Top

Postby aabolin » Mon May 04, 2009 4:54 am

Bump :roll:
Please suggest any hints / ideas..
aabolin
Freshman
Freshman
 
Posts: 4
Joined: Wed Apr 29, 2009 1:58 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot], Google Feedfetcher and 13 guests