queries about libgps.so and libhardware.so

by www_...@yahoo.com.cn » Fri, 06 Mar 2009 15:06:03 GMT


Sponsored Links
 Hi all,
I implement my GPS function in the file gps_hardware.c ( instead of
gps_qemu.c,I create it), and so I change the Android.mk here as below:
--------------------------------------------------------------------------------------------------
USE_GPS_HARDWARE := true

ifeq($(USE_GPS_HARDWARE),true)
    LOCAL_CFLAGS       += -DHAVE_GPS_HARDWARE
    LOCAL_SRC_FILES += gps/gps_hardware.c
endif
LOCAL_SRC_FILES += gps/gps.cpp
--------------------------------------------------------------------------------------------------

And I build the project.  After that, I find a gps_hardware.o and a
gps_hardware.p are created in the out/target/product/generic/obj/
SHARD_LIBRARIES/libhardware_intermediates/gps/ directory.

But the debug board I debug is Marvell board. So I have to copy the
files (like gps_hardware.o or any others) that relate to  GPS function
I have implemented to the project of Marvell.  I am not sure which
file (like libhardware.so , gps_hardware.o or others) I should copy to
the Marvell project.

Does anyone have any ideas about this issue?

Thanks.
--~--~---------~--~----~------------~-------~--~----~



queries about libgps.so and libhardware.so

by www_...@yahoo.com.cn » Fri, 06 Mar 2009 15:13:09 GMT


 Maybe I just implement and build it in Marveel project is better.
And so I have another question, if I wanna build my implementation as
a so like libgps.so, what should I do ?



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


Sponsored Links


Other Threads

1. About Overlay interface

hi,


I am implementing a custom MIO which makes use of Overlay interface.
my MIO calls the overlay ref  through the call "mSurface-
interface.

Currently i am facing problem in "mSurface->createOverlay", this is
not returning the OverlayRef. Due to this the next call to "new Overlay
(ref)" is failing.

"LayerBuffer::OverlaySource::OverlaySource(LayerBuffer&
layer,sp<OverlayRef>* overlayRef, uint32_t w, uint32_t h, int32_t
format)"  in LayerBuffer.cpp should return the Overlay ref object.

am i missing anything??? Is the overlay support fully implemented in
current Cupacake branch..?

Thanks in advance.

Pramod
--~--~---------~--~----~------------~-------~--~----~

2. Total number of apps on Android Market?

Anyone know where I can get the latest count?

I can see iPhone App Store count here (33079) :
http://appshopper.com

Would be an interesting comparison. Also to see at what rate the app
list is growing.

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

3. How to hide alert dialog programmatically?

4. When will Android Market will compete with Apple's app store

5. getContentResolver.query(Images.Media.EXTERNAL_CONTENT_URI ...) returns null on device

6. Setup Merchant Account link now available

7. zero duration for some media