FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[APP] [4.3+] WeaY - text weather broadcasting current conditions over bluetooth

395 posts
Thanks Meter: 293
 
By voriax, Senior Member on 3rd December 2015, 07:30 PM
Post Reply Email Thread
Hi.

IMPORTANT: WeaY updated to 1.7 and 2.x - please update the app in order to get it working with latest Yahoo Changes.

I am tinking about free app which will get weather from free sources and will broadcast data over bluetooth in order to share it to other apps.

Whole concept works via sending broadcast intents with extras and pairing it to other apps.

USER INFO:

WeaY requires two infos.
1) Data Prefix - this one is application specific you fill find it in WeaY or your application / watch face
2) Pairing password (password has to be the same for WeaY and receiving watch face application)

DEVELOPER INFO:
Extras:
prefix is set in app config
pair password is set in config too

"PAIR" -> pairing pass for apps -> String
broadcasted data:
preifx + "_weather_loc" -> String
prefix + "_weather_desc" -> String
prefix + "_weather_short_desc" -> String
prefix + "_weather_temp" -> Float (temp in Kelvins)
prefix + "_weather_sunset" -> Long
prefix + "_weather_sunrise" -> Long

Action for receiver:
"external_data_weather.sent.broadcast"

That's it :)
User can run separate WeaY, free app and get Weather from for example Yahoo.
Then other apps can catch the broadcasted data.
More app can benefit from one source of this data: power savings, network traffic savings and etc...

It's just a concept but looks working for example for Android Wear Watch Faces :)

APK: http://forum.xda-developers.com/devd...t/dl/?id=15488


XDA:DevDB Information
WeaY, App for all devices (see above for details)

Contributors
voriax

Version Information
Status: Testing

Created 2015-12-03
Last Updated 2017-09-26
The Following User Says Thank You to voriax For This Useful Post: [ View ] Gift voriax Ad-Free
 
 
5th December 2015, 06:13 PM |#2  
Senior Member
Flag Avezzano
Thanks Meter: 23
 
More
Where to get the app?
6th December 2015, 09:58 AM |#3  
voriax's Avatar
OP Senior Member
Thanks Meter: 293
 
Donate to Me
More
Quote:
Originally Posted by Maurizio1953

Where to get the app?

Look at the top of the thread, there is DOWNLOADS tab - all files are located in this place
The Following User Says Thank You to voriax For This Useful Post: [ View ] Gift voriax Ad-Free
20th February 2016, 07:02 PM |#4  
Senior Member
Thanks Meter: 18
 
Donate to Me
More
I'm trying to understand what to type to get the sunset to show up on my phone. Can I get some help with this, please? I've been unable to get it to work.

Thanks.
9th March 2016, 07:48 AM |#5  
voriax's Avatar
OP Senior Member
Thanks Meter: 293
 
Donate to Me
More
Quote:
Originally Posted by Iceman248

I'm trying to understand what to type to get the sunset to show up on my phone. Can I get some help with this, please? I've been unable to get it to work.

Thanks.

Hi, this one wouldn't show the sunrise, sunset unfortunately.

but there would be many apps doing that.
including weather widgets, just type: weather sunrise in Play Store search , it should help.

Thanks
15th June 2016, 08:59 PM |#6  
Junior Member
Thanks Meter: 0
 
More
Maybe you could add an ability to request weather from any API? All things to do is give a user to enter the API URL and configure the answer format... Or put this project on GitHub.... I'm searching for the way to see a custom weather source on the watch... The weather services work very different for different parts of the world...
19th June 2016, 04:06 PM |#7  
Senior Member
Thanks Meter: 50
 
More
file deleted !!!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes