DEV Community

Luke
Luke

Posted on

PARC app basic app

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass

What I Built

I started Android mobile app for PARC (https://parc-community.com/). This is used by amateur radio people going out to parks and contacting other hams.

Demo

TBD

Code

https://github.com/programmin1/SimplePARC

How I Built It

I used Gemma 4 to start using local GPU and request...

"Build standard Java Android app with a map of PARC parks nearby for offline use.
API documented:
Download the full list / interact programmatically: PARC Community has a developer API (JSON) that lets you pull the complete park database and keep it in sync:

codeblock
GET /api/public-api/v1/parks — full list (POTA/WWFF/SOTA/ZLOTA/PARC references, names, coordinates, country/region)
GET /api/public-api/v1/parks/updates — only what changed since a given date (ideal to keep a local copy fresh)
GET /api/public-api/v1/parks/{reference} — a single park
GET /api/public-api/v1/spots — the live spots feed
GET /api/public-api/v1/stats — global stats
/parks/updates endpoint was built exactly for that kind of use — download once, then sync deltas —"

Then I fixed a build issue removing some junk from gradle-wrapper.properties:

zipStoreBase=https://services.gradle.org/distributions/gradle-7.6
zipStorePath=~/gradle-distributed/\$GRADLE_VERSION

and removed

android.defaults.buildfeatures.buildconfig=true
added
android.useAndroidX=true

so gradle upgrades could run, set latest Android api works.

After fixing several Java errors I got as far as an error:
Caused by: java.lang.IllegalStateException: API key not found. Check that is in the...

Apparently, this default Google map needs a key which requires payment set up... And I think Mapbox is probably preferable to the current set up. I need to get the right X-API-Key to continue this as well...

Why Does Open Innovation Matter?

Ability to download model and run it locally means one can run all the LM Studio tools and Gemma 4 locally.

My Agent Session

See above. I had to fix several build issues myself. With the auto correct in Android Studio or Google/SO.

Prize Categories

Built with Gemma.

Top comments (0)