VIP Android App Installation Guide
VIP Android App Installation Guide
Customization Guide
Background
Background
Application built for civic
agencies to bring voting
information to the public
Code written to make
deployment easy, without
extensive Android
development experience
Background
https://developers.google.com/civic-information/
Background
Background - API
Background - API
Response includes:
Contest and Referendum
Candidate information
Polling locations
State and local election official contact info
Basic Requirements
Create these
two keys
Setup Dependencies
Java SDK
http://www.oracle.com/technetwork/java/javase/
downloads/jdk7-downloads-1880260.html
Details at:
https://github.com/votinginfoproject/android-white-label-app
Setup Dependencies
Details at:
https://github.com/votinginfoproject/android-white-label-app
Setup Dependencies
GitHub
https://windows.github.com/
Details at:
https://github.com/votinginfoproject/android-white-label-app
Setup Settings
Copy
xmltemplates/api_keys.xml.template
to
app/src/main/res/values/api_keys.xml
Setup Settings
Open the api_keys.xml file
it should look like this
Setup Settings
Get your API keys together and update the api_keys.xml
file. You can also do this with a plain text editor.
Update the Android and Browser keys, and the Analytics
Tracking ID
The official only and test election options can be set here, too
Setup Settings
Copy
xmltemplates/app_tracker.xml.template
to
app/src/main/res/xml/app_tracker.xml
Update the Analytics Tracking ID
Setup Settings
Also, update the Brand Name text with what you want
the app to be called. This text will be at the top of the
home page and can be edited on line 36 of
app/src/main/res/values/strings.xml
Setup Settings
The Google Maps API key requires some information
about your specific build of the project. Detailed
instructions are in the repositorys README file.
Setup Settings
There is also a way to do this in Android Studio from
Build -> Generate Signed APK
Setup Settings
Copy the APK fingerprint you generate and paste it in
the API key in the Google Developer Console
Publish
Thats everything for setup and configuration!
The next step is to package the app and submit it to the
Play Store. Google has lots of documentation on this
process.
http://developer.android.com/distribute/googleplay/
Publish
The publishing process requires completing several steps.
http://developer.android.com/distribute/tools/launch-checklist.html
Publish
Set up a developer account to get started
Publish
The process takes some time to work through, but isnt
particularly difficult.
Many of the issues you may encounter are not new, and
resolutions can likely be found with a quick Google
search.
If additional technical support is needed, contact:
Jen Tolentino at [email protected]
Good luck!