Android Display Volume on Remote (get.Volume) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: Android Display Volume on Remote (get.Volume) (/showthread.php?tid=182289) |
Display Volume on Remote (get.Volume) - Philosopheur - 2014-01-05 I am developing my own android interface from the last Official XBMC Remote Android App. I want to display the volume on my Remote I do not understand how to use getVolume from the Activity "RemoteActivity" Can you please tell me the code? Thanks, RE: Display Volume on Remote (get.Volume) - Philosopheur - 2014-01-08 Hi, Help Please I tried this code but without success (return Value =0) public class RemoteActivity extends Activity Code: View.OnClickListener TestListener = new View.OnClickListener() { Idem if I replace getApplicationContext() by null In public class ControlManager extends AbstractManager implements IControlManager, INotifiableManager Code: public void getVolume(final DataResponse<Integer> response, final Context context) { Result : Volume = 0.0 Volume = 0 A |