PVR development for android
#1
Hello,

I'm new to PVR development, and would like to ask if anyone could point me to a simple guide of how to build the basic PVR (PVR_DEMO) for android devices.

Thanks.
Reply
#2
it is built as part of xbmc right now: https://github.com/xbmc/xbmc/tree/master...pvr-addons
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#3
Actually, my question has two parts:
1. How to build my custom addon? (I am able to compile it under windows, which gives me a DLL file as an output... but how can I make the *.SO library that can be dynamically linked on Android?)
2. How to make XBMC to see and install my new addon? If I understood correctly the makefile, it should be enough just to put the xml and the .so files in a folder that begins with pvr.*, right ?

Thanks.
Reply
#4
1) You need to d/l Android ADT and NDK and read read read.
2) Search the wiki on how to make an addon.

Have fun.
Reply
#5
Hi,

I did all that. But it seems that I'm still missing something since XBMC fails to load the resulted *.SO file. (according to the logs)
Here is what I did so far:
1. I took the exact same code of "DemoPVR" (without modifying, just for testing)
2. Compiled it with Android NDK under Windows 7
3. packed the resulted file with the proper XML into a zip file
4. installed that zip directly from XBMC.

Can someone please help me with that?
Reply
#6
Well if its any consolation I'm also having mixed success with Android devices. I've gotten my PVR to load on everything except an RK3066 dual core device. Loads just fine on my Galaxy Tab, my nexus phone and my nexus 7 tablet. Even on a friends Ouya.

Make sure you add the --target=arm-linux-androideabi --host=arm-linux-androideabi in your configure before compiling.
Reply
#7
Hi all,

i´m new here. I know XBMC from my (very) old XBOX, years ago.
Now i´ve bougt a DVB-S2 box, running android 4.2.
It comes with an working PVR-App BUT
I love XBMC and it´s realy annoying that i have to leave it for liveTV.

Is it possible to get an PVR working in XBMC?
Here is my configuration:

AML8726-MX Dual-core A9 (dualcore Mali-400 GPU)
Working DVB-S2 hardware
1GB RAM

Regards,
Harry
Reply
#8
bayerischbeer, well, you'd need a PVR addon that can interact with your DVB-S2 hardware (we usually don't directly talk to hardware) or the according software/backend. In any case somebody needs to create a PVR addon for this particular hardware/software.
Reply
#9
Ok, thank you for your info.

Would it also be possible to compile / port e.g. tvheadend to my box. What do you think is easier?
I´ve SOME linux knowledge and i´m able to compile some easy stuff. With this skills i think i have to wait for a professional, right?

Regards,
Harry
Reply
#10
which box do you have btw?
But I think your only option atm is that you make XBMC your Android launcher and launch your PVR app from within XBMC
Reply
#11
Hi,

i bougt thisbox from mixeshop: http://www.mixeshop.com/android-tv-box-4...p2369.html

I don´t know who is the manufacturer.
either birdfon: http://www.birdfon.com/china/dual_core_a..._xbmc.html
or VideoStrong: http://www.videostrong.com/productshow.a...56&sid=233

Maybe this is worth a try:
Tvheadend for android

https://github.com/innbox/tvheadend/tree...nd-android
https://github.com/innbox/service.multimedia.tvheadend

I have no stock rom backup, and no sourcecode. So i have to be carefully what i´m doing :-)
Reply
#12
Smile 
(2013-09-09, 20:59)greco Wrote: Well if its any consolation I'm also having mixed success with Android devices. I've gotten my PVR to load on everything except an RK3066 dual core device. Loads just fine on my Galaxy Tab, my nexus phone and my nexus 7 tablet. Even on a friends Ouya.

Make sure you add the --target=arm-linux-androideabi --host=arm-linux-androideabi in your configure before compiling.

This is exactly the hardware I'm targeting (specifically: MK808) Smile
It simply fails to load the *.SO...

Any chance to get help from the developers of the built-in PVR's?
Reply
#13
Only if you build the xbmc-pvr-addons for android and they don't load on an RK3066 then I think you might get some help. I think what it comes down to is compiler options.
Reply
#14
Would anyone be willing to compile existing code to make an android XBMC plugin for serverWMC? Hard part is already done, all that should be needed is for someone to take the client source code below and compile for Android. That's it!


serverWMC:

http://forum.xbmc.org/showthread.php?tid=171216

Software:

https://googledrive.com/host/0ByNnAMYBoW...index.html

Client source code:

https://bitbucket.org/krustyreturns/pvr.wmc
Reply
#15
I'm still missing something since XBMC fails to load the resulted. I know XBMC from my (very) old XBOX, years ago.
Now i´ve bougt a DVB-S2 box, running android 4.2.
It comes with an working PVR-App BUT
I love XBMC and it´s realy annoying that i have to leave it for liveTV
Reply

Logout Mark Read Team Forum Stats Members Help
PVR development for android0