[vlc-devel] compilation installation and starting of vlc on android

Dafna Hirschfeld dafna3 at gmail.com
Wed Jul 12 15:31:31 CEST 2017


small update:

I see in compile.sh the line:

adb shell am start -n org.videolan.vlc.debug/org.videolan.vlc.StartActivity

running it indeed start the vlc, but I want to start it with playing a
video but runnig:

*adb shell am start -n
org.videolan.vlc.debug/org.videolan.vlc.gui.ShowPlayer -d
file:///sdcard/sample.mpg*

I get:

Starting: Intent { dat=file:///sdcard/sample.mpg
cmp=org.videolan.vlc.debug/org.videolan.vlc.gui.ShowPlayer }
Error type 3
Error: Activity class
{org.videolan.vlc.debug/org.videolan.vlc.gui.ShowPlayer} does not exist.


On Wed, Jul 12, 2017 at 3:41 PM, Dafna Hirschfeld <dafna3 at gmail.com> wrote:

> Hi,
> I followed this guide <https://wiki.videolan.org/AndroidCompile> and
> successfully compiled vlc for android.
>
> Then I installed it with the command
>
> .*/gradlew installVanillaX86Debug*
>
> Now I can't see how to start it from adb.
>
> running:
>
> *adb shell 'pm list packages -f' |grep vlc*
>
> I get:
>
>
> *package:/data/app/org.videolan.vlc.debug-1/base.apk=org.videolan.vlc.debug*
>
>
> but then running;
>
> *adb shell am start org.videolan.vlc.debug.gui.ShowPlayer*
>
> I get:
>
> Starting: Intent { act=android.intent.action.MAIN
> cat=[android.intent.category.LAUNCHER] pkg=org.videolan.vlc.debug.gui.ShowPlayer
> }
> Error: Activity not started, unable to resolve Intent {
> act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10000000 pkg=org.videolan.vlc.debug.gui.ShowPlayer }
>
>
> what is the problem?
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170712/7a0be187/attachment.html>


More information about the vlc-devel mailing list