woheller69

Results 417 comments of woheller69

Here is a nice solution: https://newbedev.com/negative-sign-in-case-of-zero-in-java

Have a look at my RadarWeather app https://f-droid.org/en/packages/org.woheller69.weather/ I am using Rainviewer API

That is why I asked F-Droid to create a way to inject API keys during build. In this case they would not have to be visible in the code.But they...

If you just want to obfuscate you can put the key base64 encoded in the source and then decode at first start and store as shared preference. I wanted a...

you can encode your keys here https://www.base64encoder.io/ and then store them in your source code. In onCreate you check if the version of the app has changed and then decode...

you could ask OWM to block OneCallAPI for your key. For new free keys they want to do this anyway. OneCallAPI will no longer be free for new users. Future...

maybe use a prebuild command on F-Droid like here here https://gitlab.com/fdroid/fdroiddata/-/blob/a2fe970cf5919b83efec4984c2005267058af593/metadata/net.osmand.plus.yml prebuild: - sed -i -e '/qt.*Compile/d' build.gradle - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"2.0.4\"/g" build.gradle something like echo -n 'bXktc3RyaW5n' |...

> > For new free keys they want to do this anyway. OneCallAPI will no longer be free for new users. > > this is interesting though, it may inadvertently...

that should be possible, but you need a webserver to store the key

unfortunately not. Few days ago OneCallAPI 1.0 was still mentioned on their web site. And it said it is not available with free keys. It seems now they completely removed...