DroidUPnP is an upnp control point application for android.

Related tags

App android upnp
Overview

Description

DroidUPnP is an UPnP control point application for android.

DroidUPnP discover your home UPnP device, content provider and renderer. It allow you to browse your UPnP content directory, select the media you want to use and allow you to play it on your connected television or any UPnP renderer compatible device.

It also allow you to use your android device as a UPnP content provider.

It is licensed under the GPLv3.

BUILD

Application can be build using gragle.

To generate the apk :

gradle build

To install on your android device via adb :

gradle installDebug

Dependencies

The main dependence of DroidUPnP is Cling which is the an upnp stack made in java and with an android support layer. Cling in licensed under the LGPLv2. Source code is available at 4thline.org

Other dependencies are :

  • NanoHttpd, under a modify BSD license. Source code is available on GitHub.

  • Licensesdialog, under the Apache license, Version 2.0. Source code is available on GitHub.

Copying

Copyright (C) 2015, Aurélien Chabot [email protected]

Licensed under GPLv3

See COPYING.

Comments
  • Added option for local playback

    Added option for local playback

    This is a solution for issue #31

    Long press on a item will show the option "Launch local viewer":

    • remote/local music items will launch the default music player and play it
    • remote/local video items will launch the default video player and play it
    • remote pictures will NOT work, not supported using android apps
    • local pictures will launch the default picture viewer

    Long press on a directory result in a toast: "No action available"

    enhancement 
    opened by Benny- 8
  • exception

    exception

    04-03 17:08:45.460: D/libEGL(11331): loaded /vendor/lib/egl/libEGL_POWERVR_SGX544_115.so 04-03 17:08:45.490: D/libEGL(11331): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX544_115.so 04-03 17:08:45.500: D/libEGL(11331): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX544_115.so 04-03 17:08:45.560: D/OpenGLRenderer(11331): Enabling debug mode 0 04-03 17:08:46.530: I/UpnpServiceImpl(11331): >>> Starting UPnP service... 04-03 17:08:46.530: I/UpnpServiceImpl(11331): Using configuration: com.ebus.srpcdlna.cling.android.UpnpService$1 04-03 17:08:46.540: I/Router(11331): Creating Router: org.fourthline.cling.android.AndroidRouter 04-03 17:08:46.570: D/dalvikvm(11331): GC_CONCURRENT freed 330K, 19% free 4290K/5260K, paused 2ms+2ms, total 20ms 04-03 17:08:46.580: D/dalvikvm(11331): WAIT_FOR_CONCURRENT_GC blocked 13ms 04-03 17:08:46.600: I/MulticastReceiver(11331): Creating wildcard socket (for receiving multicast datagrams) on port: 1900 04-03 17:08:46.600: I/MulticastReceiver(11331): Joining multicast group: /239.255.255.250:1900 on network interface: wlan0 04-03 17:08:46.600: W/dalvikvm(11331): Unable to resolve superclass of Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1; (1063) 04-03 17:08:46.600: W/dalvikvm(11331): Link of class 'Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1;' failed 04-03 17:08:46.600: E/dalvikvm(11331): Could not find class 'org.fourthline.cling.transport.impl.AsyncServletStreamServerImpl$1', referenced from method org.fourthline.cling.transport.impl.AsyncServletStreamServerImpl.createServlet 04-03 17:08:46.600: W/dalvikvm(11331): VFY: unable to resolve new-instance 1988 (Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1;) in Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl; 04-03 17:08:46.600: D/dalvikvm(11331): VFY: replacing opcode 0x22 at 0x0000 04-03 17:08:46.600: W/dalvikvm(11331): VFY: unable to find class referenced in signature (Ljavax/servlet/Servlet;) 04-03 17:08:46.600: W/dalvikvm(11331): VFY: unable to find class referenced in signature (Ljavax/servlet/Servlet;) 04-03 17:08:46.600: W/dalvikvm(11331): VFY: unable to find class referenced in signature (Ljavax/servlet/http/HttpServletRequest;) 04-03 17:08:46.600: W/dalvikvm(11331): Unable to resolve superclass of Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1; (1063) 04-03 17:08:46.600: W/dalvikvm(11331): Link of class 'Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1;' failed 04-03 17:08:46.600: D/dalvikvm(11331): DexOpt: unable to opt direct call 0x2e1e at 0x02 in Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl;.createServlet 04-03 17:08:46.600: W/dalvikvm(11331): VFY: unable to find class referenced in signature (Ljavax/servlet/http/HttpServletRequest;) 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to find class referenced in signature (Ljavax/servlet/http/HttpServletRequest;) 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to find class referenced in signature (Ljavax/servlet/http/HttpServletRequest;) 04-03 17:08:46.610: E/dalvikvm(11331): Could not find class 'org.eclipse.jetty.server.Request', referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.isConnectionOpen 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to resolve check-cast 1203 (Lorg/eclipse/jetty/server/Request;) in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer; 04-03 17:08:46.610: D/dalvikvm(11331): VFY: replacing opcode 0x1f at 0x0001 04-03 17:08:46.610: E/dalvikvm(11331): Could not find class 'org.eclipse.jetty.server.bio.SocketConnector', referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.addConnector 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to resolve new-instance 1205 (Lorg/eclipse/jetty/server/bio/SocketConnector;) in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer; 04-03 17:08:46.610: D/dalvikvm(11331): VFY: replacing opcode 0x22 at 0x0001 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to find class referenced in signature (Ljavax/servlet/Servlet;) 04-03 17:08:46.610: I/dalvikvm(11331): Could not find method org.eclipse.jetty.server.Server.getHandler, referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.registerServlet 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to resolve virtual method 6431: Lorg/eclipse/jetty/server/Server;.getHandler ()Lorg/eclipse/jetty/server/Handler; 04-03 17:08:46.610: D/dalvikvm(11331): VFY: replacing opcode 0x6e at 0x0003 04-03 17:08:46.610: E/dalvikvm(11331): Could not find class 'org.eclipse.jetty.server.Server', referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.resetServer 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to resolve new-instance 1204 (Lorg/eclipse/jetty/server/Server;) in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer; 04-03 17:08:46.610: D/dalvikvm(11331): VFY: replacing opcode 0x22 at 0x0000 04-03 17:08:46.610: I/dalvikvm(11331): Could not find method org.eclipse.jetty.server.Server.getThreadPool, referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.setExecutorService 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to resolve virtual method 6432: Lorg/eclipse/jetty/server/Server;.getThreadPool ()Lorg/eclipse/jetty/util/thread/ThreadPool; 04-03 17:08:46.610: D/dalvikvm(11331): VFY: replacing opcode 0x6e at 0x0005 04-03 17:08:46.610: I/dalvikvm(11331): Could not find method org.eclipse.jetty.server.Server.isStarted, referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.startIfNotRunning 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to resolve virtual method 6433: Lorg/eclipse/jetty/server/Server;.isStarted ()Z 04-03 17:08:46.610: D/dalvikvm(11331): VFY: replacing opcode 0x6e at 0x0003 04-03 17:08:46.610: I/dalvikvm(11331): Could not find method org.eclipse.jetty.server.Server.isStopped, referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.stopIfRunning 04-03 17:08:46.610: W/dalvikvm(11331): VFY: unable to resolve virtual method 6435: Lorg/eclipse/jetty/server/Server;.isStopped ()Z 04-03 17:08:46.610: D/dalvikvm(11331): VFY: replacing opcode 0x6e at 0x0003 04-03 17:08:46.610: D/dalvikvm(11331): DexOpt: unable to opt direct call 0x192a at 0x03 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.addConnector 04-03 17:08:46.610: D/dalvikvm(11331): DexOpt: unable to opt direct call 0x192f at 0x22 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.registerServlet 04-03 17:08:46.610: D/dalvikvm(11331): DexOpt: unable to opt direct call 0x1932 at 0x32 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.registerServlet 04-03 17:08:46.610: D/dalvikvm(11331): DexOpt: unable to opt direct call 0x191d at 0x02 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.resetServer 04-03 17:08:46.610: W/dalvikvm(11331): Unable to resolve superclass of Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer$1; (1208) 04-03 17:08:46.610: W/dalvikvm(11331): Link of class 'Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer$1;' failed 04-03 17:08:46.610: D/dalvikvm(11331): DexOpt: unable to opt direct call 0x2f73 at 0x11 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.setExecutorService 04-03 17:08:46.610: W/dalvikvm(11331): Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer; 04-03 17:08:46.610: D/AndroidRuntime(11331): Shutting down VM 04-03 17:08:46.610: W/dalvikvm(11331): threadid=1: thread exiting with uncaught exception (group=0x40b12930) 04-03 17:08:46.620: E/AndroidRuntime(11331): FATAL EXCEPTION: main 04-03 17:08:46.620: E/AndroidRuntime(11331): java.lang.ExceptionInInitializerError 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.android.AndroidUpnpServiceConfiguration.createStreamServer(AndroidUpnpServiceConfiguration.java:112) 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.transport.RouterImpl.startAddressBasedTransports(RouterImpl.java:427) 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.transport.RouterImpl.enable(RouterImpl.java:132) 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.android.AndroidRouter.enable(AndroidRouter.java:92) 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.UpnpServiceImpl.(UpnpServiceImpl.java:87) 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.android.AndroidUpnpServiceImpl$1.(AndroidUpnpServiceImpl.java:54) 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.android.AndroidUpnpServiceImpl.onCreate(AndroidUpnpServiceImpl.java:54) 04-03 17:08:46.620: E/AndroidRuntime(11331): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2529) 04-03 17:08:46.620: E/AndroidRuntime(11331): at android.app.ActivityThread.access$1600(ActivityThread.java:141) 04-03 17:08:46.620: E/AndroidRuntime(11331): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316) 04-03 17:08:46.620: E/AndroidRuntime(11331): at android.os.Handler.dispatchMessage(Handler.java:99) 04-03 17:08:46.620: E/AndroidRuntime(11331): at android.os.Looper.loop(Looper.java:137) 04-03 17:08:46.620: E/AndroidRuntime(11331): at android.app.ActivityThread.main(ActivityThread.java:5041) 04-03 17:08:46.620: E/AndroidRuntime(11331): at java.lang.reflect.Method.invokeNative(Native Method) 04-03 17:08:46.620: E/AndroidRuntime(11331): at java.lang.reflect.Method.invoke(Method.java:511) 04-03 17:08:46.620: E/AndroidRuntime(11331): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817) 04-03 17:08:46.620: E/AndroidRuntime(11331): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584) 04-03 17:08:46.620: E/AndroidRuntime(11331): at dalvik.system.NativeStart.main(Native Method) 04-03 17:08:46.620: E/AndroidRuntime(11331): Caused by: java.lang.NoClassDefFoundError: org.eclipse.jetty.server.Server 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.resetServer(JettyServletContainer.java:132) 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.(JettyServletContainer.java:56) 04-03 17:08:46.620: E/AndroidRuntime(11331): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.(JettyServletContainer.java:54) 04-03 17:08:46.620: E/AndroidRuntime(11331): ... 18 more 04-03 17:08:46.640: D/dalvikvm(11331): GC_CONCURRENT freed 383K, 20% free 4297K/5320K, paused 2ms+2ms, total 18ms 04-03 17:09:13.580: D/libEGL(12465): loaded /vendor/lib/egl/libEGL_POWERVR_SGX544_115.so 04-03 17:09:13.640: D/libEGL(12465): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX544_115.so 04-03 17:09:13.670: D/libEGL(12465): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX544_115.so 04-03 17:09:13.780: D/OpenGLRenderer(12465): Enabling debug mode 0 04-03 17:09:19.950: I/UpnpServiceImpl(12465): >>> Starting UPnP service... 04-03 17:09:19.950: I/UpnpServiceImpl(12465): Using configuration: com.ebus.srpcdlna.cling.android.UpnpService$1 04-03 17:09:19.970: I/Router(12465): Creating Router: org.fourthline.cling.android.AndroidRouter 04-03 17:09:20.020: D/dalvikvm(12465): GC_CONCURRENT freed 327K, 19% free 4289K/5256K, paused 3ms+1ms, total 22ms 04-03 17:09:20.020: D/dalvikvm(12465): WAIT_FOR_CONCURRENT_GC blocked 13ms 04-03 17:09:20.040: I/MulticastReceiver(12465): Creating wildcard socket (for receiving multicast datagrams) on port: 1900 04-03 17:09:20.040: I/MulticastReceiver(12465): Joining multicast group: /239.255.255.250:1900 on network interface: wlan0 04-03 17:09:20.050: W/dalvikvm(12465): Unable to resolve superclass of Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1; (1063) 04-03 17:09:20.050: W/dalvikvm(12465): Link of class 'Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1;' failed 04-03 17:09:20.050: E/dalvikvm(12465): Could not find class 'org.fourthline.cling.transport.impl.AsyncServletStreamServerImpl$1', referenced from method org.fourthline.cling.transport.impl.AsyncServletStreamServerImpl.createServlet 04-03 17:09:20.050: W/dalvikvm(12465): VFY: unable to resolve new-instance 1988 (Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1;) in Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl; 04-03 17:09:20.050: D/dalvikvm(12465): VFY: replacing opcode 0x22 at 0x0000 04-03 17:09:20.050: W/dalvikvm(12465): VFY: unable to find class referenced in signature (Ljavax/servlet/Servlet;) 04-03 17:09:20.050: W/dalvikvm(12465): VFY: unable to find class referenced in signature (Ljavax/servlet/Servlet;) 04-03 17:09:20.050: W/dalvikvm(12465): VFY: unable to find class referenced in signature (Ljavax/servlet/http/HttpServletRequest;) 04-03 17:09:20.050: W/dalvikvm(12465): Unable to resolve superclass of Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1; (1063) 04-03 17:09:20.050: W/dalvikvm(12465): Link of class 'Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl$1;' failed 04-03 17:09:20.060: D/dalvikvm(12465): DexOpt: unable to opt direct call 0x2e1e at 0x02 in Lorg/fourthline/cling/transport/impl/AsyncServletStreamServerImpl;.createServlet 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to find class referenced in signature (Ljavax/servlet/http/HttpServletRequest;) 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to find class referenced in signature (Ljavax/servlet/http/HttpServletRequest;) 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to find class referenced in signature (Ljavax/servlet/http/HttpServletRequest;) 04-03 17:09:20.060: E/dalvikvm(12465): Could not find class 'org.eclipse.jetty.server.Request', referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.isConnectionOpen 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to resolve check-cast 1203 (Lorg/eclipse/jetty/server/Request;) in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer; 04-03 17:09:20.060: D/dalvikvm(12465): VFY: replacing opcode 0x1f at 0x0001 04-03 17:09:20.060: E/dalvikvm(12465): Could not find class 'org.eclipse.jetty.server.bio.SocketConnector', referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.addConnector 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to resolve new-instance 1205 (Lorg/eclipse/jetty/server/bio/SocketConnector;) in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer; 04-03 17:09:20.060: D/dalvikvm(12465): VFY: replacing opcode 0x22 at 0x0001 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to find class referenced in signature (Ljavax/servlet/Servlet;) 04-03 17:09:20.060: I/dalvikvm(12465): Could not find method org.eclipse.jetty.server.Server.getHandler, referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.registerServlet 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to resolve virtual method 6431: Lorg/eclipse/jetty/server/Server;.getHandler ()Lorg/eclipse/jetty/server/Handler; 04-03 17:09:20.060: D/dalvikvm(12465): VFY: replacing opcode 0x6e at 0x0003 04-03 17:09:20.060: E/dalvikvm(12465): Could not find class 'org.eclipse.jetty.server.Server', referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.resetServer 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to resolve new-instance 1204 (Lorg/eclipse/jetty/server/Server;) in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer; 04-03 17:09:20.060: D/dalvikvm(12465): VFY: replacing opcode 0x22 at 0x0000 04-03 17:09:20.060: I/dalvikvm(12465): Could not find method org.eclipse.jetty.server.Server.getThreadPool, referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.setExecutorService 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to resolve virtual method 6432: Lorg/eclipse/jetty/server/Server;.getThreadPool ()Lorg/eclipse/jetty/util/thread/ThreadPool; 04-03 17:09:20.060: D/dalvikvm(12465): VFY: replacing opcode 0x6e at 0x0005 04-03 17:09:20.060: I/dalvikvm(12465): Could not find method org.eclipse.jetty.server.Server.isStarted, referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.startIfNotRunning 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to resolve virtual method 6433: Lorg/eclipse/jetty/server/Server;.isStarted ()Z 04-03 17:09:20.060: D/dalvikvm(12465): VFY: replacing opcode 0x6e at 0x0003 04-03 17:09:20.060: I/dalvikvm(12465): Could not find method org.eclipse.jetty.server.Server.isStopped, referenced from method org.fourthline.cling.transport.impl.jetty.JettyServletContainer.stopIfRunning 04-03 17:09:20.060: W/dalvikvm(12465): VFY: unable to resolve virtual method 6435: Lorg/eclipse/jetty/server/Server;.isStopped ()Z 04-03 17:09:20.060: D/dalvikvm(12465): VFY: replacing opcode 0x6e at 0x0003 04-03 17:09:20.060: D/dalvikvm(12465): DexOpt: unable to opt direct call 0x192a at 0x03 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.addConnector 04-03 17:09:20.060: D/dalvikvm(12465): DexOpt: unable to opt direct call 0x192f at 0x22 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.registerServlet 04-03 17:09:20.060: D/dalvikvm(12465): DexOpt: unable to opt direct call 0x1932 at 0x32 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.registerServlet 04-03 17:09:20.060: D/dalvikvm(12465): DexOpt: unable to opt direct call 0x191d at 0x02 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.resetServer 04-03 17:09:20.060: W/dalvikvm(12465): Unable to resolve superclass of Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer$1; (1208) 04-03 17:09:20.060: W/dalvikvm(12465): Link of class 'Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer$1;' failed 04-03 17:09:20.060: D/dalvikvm(12465): DexOpt: unable to opt direct call 0x2f73 at 0x11 in Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer;.setExecutorService 04-03 17:09:20.060: W/dalvikvm(12465): Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lorg/fourthline/cling/transport/impl/jetty/JettyServletContainer; 04-03 17:09:20.060: D/AndroidRuntime(12465): Shutting down VM 04-03 17:09:20.060: W/dalvikvm(12465): threadid=1: thread exiting with uncaught exception (group=0x40b12930) 04-03 17:09:20.080: E/AndroidRuntime(12465): FATAL EXCEPTION: main 04-03 17:09:20.080: E/AndroidRuntime(12465): java.lang.ExceptionInInitializerError 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.android.AndroidUpnpServiceConfiguration.createStreamServer(AndroidUpnpServiceConfiguration.java:112) 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.transport.RouterImpl.startAddressBasedTransports(RouterImpl.java:427) 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.transport.RouterImpl.enable(RouterImpl.java:132) 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.android.AndroidRouter.enable(AndroidRouter.java:92) 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.UpnpServiceImpl.(UpnpServiceImpl.java:87) 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.android.AndroidUpnpServiceImpl$1.(AndroidUpnpServiceImpl.java:54) 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.android.AndroidUpnpServiceImpl.onCreate(AndroidUpnpServiceImpl.java:54) 04-03 17:09:20.080: E/AndroidRuntime(12465): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2529) 04-03 17:09:20.080: E/AndroidRuntime(12465): at android.app.ActivityThread.access$1600(ActivityThread.java:141) 04-03 17:09:20.080: E/AndroidRuntime(12465): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316) 04-03 17:09:20.080: E/AndroidRuntime(12465): at android.os.Handler.dispatchMessage(Handler.java:99) 04-03 17:09:20.080: E/AndroidRuntime(12465): at android.os.Looper.loop(Looper.java:137) 04-03 17:09:20.080: E/AndroidRuntime(12465): at android.app.ActivityThread.main(ActivityThread.java:5041) 04-03 17:09:20.080: E/AndroidRuntime(12465): at java.lang.reflect.Method.invokeNative(Native Method) 04-03 17:09:20.080: E/AndroidRuntime(12465): at java.lang.reflect.Method.invoke(Method.java:511) 04-03 17:09:20.080: E/AndroidRuntime(12465): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817) 04-03 17:09:20.080: E/AndroidRuntime(12465): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584) 04-03 17:09:20.080: E/AndroidRuntime(12465): at dalvik.system.NativeStart.main(Native Method) 04-03 17:09:20.080: E/AndroidRuntime(12465): Caused by: java.lang.NoClassDefFoundError: org.eclipse.jetty.server.Server 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.resetServer(JettyServletContainer.java:132) 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.(JettyServletContainer.java:56) 04-03 17:09:20.080: E/AndroidRuntime(12465): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.(JettyServletContainer.java:54) 04-03 17:09:20.080: E/AndroidRuntime(12465): ... 18 more 04-03 17:09:20.120: D/dalvikvm(12465): GC_CONCURRENT freed 383K, 20% free 4295K/5316K, paused 13ms+2ms, total 27ms

    thank you!

    bug 
    opened by ViewUse 5
  • Not playing and question about Upnp

    Not playing and question about Upnp

    Hey On a Redmi4A with Android 6

    The app is not playing any mp3 when clicked. It shows all files but does not play. Long pressing it shows options to play it from some other app.

    I would like to ask about the Upnp behaviour. When you have to stream audio, does this mean the DroidUpnp becomes a server? A control point will show everything, audio list, control playback, etc. But to play music, stream them to the Upnp renderer does it have to become a server?

    opened by arjunmenon 4
  • Can not detect Light demo of Cling library

    Can not detect Light demo of Cling library

    Hi, I'm learning to make Android control point with Cling library and find your interesting project.

    Maybe it's trivial, but can you tell me why Droidupnp application can not detect the Light demo app in Cling library (the app with a light bulb)? I think as the workbench, a control point need to detect all UPnP devices in the same local network?

    Thank you very much!

    opened by piavgh 4
  • initial thumbnail support

    initial thumbnail support

    Thumbnail is loaded (if available) asynchronously and resized to size of default icons. Successfully tested with Plex Media Server.

    It's only a first approach and there are some things missing:

    • no caching - thumbs will be reloaded on every scroll or refresh (major)
    • thumb optimized (larger, ...) list view needed ???
    • and more ...
    enhancement 
    opened by escoand 3
  • subtitle support, tested with xbmc/kodi

    subtitle support, tested with xbmc/kodi

    Works seamlessly in my environment (serviio-xbmc on raspberry pi, needs a recentish kodi build, mine is 13.2). it's not minimal: I could have added a single subtitle resource and two protocolinfo (as soon as you have more than a node you need that to classify them) but I thought this would be more flexible (i.e. support multiple subtitle streams). After stopping the subtitle info is lost, couldn't understand how to fix that: I reckon the issue is that cling doesn't return current position metadata, the only workaround I can think of is to store it but looks a bit too invasive. Pausing and seeking work fine.

    opened by marcellourbani 1
  • dlna+rtsp

    dlna+rtsp

    Can the DLNA support rtsp ? i' m sorry, my english is poor! are you understand ? if dlna support rtsp , you can do it ! i think this idea is available, is right ? waiting for you to do it ! ^^ ^^ ^_^ !

    opened by ViewUse 1
  • Activity org.droidupnp.Main has leaked ServiceConnection org.droidupnp.controller.cling.ServiceListener$1@4152edd0 that was originally bound here

    Activity org.droidupnp.Main has leaked ServiceConnection org.droidupnp.controller.cling.ServiceListener$1@4152edd0 that was originally bound here

    Leak android service

    04-09 21:03:31.458: D/ServiceDiscoveryFragment(25676): Activity created 04-09 21:03:31.458: I/Cling.ServiceListener(25676): Add Listener ! 04-09 21:03:31.458: I/Cling.ServiceListener(25676): Add Listener Safe ! 04-09 21:03:31.458: D/RendererCommand(25676): Update state ! 04-09 21:03:31.458: I/ServiceDiscoveryFragment(25676): New device detected : Samsung Electronics LE32D550 1.0 04-09 21:03:31.458: I/ServiceDiscoveryFragment(25676): New device detected : Samsung Electronics LE32D550 AllShare1.0 04-09 21:03:31.458: I/RendererCommand(25676): State updater interrupt, current state running 04-09 21:03:31.458: I/ServiceDiscoveryFragment(25676): New device detected : Team XBMC XBMC Media Center 12.1 Git:0d373cc 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): New device detected : Justin Maggard Windows Media Connect compatible (MiniDLNA) 1 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): New device detected : Justin Maggard Windows Media Connect compatible (MiniDLNA) 1 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): Moe is selected at position 1 04-09 21:03:31.468: D/ServiceDiscoveryFragment(25676): onCreated 04-09 21:03:31.468: D/ServiceDiscoveryFragment(25676): Activity created 04-09 21:03:31.468: I/Cling.ServiceListener(25676): Add Listener ! 04-09 21:03:31.468: I/Cling.ServiceListener(25676): Add Listener Safe ! 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): New device detected : Samsung Electronics LE32D550 1.0 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): New device detected : Samsung Electronics LE32D550 AllShare1.0 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): [TV]LE32D550 is selected at position 0 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): New device detected : Team XBMC XBMC Media Center 12.1 Git:0d373cc 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): New device detected : Justin Maggard Windows Media Connect compatible (MiniDLNA) 1 04-09 21:03:31.468: I/ServiceDiscoveryFragment(25676): New device detected : Justin Maggard Windows Media Connect compatible (MiniDLNA) 1 04-09 21:03:31.498: D/RendererCommand(25676): Receive position info ! (PositionInfo) Track: 0 RelTime: 0:00:00 Duration: 0:00:00 Percent: 0 04-09 21:03:31.518: E/ActivityThread(25676): Activity org.droidupnp.Main has leaked ServiceConnection org.droidupnp.controller.cling.ServiceListener$1@4152edd0 that was originally bound here 04-09 21:03:31.518: E/ActivityThread(25676): android.app.ServiceConnectionLeaked: Activity org.droidupnp.Main has leaked ServiceConnection org.droidupnp.controller.cling.ServiceListener$1@41> 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:969) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.ContextImpl.bindService(ContextImpl.java:1418) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.ContextImpl.bindService(ContextImpl.java:1407) 04-09 21:03:31.518: E/ActivityThread(25676): at android.content.ContextWrapper.bindService(ContextWrapper.java:473) 04-09 21:03:31.518: E/ActivityThread(25676): at org.droidupnp.controller.cling.ServiceController.(ServiceController.java:53) 04-09 21:03:31.518: E/ActivityThread(25676): at org.droidupnp.controller.cling.Factory.createUpnpServiceController(Factory.java:68) 04-09 21:03:31.518: E/ActivityThread(25676): at org.droidupnp.Main.onCreate(Main.java:73) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.Activity.performCreate(Activity.java:5104) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.ActivityThread.access$600(ActivityThread.java:141) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 04-09 21:03:31.518: E/ActivityThread(25676): at android.os.Handler.dispatchMessage(Handler.java:99) 04-09 21:03:31.518: E/ActivityThread(25676): at android.os.Looper.loop(Looper.java:137) 04-09 21:03:31.518: E/ActivityThread(25676): at android.app.ActivityThread.main(ActivityThread.java:5041) 04-09 21:03:31.518: E/ActivityThread(25676): at java.lang.reflect.Method.invokeNative(Native Method) 04-09 21:03:31.518: E/ActivityThread(25676): at java.lang.reflect.Method.invoke(Method.java:511) 04-09 21:03:31.518: E/ActivityThread(25676): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 04-09 21:03:31.518: E/ActivityThread(25676): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 04-09 21:03:31.518: E/ActivityThread(25676): at dalvik.system.NativeStart.main(Native Method) 04-09 21:03:31.538: D/dalvikvm(25676): GC_CONCURRENT freed 449K, 6% free 10188K/10756K, paused 2ms+4ms, total 29ms 04-09 21:03:31.578: I/UpnpServiceImpl(25676): >>> Shutting down UPnP service... 04-09 21:03:31.598: I/Router(25676): WiFi multicast lock released 04-09 21:03:31.598: I/Router(25676): WiFi lock released 04-09 21:03:31.618: I/JettyServletContainer(25676): Stopping Jetty server... 04-09 21:03:31.618: I/Server(25676): Graceful shutdown [email protected]:48873 04-09 21:03:31.628: I/Server(25676): Graceful shutdown o.e.j.s.ServletContextHandler{/upnp,null} 04-09 21:03:32.619: I/ContextHandler(25676): stopped o.e.j.s.ServletContextHandler{/upnp,null} 04-09 21:03:32.629: I/UpnpServiceImpl(25676): <<< UPnP service shutdown completed

    bug 
    opened by trishika 1
  • Compile with maven

    Compile with maven

    Currently compilation is done throught eclipse. And dependencies have do be download manual.

    A maven configuration file should be create to ease the compilation task.

    enhancement 
    opened by trishika 1
  • Content directory & Renderer do not stay select when changing tabs

    Content directory & Renderer do not stay select when changing tabs

    Select state of element in list should stay when moving from tab to tab. This is currently a bug that is not fix because I can't find a way to visualy re-select an element in a ListView.

    bug 
    opened by trishika 1
  • select audio stream

    select audio stream

    When using droidUPnP as UPNP controller to play a movie on an upnp renderer (jellyfish is the server and kodi the renderer in this case) I would like to be able to select the audio stream via DroidUPnP. Unfortunately this does not seem possible at the moment.

    opened by christf 0
  • XML external entity (XXE) vulnerability: Out-of-Band XXE in SSDP Processing

    XML external entity (XXE) vulnerability: Out-of-Band XXE in SSDP Processing

    The XML parser don't disable the inline DTDs parsing by default or do not provide a mean to disable it AFAIK.

    The XML parsing engine in SSDP/UPNP functionality is vulnerable to an XML External Entity Processing (XXE) attack. Unauthenticated attackers on the same LAN can use this vulnerability to:

    • Access arbitrary files from the filesystem with the same permission as the user account running UMS.
    • Initiate SMB connections to capture NetNTLM challenge/response and crack to clear-text password.
    • Initiate SMB connections to relay NetNTLM challenge/response and achieve Remote Command Execution in Windows domains.

    Exploitation can be demonstrated using evil-ssdp (https://gitlab.com/initstring/evil-ssdp).

    opened by Sami32 0
  • Enable sharing content of the android device over tethering interface

    Enable sharing content of the android device over tethering interface

    See issue: https://github.com/occasionaldevshare/DroidUPnP/issues/1

    See pull request: https://github.com/trishika/DroidUPnP/pull/73

    And by the way, congratulations for the awesome app ;) I will keep using it ;)

    opened by usefulsoftwaredev 0
Releases(v2.3.0)
Owner
Aurélien Chabot
Aurélien Chabot
Simple custom view that draws an n-point star for Android

StarView ?? Simple custom view that draws an n-point star for Android. Features

Paul T 9 Dec 21, 2022
AdpPad is a GUI application to use adb. adb is a command line tool to control android device.

AdbPad AdpPad is a GUI application to use adb. adb is a command line tool to control android device. Demo.mp4 ✨ Feature Observe a connected android de

katz 31 Dec 30, 2022
An android & arduino project. The android app is used to control motors via Arduino.

Boccia ramp project An android & arduino project. The android app is used to control motors via Arduino. Description This project is made in the conte

vql 2 Jul 29, 2022
Ground Control Station for Android Devices

Tower Tower is a Ground Control Station (GCS) Android app built atop DroneKit-Android, for UAVs running Ardupilot software. Usage Guide The wiki has s

DroidPlanner 593 Dec 30, 2022
Ground Control Station for Android Devices

Tower Tower is a Ground Control Station (GCS) Android app built atop DroneKit-Android, for UAVs running Ardupilot software. Usage Guide The wiki has s

DroidPlanner 594 Jan 8, 2023
PortalController - A rudimentary TeamViewer-like remote control app for Android, using ws.

PortalController A TeamViewer-like app for Android-to-Android remote control, using node.js and websockets (ws). Some insight The reason I call it rud

Mike Anderson 10 Dec 15, 2022
🚀 React Native Segmented Control, Pure Javascript for iOS and Android

Installation Add the dependency: npm i react-native-segmented-control-2 Peer Dependencies Zero Dependency ?? Usage Import import SegmentedControl from

FreakyCoder 11 Nov 10, 2022
TrackerControl: monitor and control trackers and ads.

About TrackerControl Download directly here, from F-Droid, or a feature-reduced version from Google Play. If you have missing features or bugs, join t

Oxford HCC 1.1k Jan 9, 2023
It can control PPTby using EuPI.

wave-pdf Sample App for using Euphony library - EuPI mode. You can show pdf file to viewer, and control it by controller. How to use Controller In con

Euphony 6 Oct 21, 2022
The Android Trivia application is an application that asks the user trivia questions about Android development

The Android Trivia application is an application that asks the user trivia questions about Android development. It makes use of the Navigation component within Jetpack to move the user between different screens. Each screen is implemented as a Fragment. The app navigates using buttons, the Action Bar, and the Navigation Drawer.

Srihitha Tadiparthi 1 Feb 10, 2022
Android application compatible with ZX2C4's Pass command line application

Password Store Download Documentation We're in the process of rewriting our documentation from scratch, and the work-in-progress state can be seen her

Android Password Store 2.2k Jan 8, 2023
Android Phishing Application.This Project is for Educational purposes only.The Developer of this application is not responsible of any bad usage

Android Phishing Application.This Project is for Educational purposes only.The Developer of this application is not responsible of any bad usage

Aria Shirazi 93 Oct 23, 2022
Math World is an Android Application specialized in mathematics, where the application includes some sections related to arithmetic, unit conversion, scientific math laws and constants, as well as some mathematical questions that need some intelligence to reach the solution.

Math World is an Android Application specialized in mathematics, where the application includes some sections related to arithmetic, unit conversion, scientific math laws and constants, as well as some mathematical questions that need some intelligence to reach the solution.

null 7 Mar 12, 2022
Realtime SOS Android Application. Location (GPS + Cellular Network) tracing application by alerting guardians of the User.

WomenSaftey Women Safety Android Application: Realtime SOS Android Application. Designed a Location (GPS + Cellular Network) tracing application by al

jatin kasera 6 Nov 19, 2022
Connect is an Android Application to connect people for a project and can then work on the application to efficiently complete the project

Connect is an Android Application to connect people for a project and can then work on the application to efficiently complete the project

Shubhaprasad Padhy 1 Jan 9, 2022
A blogging mobile application built with Kotlin using MVC design pattern and Take some advantage of Jetpack , View & Data Binding It's a mimic for Tumblr application , But a little prettier than him 😉

A blogging mobile application built with Kotlin using MVC design pattern and Take some advantage of Jetpack , View & Data Binding It's a mimic for Tum

Ahmed Ihab 17 Dec 23, 2022
Quiz-Application - A quiz application which uses opentdb api to get quiz of different levels like Easy Hard and Medium

Quiz-Application A quiz application which uses opentdb api to get quiz of differ

Pranat Praveer 2 Jan 25, 2022
Application: SLA report This application calculates, based on an input, the average duration per service of Axon.

Application: SLA report This application calculates, based on an input, the average duration per service of Axon.

null 3 Aug 5, 2022