Re: about RPC dev

by Mike Lockwood » Thu, 20 Jan 2011 03:30:38 GMT


Sponsored Links
 The files in /dev/oncrpc/ are used to communicate with the Qualcomm
baseband processor on Qualcomm chipsets.  If you are not using a
Qualcomm chipset then none of those files should be there at all.  If
you are on a Qualcomm chipset but /dev/oncrpc/3000008c:00010000 is
missing, then your chipset does not support the same version of the
GPS API.

Short answer is if you are porting android to a non-Qualcomm chipset
then the lib_locapi code won't help you at all.  You will need to
develop your own interface to whatever GPS you are using.

Mike






-- 
Mike Lockwood
Google android team

-- 



Other Threads

1. gadget

Hello,
it is possible to put your own app on the android desktop?
like the googe searchbar on the desktop, if you switch the desktop to
right?

rgds
     Mr.No


--~--~---------~--~----~------------~-------~--~----~

2. Using a 3rd party shared library for a mediaplayerinterface implementation

So what I want to do is the following. I want to add another player to
work besides opencore,vorbis and midi. I have implemented this in a
way similar to the midi player. I have edited the make file of
libmediaplayerservice to include my source and my lib. First I push my
lib and then I try to use it. I have gone through a lot of relevant
topics and have followed the instructions there but to no succes. See
if you can spot anything wrong in my makefile. I have included my .so
lib in the same folder as the makefile.

LOCAL_PATH := $(call my-dir)
#
# libmediaplayerservice
#
MY_LOCAL_PATH := $(LOCAL_PATH)

include $(CLEAR_VARS)

LOCAL_PREBUILT_LIBS :=  libAlEngine.so   <- my lib

include $(BUILD_MULTI_PREBUILT)

LOCAL_PATH := $(MY_LOCAL_PATH)

include $(CLEAR_VARS)

LOCAL_SRC_FILES:=               \
        MediaPlayerService.cpp \
        MetadataRetrieverClient.cpp \
        VorbisPlayer.cpp \
        AlPlayer.cpp \               <-My player file
        MidiFile.cpp

ifneq ($(BUILD_WITHOUT_PV),true)
LOCAL_SRC_FILES+=               \
        MediaRecorderClient.cpp
endif

ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
LOCAL_LDLIBS += -ldl -lpthread
endif

LOCAL_SHARED_LIBRARIES := \
        libcutils \
        libutils \
        libvorbisidec \
        libsonivox \
        libmedia \
        libAlEngine \                             <- Here I try to use my
lib
        libandroid_runtime


ifneq ($(BUILD_WITHOUT_PV),true)
LOCAL_SHARED_LIBRARIES += \
        libopencore_player \
        libopencore_author
endif

LOCAL_C_INCLUDES := external/tremor/Tremor \
        $(call include-path-for, graphics corecg)

ifeq ($(BUILD_WITHOUT_PV),true)
LOCAL_CFLAGS := -DNO_OPENCORE
endif

LOCAL_MODULE:= libmediaplayerservice

include $(BUILD_SHARED_LIBRARY)


I have tried alot of things but this seems the way its supposed to be
done. And I get the following error :

target SharedLib: libmediaplayerservice (out/target/product/generic/
obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates/LINKED/
libmediaplayerservice.so)
/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/
4.2.1/../../../../arm-eabi/bin/ld: skipping incompatible out/target/
product/generic/obj/lib/libAlEngine.so when searching for -lAlEngine
/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/
4.2.1/../../../../arm-eabi/bin/ld: cannot find -lAlEngine
collect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/
libmediaplayerservice_intermediates/LINKED/libmediaplayerservice.so]
Error 1

So he cannot find the lib I just pushed and it is definatly there just
"incompatible". Any thoughts?



--~--~---------~--~----~------------~-------~--~----~

3. Disable XSL transforms in HTTPClient

4. Resetting checkboxes in a dialog with .setMultiChoiceItems()

5. A simple question regarding inter-process communication.

6. Launch android emulator on mingw/msys, but failed

7. HTC Magic, is PhoneNumberUtils.PAUSE different?