https://github.com/schemar/simplest-weather-app
[mirror] An open-source weather application for smart phones
https://github.com/schemar/simplest-weather-app
angular cordova ionic
Last synced: 2 months ago
JSON representation
[mirror] An open-source weather application for smart phones
- Host: GitHub
- URL: https://github.com/schemar/simplest-weather-app
- Owner: schemar
- License: apache-2.0
- Created: 2017-10-06T18:06:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-28T18:45:10.000Z (over 8 years ago)
- Last Synced: 2025-10-11T07:14:15.451Z (8 months ago)
- Topics: angular, cordova, ionic
- Language: TypeScript
- Homepage: https://bitbucket.org/schemar/simplest-weather-app
- Size: 48.3 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Simplest Weather App
A simple weather application for android.

[](https://play.google.com/store/apps/details?id=me.martinschenck.weather)
## Issue Tracker
The issue tracker is available at the main repository:
https://bitbucket.org/schemar/simplest-weather-app
Please also create your pull requests there.
## Running with Ionic CLI
### Prerequisites
- nodejs
- npm
- Android Studio to manage SDKs, AVDs, etc.
Use Android Studio to install an appropriate SDK and virtual device.
### Set-up
```bash
$ sudo npm install -g ionic cordova
$ npm install
```
### Running
#### Browser
To access the application in a browser:
```bash
$ ionic serve
```
#### Android
To build or emulate the android version:
```bash
$ ionic cordova build android
$ ionic cordova emulate android
```
To build a "prod" version:
```bash
$ ionic cordova build android --prod
```
Releases:
```bash
$ ionic cordova build android --prod --release
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore
$ zipalign 4
```
If you need to create a keystore:
```bash
$ keytool -genkey -v -keystore .jks -keyalg RSA -keysize 2048 -validity 10000 -alias
```
### Troubleshooting
#### Arch linux
- libGL errors
- Problem: Android comes with its own libstdc++ that does not work.
- Solution: `sudo mv /opt/android-sdk/emulator/lib64/libstdc++{,_backup}`
- Explanation: Renaming the directory forces the emulator to use the version that is installed system-wide.
#### Windows
- zipalign is not recognized as an executable
- Problem: When you want to use zipalign in the PowerShell, it returns an error that it does not know what zipalign is.
- Solution: Use `C:\Users\\AppData\Local\Android\sdk\build-tools\\zipalign.exe`
- Explanation: Tell windows where your zipalign is located. It may be in a different location depending on where you installed Android.