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. Cannot get Level-List Drawable to work in ListAdapter

I am attempting to use a level-list.  When run, my listview is showing
either nothing or the zero drawable.

I must be doing something wrong - a second set of eyes and a different brain
appreciated.

Here are the particulars ...

level list stored as an star_levels.xml in drawable folder:

<?xml version="1.0" encoding="utf-8"?>

 <level-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:maxLevel="0" android:drawable="@drawable/stars_0" />
    <item android:maxLevel="1" android:drawable="@drawable/stars_1" />
    <item android:maxLevel="2" android:drawable="@drawable/stars_2" />
    <item android:maxLevel="3" android:drawable="@drawable/stars_3" />
    <item android:maxLevel="4" android:drawable="@drawable/stars_4" />
    <item android:maxLevel="5" android:drawable="@drawable/stars_5" />
 </level-list>


image view inside a relative layout:

                <ImageView
                    android:id="@+id/rating"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:layout_alignTop="@id/something_else"
                    android:layout_alignParentRight="true"
                    android:layout_marginRight="10dp"
                    android:src="@drawable/star_levels"
                />


code from Adapter:

        @Override
        public void setViewImage(ImageView v, String value) {

            super.setViewImage(v, value);

            if (v.getId() == R.id.rating){
                v.setImageLevel(Integer.parseInt(value)); // this returns an
integer - logcat confirms this
            }

       }

Thanks,
j

-- 

2. How do you handle a pound sign (#) in a string?

Try replacing # with %23, or run it through a URL encoder.




-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 

3. How do you handle a pound sign (#) in a string?

4. Android-based Laptop + need to run Win XP app

5. Android Laptop + need to run Win XP app

6. Android Laptop + need to run Win XP app

7. Temy Purnawan wants to share their location with you on Google Latitude