Where and how to load libgps.so in Android?

by www_...@yahoo.com.cn » Sat, 07 Mar 2009 11:37:02 GMT


Sponsored Links
 Dear all
   Now i need to develope GPS on qualcomm 72XX platform, I have got
the source code.
   I find libgps.so in qulacomm's baseline, but i do not find where
and how to load this so file.
   Could anyone can help me?

   thanks a lot!
--~--~---------~--~----~------------~-------~--~----~



Where and how to load libgps.so in Android?

by Svartalf » Sat, 07 Mar 2009 23:03:50 GMT


 Hi

I think that these articles explain it well:
 http://mantrid.wordpress.com/2008/04/28/do-android-dream-of-something-more-than-java/ 
I haven't done this yet but if your using SDK 1.0 > I think you need
to add a line in the AndroidManifest.xml file for importing external
libraries.

Good luck!
Jan

On Mar 7, 4:36am, "www_...@yahoo.com.cn" <www_...@yahoo.com.cn>


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


Sponsored Links


Where and how to load libgps.so in Android?

by Mark Murphy » Sat, 07 Mar 2009 23:10:13 GMT


 


You will have better luck with Android porting questions on one of the
discussion lists pertaining to Android porting:

 http://source.android.com/discuss 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

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



Other Threads

1. any update on ADC 2?

Is there any places we can view the submission list? has it begun to
judge?

Thanks!
--~--~---------~--~----~------------~-------~--~----~

2. can't bind to a local service.

I have the following base activity.

public class BaseActivity extends Activity
...
...
... onCreate(...) {
        this.bindService(new Intent(BaseActivity.this,
LocalService.class), serviceConn, Context.BIND_AUTO_CREATE);
    }
...
    private ServiceConnection serviceConn = new ServiceConnection() {
                @Override
                public void onServiceConnected(ComponentName name, IBinder 
service)
{
                        LocalService.LocalBinder binder = 
(LocalService.LocalBinder)
service;
                        service = binder.getService();
                }
...
    };

A derived activity fails on the call to cast a binder --

LocalService.LocalBinder binder = (LocalService.LocalBinder) service;

fails with this on the call stack --

InvocationTargetException.<init>(Throwable) line: 56
ActivityThread.main(String[]) line: 3948

what am I doing wrong?

tia.
--~--~---------~--~----~------------~-------~--~----~

3. Know when Outgoing Call has been answered or whatever state

4. MyTouch Lag Problems

5. what services are available at the API level?

6. Is it possible to use the accelerometer in a background service?

7. Detecting when launched by an Alias