Share My Creation Phone Directory Search with Maps

(For New Zealand)
My first B4A app, made as a learning project.
Demonstrates consumption of xml & json data and display via custom expandable & horizontally scrolling list, & use of Google maps V2 api.

the APK can be found here:
http://package.1mobile.com/d.php?pkg=com.gmail.leqeta.nicholas.yellowpages

Due Credit mentions to:
"warwound" Martin Pearman for GoogleMapsExtras
"thedesolatesoul" for Custom Expandable ListView
"netchicken" Gary Dix for a great course tutorial
Erel for SearchView class & for this awesome core product.

Some screenshots below. If anybody interested in the source please contact me.

Result Listing view:
-note that text for "Canterbury Carpet Company LtD" and the "158 Wordsworth St..." will scroll horizontally also
-for pagination, the next page of results is added to the full scrollable list.

Screenshot_2013-11-04-23-59-08.png


Search initiation:
-Upon typing input into "Where" field, an http call is made and the auto-complete drop list populated with suggestions from the returned JSON response.

Screenshot_2013-11-07-14-17-30.png


Results view:

Screenshot_2013-11-07-14-48-23%5B1%5D.png

Business Search view:
For the auto-suggest functionality, the SearchView class is used to filter and display information loaded as a list from a 1781 line categories.txt file with is shipped in DirAssets. It takes a couple of seconds to load this in on "FirstTime" but this is masked by a splash logo.


Screenshot_2013-11-07-14-19-08.png


map view (on tablet) + click on a marker.
-then clicking on the transparent maker label opens to google street view

1.png
 

Attachments

  • Screenshot_2013-11-04-23-59-08.png
    Screenshot_2013-11-04-23-59-08.png
    102.5 KB · Views: 2,796
Last edited:
Top