probably want to make that a nice full file: Uri, perchance

>You should specify the full path to the file, not just its name.
>
>
>On Tue, Jul 21, 2009 at 1:58 PM, MannyNS<[email protected]> wrote:
>>
>>  Hi everyone,
>>
>>  I plan to have a 3gp video file that will come with the installation
>>  package, it will be placed in /files/ subdirectory, and I would like
>>  to ask the native Android media player to play it when I want that.
>>
>>  Here is what I have planned to do/code:
>>
>>  Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
>>
>>  Uri data = Uri.parse("BattlestarGalactica.3gp");
>>  intent.setDataAndType(data,"video/3gpp");
>  > startActivity(intent);
>>



-- 
jason.software.particle

--~--~---------~--~----~------------~-------~--~----~
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