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
[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 - MIME Type

MIME Type

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

MIME Type

Postby hookmoon » Sat Jan 15, 2011 10:53 pm

Hi Everybody!

I tried to run file browser application. I got code from this site . I have - I cannot open files. I think it happens because I have to set right mime type to Intent. BTW this code don't work:
Code: Select all
Intent i = new Intent(android.content.Intent.ACTION_VIEW );
i.setData(Uri.parse("file://" + file.getAbsolutePath()));
startActivity(i);

Can anybody explain me how fix this problem?
hookmoon
Freshman
Freshman
 
Posts: 3
Joined: Fri Jan 14, 2011 12:01 pm

Top

Re: MIME Type

Postby hookmoon » Mon Jan 17, 2011 9:54 am

Nobody? :)
hookmoon
Freshman
Freshman
 
Posts: 3
Joined: Fri Jan 14, 2011 12:01 pm

Re: MIME Type

Postby hookmoon » Sat Jan 22, 2011 10:33 am

Does anybody know?
hookmoon
Freshman
Freshman
 
Posts: 3
Joined: Fri Jan 14, 2011 12:01 pm

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests