How to add a weather provider in LOS 15?

Search This thread

yahya69

Senior Member
Feb 5, 2013
142
15
Berlin
In LOS 15, the whether providers from https://download.lineageos.org/extras no longer work. The widget settings for cLock crash immediately when I start them, the syslog indicates that something is simply missing. Instead, under Apps/Default Apps there is now an empty section "weather" where you are instructed to install a whether provider from your app store, but the search for "lineageosweatherprovider" returns no results, neither at google play nor f-droid, and those from https://download.lineageos.org/extras don't work either.

Is this work in progress? LOS 15 has been out for a while.
 

kurtn

Senior Member
Jan 28, 2017
3,899
1,672
Small town in Bavaria
In LOS 15, the whether providers from https://download.lineageos.org/extras no longer work. The widget settings for cLock crash immediately when I start them, the syslog indicates that something is simply missing. Instead, under Apps/Default Apps there is now an empty section "weather" where you are instructed to install a whether provider from your app store, but the search for "lineageosweatherprovider" returns no results, neither at google play nor f-droid, and those from https://download.lineageos.org/extras don't work either.

Is this work in progress? LOS 15 has been out for a while.
Yes, it's wip and there are unofficial provider apps in bullhead thread. Don't expect they must work on other devices.
 
  • Like
Reactions: Tobias B. Besemer

Ibuprophen

Senior Member
Sep 4, 2012
9,545
6,494
Upstate New York
In LOS 15, the whether providers from https://download.lineageos.org/extras no longer work...
Yes, it's wip and there are unofficial provider apps in bullhead thread. Don't expect they must work on other devices.
One of the Official Lineage Developers had put together some Unofficial LineageOS Weather Provider Apps for Oreo and provided it on the following link until the Official ones are released.

https://androidfilehost.com/?w=files&flid=243785

I can't state for certain that they work since I'm not currently using the LineageOS 15.1 firmware but, I haven't seen anyone stating otherwise.

Good Luck!


~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
 

yahya69

Senior Member
Feb 5, 2013
142
15
Berlin
Thanks! Those install. But I wonder what I have to do to get the weather forecast actually show up somewhere.

The cLock widget settings no longer work. cLock crashes immediately when I try to open the widget settings (see below), so what is the weather provider supposed to actually do for me?


04-28 09:05:57.951 1040 15401 I ActivityManager: START u0 {cmp=org.lineageos.lockclock/.preference.Preferences} from uid 10053
04-28 09:05:57.957 17271 17271 E AndroidRuntime: FATAL EXCEPTION: main
04-28 09:05:57.957 17271 17271 E AndroidRuntime: Process: com.android.deskclock, PID: 17271
04-28 09:05:57.957 17271 17271 E AndroidRuntime: android.content.ActivityNotFoundException: Unable to find explicit activity class {org.lineageos.lockclock/org.lineageos.lockclock.preference.Preferences}; have you declared this activity in your AndroidManifest.xml?
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1933)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1616)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:4487)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v4.app.BaseFragmentActivityApi16.startActivityForResult(BaseFragmentActivityApi16.java:54)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v4.app.FragmentActivity.startActivityForResult(Unknown Source:0)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:4445)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:725)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.app.Activity.startActivity(Activity.java:4806)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.app.Activity.startActivity(Activity.java:4774)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at com.android.deskclock.actionbarmenu.WidgetMenuItemController.onOptionsItemSelected(WidgetMenuItemController.java:70)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at com.android.deskclock.actionbarmenu.OptionsMenuManager.onOptionsItemSelected(OptionsMenuManager.java:80)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at com.android.deskclock.DeskClock.onOptionsItemSelected(DeskClock.java:389)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.app.Activity.onMenuItemSelected(Activity.java:3450)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:373)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:195)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:108)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:108)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:63)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:202)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:780)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:822)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:171)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:973)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.view.menu.MenuPopup.onItemClick(MenuPopup.java:127)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.widget.AdapterView.performItemClick(AdapterView.java:318)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.widget.AbsListView.performItemClick(AbsListView.java:1158)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.widget.AbsListView$PerformClick.run(AbsListView.java:3127)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.widget.AbsListView.onTouchUp(AbsListView.java:4054)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.widget.AbsListView.onTouchEvent(AbsListView.java:3813)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.support.v7.widget.ListViewCompat.onTouchEvent(ListViewCompat.java:124)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.View.dispatchTouchEvent(View.java:11776)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2962)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2643)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.widget.PopupWindow$PopupDecorView.dispatchTouchEvent(PopupWindow.java:2406)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.View.dispatchPointerEvent(View.java:12015)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4795)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4609)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4147)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4200)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4166)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4293)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4174)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4350)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4147)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4200)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4166)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4174)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4147)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6661)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6635)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6596)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6764)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:186)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:325)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.os.Looper.loop(Looper.java:142)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
04-28 09:05:57.957 17271 17271 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
04-28 09:05:57.962 1040 2975 W ActivityManager: Force finishing activity com.android.deskclock/.DeskClock
04-28 09:05:57.974 1040 1104 I ActivityManager: Showing crash dialog for package com.android.deskclock u0
04-28 09:05:58.467 1040 1103 W ActivityManager: Activity pause timeout for ActivityRecord{1d59f40 u0 com.android.deskclock/.DeskClock t3651 f}
 

Ibuprophen

Senior Member
Sep 4, 2012
9,545
6,494
Upstate New York
Thanks! Those install. But I wonder what I have to do to get the weather forecast actually show up somewhere...
I had located a member who had stated that the Unofficial Weather Providers (from the AFH link from my previous post) requires that the Location Permissions needs to be Granted/Allowed first before it will work.


~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
 

m.hut.ig

Member
Dec 12, 2009
11
0
One of the Official Lineage Developers had put together some Unofficial LineageOS Weather Provider Apps for Oreo and provided it on the following link until the Official ones are released.

https://androidfilehost.com/?w=files&flid=243785

I can't state for certain that they work since I'm not currently using the LineageOS 15.1 firmware but, I haven't seen anyone stating otherwise.

Good Luck!


~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

Working on LOS 15.1: lineage-15.1-20180515-nightly-sagit-signed (Mi 6)

Thank you
 

maybeme2

Senior Member
Aug 28, 2015
2,035
534
Open weather won't register, weather underground registers but then tells you it doesn't do free api keys any more. Yahoo installs and works right away
You are correct. Exactly my experience.
I can't find any weather provider that works in 14.1. I gave up and just use cLock widget for time and date. It's a shame.
 

maybeme2

Senior Member
Aug 28, 2015
2,035
534
Official LOS?
GApps?
What location enabled?
This app?
https://mirrorbits.lineageos.org/WeatherProviders/
Official lineageos 14.1 with microG. Tried both with playstore installed and without. No other Gapps.
cLock widget that came with 'lineageos 14.1 with microG'.
Trier with location enabled and without.

Exactly as described. OpenWeather needs api which I provided. No weather appears.
The other no longer provides free api and won't work without.?
 
Last edited:

kurtn

Senior Member
Jan 28, 2017
3,899
1,672
Small town in Bavaria
Official lineageos 14.1 with microG. Tried both with playstore installed and without. No other Gapps.
cLock widget that came with 'lineageos 14.1 with microG'.
Trier with location enabled and without.

Exactly as described. OpenWeather needs api which I provided. No weather appears.
The other no longer provides free api and won't work without.?
What about yahoo?
Just checked my old weather underground api key: still works.
 
Last edited:

Top Liked Posts

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone