122 Commits

Author SHA1 Message Date
Sean Barbeau
d5f727f838
chore: Add StreetViewPanoramaOptionsDemoActivity in Kotlin (#208)
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
* Remove redundant cast for TextView
* Normalize instance variable names
* Normalize capitalization of activity title in UI list
* Use lambda (requires Java 8 support)
* Support Java 8 features (for all Java demos) via build.gradle
2020-05-19 10:25:55 -04:00
Sean Barbeau
b2c83b643e
chore: Add SplitStreetViewPanoramaAndMapDemoActivity in Kotlin (#203)
Also update Java example to not use Hungarian notation
2020-05-15 14:32:15 -04:00
Chris Arriola
694c460834
chore: Kotlin ApiDemos for Maps SDK V3 BETA (#201)
* chore: Kotlin ApiDemos for Maps SDK V3 BETA

* Update ApiDemos/kotlin/app/build.gradle

Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com>

Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com>
2020-05-14 11:40:26 -07:00
Chris Arriola
fc64eca151
chore: ApiDemos for Maps SDK V3 BETA (#199)
* chore: Adding samples for V3.

Adding samples for V3 BETA in a new module `app-v3`. These samples are
generated by the `generateV3` Gradle task which runs when the `app`
module is built.

TODOs left:
- [ ] Update README with a note about V3 samples

* Update README and location of secure.properties.

* Using product flavors instead of creating a new module for V3 & GMS.

* Update build workflow to run lint and assemble on all flavor/build types.

* Not using deprecated API.

* Install Android NDK.

* Update license headers.
2020-05-12 17:15:09 -07:00
Sean Barbeau
b2246b1c8f
feat: Get Maps API key from unversioned file instead of resource - Java (#190)
Previously the Java demo app API key was hard-coded directly in a versioned string resource file, which is dangerous as it's easy to accidentally commit your key into version control.

This PR adds a new process to add your own Google Maps API key for the Java demo app:

1. [Get a Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key)
1. Create a file in the `ApiDemos/java/app` directory called `secure.properties` (this file should *NOT* be under version control to protect your API key)
1. Add a single line to `ApiDemos/java/app/secure.properties` that looks like `MAPS_API_KEY=YOUR_API_KEY`, where `YOUR_API_KEY` is the API key you obtained in the first step
1. Build and run
2020-05-06 14:05:14 -07:00
dependabot-preview[bot]
1d0cf40233
chore(deps): bump gradle from 3.6.2 to 3.6.3 in /ApiDemos/java (#176)
Bumps gradle from 3.6.2 to 3.6.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-22 08:47:54 -07:00
Chris Arriola
8154698458
Merge pull request #155 from googlemaps/dependabot/gradle/ApiDemos/java/com.android.tools.build-gradle-3.6.2
chore(deps): Bump gradle from 3.6.1 to 3.6.2 in /ApiDemos/java
2020-04-14 19:51:27 -07:00
dependabot-preview[bot]
50e1ded08a
Bump gradle from 3.6.1 to 3.6.2 in /ApiDemos/java
Bumps gradle from 3.6.1 to 3.6.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-14 16:36:52 +00:00
dependabot-preview[bot]
85de0339e5
Bump junit from 4.12 to 4.13 in /ApiDemos/java
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-14 16:36:34 +00:00
Chris Arriola
87955bc158 build: Fixing build issues. 2020-04-07 14:47:51 -07:00
Chris Arriola
db17426711 build: Separate jobs. 2020-04-01 11:22:16 -07:00
Chris Arriola
ddd6a2e576
docs: Update end tag 2020-03-11 11:56:34 -07:00
Chris Arriola
77a82e18f3 docs: Adding region tags. 2020-03-11 11:44:16 -07:00
Angela Yu
7e9b01cf82
Update to latest Maps and Places SDKs (#141)
* Update ApiDemos/java to latest Maps SDK for Android

* Update ApiDemos/kotlin to latest Maps SDK for Android

* Update tutorials/CurrentPlaceDetailsOnMap to new Places SDK for Android

* Update tutorials/MapWithMarker to latest Maps SDK for Android

* Update tutorials/Polygons to latest Maps SDK for Android

* Update tutorials/StyledMap to latest Maps SDK for Android

* Update README with better instructions for API key
2019-12-30 13:18:01 -08:00
Alex Muramoto
71b2a225f4 upgrade kotlin and gradle versions (#119) 2019-04-19 09:45:38 -07:00
witek86
228bccde92
Update TileOverlayDemoActivity.java 2019-04-03 13:32:23 +01:00
Stephen McDonald
7ee737b8fd Add StreetViewSource example
Change-Id: I267dd3aed59216765321b1df1c6f8973925c0037
2018-04-04 11:38:53 +10:00
Stephen McDonald
a6e6adf12a Latest Google Play Services
Change-Id: I5ff448c99e6c648223ca4642ce83f49f7a0ccf99
2018-04-04 11:38:13 +10:00
Bella Mangunsong
bf92d73028 changed the java LiteListDemo to use RecyclerView 2018-02-12 13:38:53 +11:00
Bella Mangunsong
656b286e48
Update README.md 2018-02-07 15:59:28 +11:00
Bella Mangunsong
ae45ead8b2 started the Kotlin ApiDemos project and created menu system 2018-02-06 10:19:34 +11:00
Bella Mangunsong
d6a371a6b9 moved ApiDemos to java/ 2018-02-06 10:19:01 +11:00