denzilferreira / com.aware.plugin.openweather Goto Github PK
View Code? Open in Web Editor NEWThis plugin uses Google Fused Location in low power mode and OpenWeather API to provide the weather conditions where the user is.
This plugin uses Google Fused Location in low power mode and OpenWeather API to provide the weather conditions where the user is.
The plugin crashes every time is trying to query the logging frequency from the client: https://github.com/denzilferreira/com.aware.plugin.openweather/blob/master/openWeather/src/main/java/com/aware/plugin/openweather/Plugin.java#L162
2-07 18:44:33.155 18783-18783/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.aware.plugin.openweather, PID: 18783
java.lang.NumberFormatException: Invalid long: ""
at java.lang.Long.invalidLong(Long.java:124)
at java.lang.Long.parseLong(Long.java:345)
at java.lang.Long.parseLong(Long.java:321)
at com.aware.plugin.openweather.Plugin.onConnected(Plugin.java:162)
at com.google.android.gms.common.internal.zzm.zzq(Unknown Source)
at com.google.android.gms.internal.zzaal.zzo(Unknown Source)
at com.google.android.gms.internal.zzaaj.zzvE(Unknown Source)
at com.google.android.gms.internal.zzaaj.onConnected(Unknown Source)
at com.google.android.gms.internal.zzaan.onConnected(Unknown Source)
at com.google.android.gms.internal.zzzy.onConnected(Unknown Source)
at com.google.android.gms.common.internal.zzl$1.onConnected(Unknown Source)
at com.google.android.gms.common.internal.zzf$zzj.zzwZ(Unknown Source)
at com.google.android.gms.common.internal.zzf$zza.zzc(Unknown Source)
at com.google.android.gms.common.internal.zzf$zza.zzu(Unknown Source)
at com.google.android.gms.common.internal.zzf$zze.zzxa(Unknown Source)
at com.google.android.gms.common.internal.zzf$zzd.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:702)
OpenWeatherMap probably changed API and now it requires API key, which is missing in Aware requests.
OpenWeatherMap returns:
Invalid API key. Please see http://openweathermap.org/faq#error401 for more info.
You probably need to create account for Aware application.
Please let me now when you fix it or if I've done something wrong.
How to use API key
Best regards,
K.B.
According to: http://openweathermap.org/weather-data
API provides also information about rain and snow, which would be really useful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.