Motorola Droid/Milestone w/ Bluetooth GPS

by jeremynealbrown » Wed, 14 Apr 2010 03:36:55 GMT


Sponsored Links
 Hello,

I am working on an Android 2.0 project that is going to be used in a
somewhat remote location. There will be no internet connection
available and it will be used outside of the U.S. I am considering the
option of using an external Nokia or similar GPS device as a GPS
receiver/transmitter and connecting to it for use in my application
via bluetooth.

I am looking for opinions on whether or not this is even possible, if
someone out there has attempted it or if someone has a suggestion for
some other external device that would be more fitting.

Link to possible external GPS device:
 http://europe.nokia.com/find-products/accessories/all-accessories/navigation/gps-modules/nokia-gps-module-ld-3w 

Thanks in advace,
~Jeremy

--



Motorola Droid/Milestone w/ Bluetooth GPS

by Lucian Tomuta » Fri, 23 Apr 2010 02:35:44 GMT


 I'm not sure I understand what you are after. On which phone will you run
the Android app and doesn't it have a built-in GPS?

If you intend indeed to use a Bluetooth GPS receiver then you should go for
Nokia's updated model,
 http://europe.nokia.com/find-products/accessories/all-accessories/navigation/gps-modules/ld-4w 

< http://europe.nokia.com/find-products/accessories/all-accessories/navigation/gps-modules/ld-4w> ;Other
than that it is all about opening a serial port, receiving the NMEA strings
and parsing them accordingly. Totally doable.

Best regards,
Lucian

Calling All Innovators 2010 - mobile development competition
 http://bit.ly/bUjIzf 


On Mon, Apr 12, 2010 at 6:11 PM, jeremynealbrown



>


Sponsored Links


Motorola Droid/Milestone w/ Bluetooth GPS

by faizan khan » Fri, 23 Apr 2010 03:26:06 GMT


 its very much doable.have apps running on both phones which will sync the
locaiton coordinates.bluetooth/infra red/sms anything could be used for
synching.you can even consider a desktop to sync the location coordinates :)





>>



Motorola Droid/Milestone w/ Bluetooth GPS

by Lucian Tomuta » Fri, 23 Apr 2010 03:48:01 GMT


 LD-4W is a Bluetooth GPS receiver, not a phone. Bluetooth is the only
supported bearer.

Best regards,
Lucian

Calling All Innovators 2010 - mobile development competition - 500000 USD in
prizes -  http://bit.ly/bUjIzf 







>>>



Motorola Droid/Milestone w/ Bluetooth GPS

by Nathan » Fri, 23 Apr 2010 04:40:00 GMT


 It should be possible, assuming Bluetooth on the phone can pare with
the GPS and establish a serial port profile. Then you would open and
read from the virtual serial port using the NMEA protocol.

I have no actual experience with bluetooth on Android, but this is how
it would have been done on Windows Mobile in the past. Is that
bluetooth receiver going to give you a lot off advantages over the
built in one? The built in one can use satellites and would not be
dependent on the cell network, if that's your concern.

Nathan






> >>>



Other Threads

1. Problem with Displaying Web Server's Response (Text) in Android

* Hello, I have tried to impliment the suggested solution but I am having a
problem with the doInBackground(). I need this to return the String so that
I can process this in the onPostExecute() to update the TextView widget. But
there is an error in the 'public String doInBackground(String...params)'.
The String (return type) is said to be incompatible with the
AsyncTask<String, Void, Void)... Apparently the two options are to implement
or override doInBackground(). I think that is what I have been doing. What
am I do wrong?


package* http.client;

*

import* java.io.BufferedReader;
*

import* java.io.IOException;
*

import* java.io.InputStreamReader;
*

import* java.io.UnsupportedEncodingException;
*

import* java.net.URL;
*

import* java.util.ArrayList;
*

import* java.util.List;

*

import* org.apache.http.HttpResponse;
*

import* org.apache.http.NameValuePair;
*

import* org.apache.http.client.HttpClient;
*

import* org.apache.http.client.entity.UrlEncodedFormEntity;
*

import* org.apache.http.client.methods.HttpPost;
*

import* org.apache.http.impl.client.DefaultHttpClient;
*

import* org.apache.http.message.BasicNameValuePair;

*

import* android.app.Activity;
*

import* android.os.AsyncTask;
*

import* android.os.Bundle;
*

import* android.view.View;
*

import* android.widget.TextView;

*public* *class* TestHttpClient *extends* Activity

{

@Override

*public* *void* onCreate(Bundle icicle){

*super*.onCreate(icicle);

setContentView(R.layout.*main*);

TextView myTextView = *new* TextView(*this*);

String result = *new* HttpConnect1().doInBackground();

*new* HttpConnect1().onPostExecute(myTextView, result);

}

*private* *class* HttpConnect1 *extends* AsyncTask<String, Void, Void>

{

@Override

*public* *String* doInBackground(String...params)

{

BufferedReader in = *null*;

*try* {

HttpClient client = *new* DefaultHttpClient();

HttpPost request = *new* HttpPost("http://www.cnn.com");

List<NameValuePair> postParameters = *new* ArrayList<NameValuePair>();

postParameters.add(*new* BasicNameValuePair("one", "valueGoesHere"));

UrlEncodedFormEntity formEntity = *new*UrlEncodedFormEntity(postParameters);

request.setEntity(formEntity);

HttpResponse response = client.execute(request);

in = *new* 
BufferedReader(*new*InputStreamReader(response.getEntity().getContent()));

StringBuffer sb = *new* StringBuffer("");

String line = "";

String NL = System.*getProperty*("line.separator");

*while* ((line = in.readLine()) != *null*) {

sb.append(line + NL);

}

in.close();

String result = sb.toString();

} *finally* {

*if* (in != *null*) {

*try* {

in.close();

} *catch* (IOException e) {

e.printStackTrace();

}

}

}

}

*public* *void* onPostExecute(TextView myTextview, String result)

{

String result1 = result;

myTextview.setText(result1);

setContentView(myTextview);

}

}

}









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

2. Installing the USB driver for HTC Magic on Vista

Hi Guys,

Does anyone know how to install the usb driver for the HTC magic?
Whenever I plug in the phone and select to mount is as a mass storage
device, it gets mounted, but no "New Hardware" wizzard appears.  I've
enabled USB debugging in the settings, please help :)

Cheers,

Chris

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

3. Live at Michael Jackson Memorial Concert -- All Videos here???

4. Can't install usb driver because Windows do not pop "New hardware wizard"

5. Android 101 Series, Code-sprint, and Barcamp

6. Class Zero Message behavior

7. MDP_PPP.C