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. Listening to Home key Intent

Hi All,

I found out from the forum that overrding the HOME key is not possible
in android. I need to have my application to have complete control
over the device.
So I tried to write a broadcast receiver to listen to the HOME intent
but was not successful. Still on presssing the HOME button the Home
screen would launch.

The manifest is like:

         <receiver android:name="StartupIntentReceiver">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.HOME" /
            </intent-filter>
        </receiver>

Could some one please help with the feasibility of this?

-- 

2. location for insmod scripts

Hi,

I have to insmod the kernel modules for netfilter to init iptables at
boot up.
I have written a small shell script that insmods the modules in a
specific order.
How and where I can schedule an automatic execution of this file?

I have tried modifying init.goldfish.sh, but the script does execute.

Cheers,
Earlence

-- 

3. beli desire hd di spore

4. Tampilan market baru

5. MotionEvent not firing as expected

6. Beda GApps, apa itu?

7. Have to create a ExpandableList with different types of childs