GeoclueShare
GeoclueShare is an Android application that lets you share your Android GPS location with a GNOME Desktop located on the same WiFi network. You can disable or enable location sharing service in GeoclueShare as per your needs.
It has been introduced to GNOME as a GSoC 2015 Project.
You can install it directly from the Google Play Store.
Requirements for development
- Java Development Kit (JDK) 7 or higher.
- Android Studio.
- Android SDK with build tools and support libraries installed.
- Android SDK build tools version 21.1.1 and target API 21 preferred.
- Android device with GPS capabilities and running android version 2.2 or higher (for testing).
Where can I try the application?
You download the app releases from the GitHub repository.
Getting in touch
- Developers:
Development Resources
Git: git clone https://github.com/ankitstarski/GeoclueShare.git
Translation guide
Android translations are fairly simple. Android has a special folder called res located in app/src/main/. This folder contains all the resources used by the application, including the strings. The strings are stored in res/values/strings.xml.
Steps:
Create a folder (if not already existing) named values followed by a hyphen and ISO_639-1 code of the language inside the res folder. For example values-fr if you want to add french translations.
Copying res/values/strings.xml to this folder could be a good way to start.
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="title">My Application</string> <string name="hello_world">Hello World!</string> </resources>
This is what a strings.xml might look like.
Replace the text between <string ...> and </string>. For example <string name="hello_world">Hello World!</string> becomes <string name="hello_world">Bonjour le monde !</string>.
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="title">Mon Application</string> <string name="hello_world">Bonjour le monde !</string> </resources>
This is what res/values-fr/strings.xml for the corresponding res/values/strings.xml might look like.
Additionally if you want to add a language on the basis of country too like English UK or Canadian French, you can create values folder (in first step) as values-<language_code>-<COUNTRY_CODE>. For example values-fr-CA and values-en-GB for Canadian French and English UK respectively. Country codes can be found here