PVR works on tablet/phone not on Android RK3066 device
#1
I've got a custom PVR that when compiled with the NDK will work like a charm on my Nexus 7 tablet, and Nexus S phone but will give me 'unknown errors' when the PVR is enabled on my new Jynxbox XD. I even tried it on my older Jynxbox HD and it doesn't work.

Any suggestions or help is greatly appreciated. Below is my Android.mk and Application.mk

Android.mk (I've tried without the .arm.neon, just the .arm and just the .neon source extensions and still a no go.)
Code:
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE:= libcurl
LOCAL_SRC_FILES := ../lib/curl/lib/armeabi-v7a/libcurl.a
LOCAL_EXPORT_C_INCLUDES := ../lib/curl/include

LOCAL_ARM_NEON := true

include $(PREBUILT_STATIC_LIBRARY)

include $(CLEAR_VARS)

LOCAL_CPP_EXTENSION := .cpp
LOCAL_MODULE    := pvrrockchiptvaddon
LOCAL_SRC_FILES := \
        ../addon/addons/pvr.rockchiptv/src/client.cpp.arm.neon \
        ../addon/addons/pvr.rockchiptv/src/RockchipTVClient.cpp.arm.neon \
        ../addon/addons/pvr.rockchiptv/src/RockchipTVResolver.cpp.arm.neon

LOCAL_ARM_NEON := true

LOCAL_STATIC_LIBRARIES := libcurl

LOCAL_CPPFLAGS += -fexceptions

LOCAL_CFLAGS := \
        -I$(LOCAL_PATH)/../addon/xbmc \
        -I$(LOCAL_PATH)/../addon/lib \
        -I$(LOCAL_PATH)/../addon \
        -I$(NDKROOT)/platforms/$(TARGET_PLATFORM)/arch-arm/usr/include
        -DHAVE_ZLIB=1 -DUSE_DEMUX=1

LOCAL_LDLIBS := -lz

include $(BUILD_SHARED_LIBRARY)

Application.mk (my AndroidManifest.xml has an minSdkVersion of 14)
Code:
APP_ABI := armeabi-v7a
APP_PLATFORM := android-8
APP_STL := stlport_static
Reply
#2
Can anyone help? I've even compiled my addon using just the android-14 toolchain and using host and target values of arm-linux-androideabi and still it won't load on the RK30** device.

I tried my frodo base pvr code on frodo for android and the reason for not loading the shared library was null.
When I tried my gotham base pvr code on gotham alpha7 I gave me a invalid argument in the shared loading of the library. I'll try to pull the exact code later.

Any help will be greatly appreciated so I can get my pvr to run on this device.

I'm thinking I might just pull the source from git and try to build my addon with xbmc for android..... just a thought...
Reply

Logout Mark Read Team Forum Stats Members Help
PVR works on tablet/phone not on Android RK3066 device0