My changes are inside the if for "address,"  - do you search for VOR and
radials with "address,"?

Rich


On Fri, Feb 28, 2014 at 9:00 PM, Zubair Khan <notifications@github.com>wrote:

> In src/com/ds/avare/SearchActivity.java:
>
> > @@ -399,9 +399,9 @@ public void onTextChanged(CharSequence s, int start, int before, int after) {
> >
> >                  if(s.toString().startsWith("address,")) {
> >                      String [] vals = new String[1];
> > -                    String addr[] = s.toString().split(",");
> > -                    if(addr.length > 1) {
> > -                        StringPreference sp = new StringPreference(Destination.MAPS, Destination.MAPS, Destination.MAPS, addr[1]);
> > +                    String addr = s.toString().substring(8); // 8 = length of "address,"
> > +                    if(addr.length() > 1) {
>
> This is same as code if(addr.length() > 8). It will match even VOR and
> radials.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/apps4av/avare/pull/50/files#r10188809>
> .
>