I created this 5x1 widget with Zooper to pull the previous, current, and next game info from ESPN for any NHL hockey team. All icons are owned by the respective teams or the NHL.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
REQUIREMENTS:
- Zooper Pro (to load template and create OnTap action)
- Tasker or the specified NHL Schedule <Team> apk below
Tasker Vs APK
Can set the widget to auto-update every X hrs // Must click the widget every time you want to update the data
Can change anything else you want in the task quickly (colors, messages, team, etc) // Can only change to a few alternate team colors in Zooper
Useful for a ton of other projects // App taking up space in your drawer for this one widget
$2.99 // Free
GUIDE:
1A) Tasker Task
- Move to your phone: View attachment NHL_Schedule_for_Zooper_Pro.tsk.xml
- In Tasker, go to Tasks, click on the Tasks tab again, choose Import, and select the task file from wherever you placed it.
- Open the task
- Change the MyTeam variable (Action #1) to whichever team you'd like the widget to display. Numbers follow the format at http://m.espn.com/nhl/clubhouse?teamId=NUMBER
Anaheim Ducks = 25
Arizona Coyotes = 24
Boston Bruins = 1
Buffalo Sabres = 2
Calgary Flames = 3
Carolina Hurricanes = 7
Chicago Blackhawks = 4
Colorado Avalanche = 17
Columbus Blue Jackets = 29
Dallas Stars = 9
Detroit Red Wings = 5
Edmonton Oilers = 6
Florida Panthers = 26
Los Angeles Kings = 8
Minnesota Wild = 30
Montreal Canadiens = 10
Nashville Predators = 27
New Jersey Devils = 11
New York Islanders = 12
New York Rangers = 13
Ottawa Senators = 14
Philadelphia Flyers = 15
Pittsburgh Penguins = 16
San Jose Sharks = 19
St. Louis Blues = 18
Tampa Bay Lightning = 20
Toronto Maple Leafs = 21
Vancouver Canucks = 22
Vegas Golden Knights = 36 (Not currently working for game information, obviously)
Washington Capitals = 23
Winnipeg Jets = 28
OR
1B) APK
- Move to your phone and install: View attachment NHL_Schedule_for_Zooper_Pro.RedWings.apk
2) Zooper Widget Template
- Unzip and place the .zw file on your phone at /sdcard/ZooperWidget/Templates/: View attachment 4046622
- Press and hold on your home screen, select a 5x1 Zooper widget
- Tap on the empty widget, select SD Card, and choose the NHL Schedule template
- Click "Widget OnTap Action"
- If using Tasker, swipe over to Shortcuts, scroll down to Task Shortcut, and then choose NHL Schedule for Zooper. Press the back button when the task comes up.
- If using the apk, swipe over to App List and choose NHL Schedule for Zooper.
Optional) Team Colors
If you're unhappy with the widget colors, all teams have 2 alternate colors that can be changed in Zooper, or you have the ability to change them to any color in Tasker.
Zooper: In the Advanced Parameters on DateBar, TeamBar, and ResultBar, change #TMyTeamColor1# or #TMyTeamColor2# to 3 or 4. Also, the two numbers before the # (c3 or cd) are the transparency values (between 00 and ff)
Tasker: The bottom loop of Tasker is "TEAM COLORS," where the hex values can be changed. Transparency is still handled in Zooper.
Related
As stated in the subject, I'd like to implement in my project that little auto-dismissing text popup that sometimes appears when applying an action in certain apps.
It's a simple floating text with a dark rectangle as background positioned in the bottom part of the app that remains between activities/application switches and goes away automatically after X seconds.
Does anybody know how it's called?
It was called Toast.
You can easily custom a toast to have a interface like whatever you want, look Titanium Backup for example.
Default usage like below:
Code:
Toast.makeText(mContext, "Hello", Toast.LENGTH_LONG).show();
As a side note, the App-Msg(Crouton) library provides a good alternative to toasts : in that it is context-centric, the message will only be displayed on the activity/fragment it was generated from, whereas if the user quits your app while a toast is displayed, for example, the toast will be displayed on his launcher or on he app he switched to, which could be confusing.
Its usage is also very simple :
Code:
AppMsg.makeText(/*Activity*/, /*CharSequence*/, /*AppMsg.Style*/).show();
Maybe this library can be helpful on my app. I have a custom toast, which still displayed after I choose to leave the activity via a button. So with this library the toast dissapear when the activity goes to background? And also can customize the look of toast?
dancer_69 said:
Maybe this library can be helpful on my app. I have a custom toast, which still displayed after I choose to leave the activity via a button. So with this library the toast dissapear when the activity goes to background? And also can customize the look of toast?
Click to expand...
Click to collapse
Yeah exactly.
And yes, you can modify the appearance of the toast to a certain extent (background color, gravity and display length afaik) using the static methods already setup in the library, but nothing prevents you from forking the library and modifying it to suit your needs.
You can also choose to have a toast which will only be dismissed when the user clicks it.
There are 3 types of preset styles for the croutons (from left to right in the image below) :
AppMsg.STYLE_ALERT (red) AppMsg.STYLE_CONFIRM (yellow) AppMsg.STYLE_INFO (green)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But you can create your own using something like this :
Changing length & color :
Code:
AppMsg.Style style = new AppMsg.Style(AppMsg.LENGTH_SHORT, R.color.holo_blue); [COLOR="SeaGreen"]// the default length is [I]AppMsg.LENGTH_LONG[/COLOR][/I]
colors.xml :
Code:
<resources>
<color name="holo_blue">#33B5E5</color>
</resources>
Changing gravity :
Code:
appMsg.setLayoutGravity(Gravity.BOTTOM); [COLOR="SeaGreen"] // the crouton is displayed at the top by default[/COLOR]
Result in the thumbnail
Thanks to Evgeny Shishkin for his work on this library by the way.
Hello, I made a new step in creating a widget, try my Life Widget.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
► Instructions
▼ Download
- Zooper
- Nova launcher
- Media utility
- popup widget
► Set
► Nova launcher
- Open and set the desktop grid (9x8) and enable hide notification bar, dock and disable margin, shadow
► Popup widget
- Open app and Create new, first set name (Notifications), slide down and input positions
- Notifiaction 597
- Weather 777
- Music 975
- Social 1210
- Favorite 1409
► Zooper
- Add (1,2,3) widget to screen, tap on the (weather icons) popup empty widget, tap here and select on tap action, swipe to (shortcut), select widget.
► Music Utility
- Simple install app
► Download here
- https://www.dropbox.com/sh/zy9uld7m0gjj0p6/NOy36R4oRg
Nice man
Sent from a NEXUS 5
Hi!
How can I swipe from a Zooper widget/panel to another?
Thanks.
grad job. simple, clean nice
Looks great!
Looks great! Exactly what I need. I am having a little trouble installing though. I have purchased everything I need, but get stuck on the Popup Widget section.
When I open Popup Widget to:
"Open app and Create new, first set name (Notifications), slide down and input positions
• Notifiaction 597
• Weather 777
• Music 975
• Social 1210
• Favorite 1409"
When I open and create new it asks me to select a widget. Which widget do I select?
RDHENDLE
Nice work mate!
Sent from my Lenovo P780 using XDA Free mobile app
The file has been moved or deleted
Stylish design - clock / weather widget with app-start capability (Tap-to-Launch)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- 15 skins for different display resolutions included. For high resolution smartphones, it's best to use ChromeRingsThickversion (eg FullHD), for HD-Ready displays take the version ChromeRingMedium and low resolution devices take at least ChromeRingsThin
- Showing time, date, weather, wind, location and battery Information
- I recommend to set scaling in Zooper Widget Pro to a value between 125 to 130
- It can launch 9 different apps or activities. Choose "Layout" in Zooper Widget Pro from the menu, and set for the elements - AppStart oben/unten/Mitte/links/rechts - under setting "Module OnTap" the appropriate app / activity. The grid corresponds to the full width of the widget with 3 rows and 3 columns per line. Standard settings are to call the battery info in the top right area and the configuration menu of Zooper Widget Pro in the upper left area
Zooper widget PRO is required * Full version of this template at Google Play
http://tinyurl.com/ChromeRings
Fully working Preview has less Weather-Information, Standard-Font, Standard Weather-Icons and no Tap-to-Launch-Feature.
How to:
- Add a new widget to the Launcher
- Select zooper widget (4x2 is best)
- Select the widget in Zooper Widget Pro
- All settings can be changed, 9 different Apps / activities can be assigned (but changes of settings can not be stored on SD-Card)
- more variants of the widget will come soon
New: now Android 5.0 Lollipop compatible...
Stylish design - clock / weather widget with app-start capability (Tap-to-Launch)
New Preview available (without new items, but some finetunings)...
Changes of full version:
1.1
- new templates with items for "todays mobile data" and "mobile connection mode"
- some finetuning of shadows, positions, sizes
New: now Android 5.0 Lollipop compatible...
New designs for Zooper ChromeRings - clock / weather widget with app-start capability (Tap-to-Launch)
Stylish design - clock / weather widget with app-start capability (Tap-to-Launch)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- 12 skins for different display resolutions included. For high resolution smartphones, it's best to use DoubleRings or DoubleSquare (eg FullHD), for lower resolution devices take at least DoubleRingsThin (or DoubleSquareThin)
- Showing time, date, weather, wind, location and battery Information, also today mobile data and mobile data connection mode
- I recommend to set scaling in Zooper Widget Pro to a value between 110 to 120
- It can launch 9 different apps or activities. Choose "Layout" in Zooper Widget Pro from the menu, and set for the elements - AppStart oben/unten/Mitte/links/rechts - under setting "Module OnTap" the appropriate app / activity. The grid corresponds to the full width of the widget with 3 rows and 3 columns per line. Standard settings are to call the battery info in the top right area and the configuration menu of Zooper Widget Pro in the upper left area
Zooper widget PRO is required * Full version of this template at Google Play
http://tinyurl.com/ChromeDoubles
Fully working Preview has Standard-Font, Standard Weather-Icons and no Tap-to-Launch-Feature.
How to:
- Add a new widget to the Launcher
- Select zooper widget (4x2 is best)
- Select the widget in Zooper Widget Pro
- All settings can be changed, 9 different Apps / activities can be assigned (but changes of settings can not be stored on SD-Card)
- more variants of the widget will come soon
New: now Android 5.0 Lollipop compatible...
Zooper Widget ChromeDoubles
- 4 new templates with Accu-Symbol while charging, new Date-Design and Time of last Weather-Refresh
Stylish Clock / Weather Widget with Tap-to-Launch (predefined, configurable areas to start 9 Apps / Activities)
Free and fully working Preview available, Full version supports more Skins / Fonts / Weather-Icons and Tap-to-Launch...
Info
http://forum.xda-developers.com/themer/zooper-templates/zooper-widget-chromedoubles-t2922925
Full version: http://tinyurl.com/ChromeDoubles
New: now Android 5.0 Lollipop compatible...
Version 1.3
- NEW: ChromeDoubles6 (and ChromeDoublesThin6) also now support 3 more infos (see pictures above). In the right circle, a 3-day forecast and information on solar and lunar / moonset are displayed . The left circle can be changed to display the next alarm and the next appointment.
- NEW: Color Picker, now the background color of the two rings can be easily and quickly changed and also stored.
- ChromDoubles6 (and ChromeDoublesThin6) require the installation of ZW-Utilities (https://play.google.com/store/apps/details?id=de.thinkkwer.zwutilities&hl=de) to function. When you first load the new widgets all the information is above the other, for first time you have to click positions 2,4,5 repeatedly (see pictures above).
Only for ChromeDoubles6 (and ChromeDoublesThin6):
- Tap Position 1 to show Color-Picker, you have to enable your own Color-Settings first with a Tap on Position 3
- Tap Position 2 to toggle left Ring between Default and Alarm/Appontmentinformation
- Tap Position 3 to toggle between Default-Color or using your own Color-Picker-Settings
- Tap Position 4 to toggle right Ring between Default and Sun/Moonphase Infos
- Tap Position 5 to toggle right Ring between Default and 3-Days-Forecast
- Position 6 could be used by your own for example to set an external Weather-App with more detailed Infos. (Use "Module OnTap" from item "AppStart extWeather" for it
- You can still use all other 9 areas to configure and start our own Apps/Shortcuts (use "Module OnTap" of items "AppStart xxx" for it)
Info
http://forum.xda-developers.com/themer/zooper-templates/zooper-widget-chromedoubles-t2922925
Full version: http://tinyurl.com/ChromeDoubles
Looks Awesome.
Sent from my Lenovo P780 using XDA Free mobile app
deleted ...
Made a free version named SimpleClock, only watchface with 3 ColorPickers for Ring/Background/Text-Color. You will find 3 different watchfaces and one version with weather information here attached:
The new version SimpleClockWeather uses a beautiful weather iconset from Kelly Kretcheck
SimpleClockWeather2 is modern, SimpleClockWeather3 is classic silver, SimpleClockWeather4 is classic gold, SimpleClockWeather5 is modern black, SimpleClockWeather6 is the other black design...
(You will have to use color pickers for adapting Ring-/Background-/Text-Colors, for "Gold" use for example RING_COLOR = #ffffddad, WATCH_COLOR = #ffffddad)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HowTo:
* For Color-Pickers App ZW Utilities is required * Here you will find the free full version.:
https://play.google.com/store/apps/details?id=de.thinkkwer.zwutilities&hl=de
!!! You have to install ZW Utilities and start the APP once. Next hit the "+" in upper left corner and type "Ring_Color" as new variable name and store it with clicking "Add". Again hit the "+" in upper left corner and type "Back_Color" as new variable name and store it with clicking "Add". Again hit the "+" in upper left corner and type "Watch_Color" as new variable name and store it with clicking "Add". Now you can close the app and wont have to do it again. If you dont add these variables in correct spelling, Color Pickers wont work !!!
- Tap on upper area of clock ring to show Color-Picker for Background Color
- Tap on bottom area of clock ring to show Color-Picker for Ring Color
- Tap on Date in Analog Watch to show Color-Picker for Watch-Color
You can choose 4*4 or 2*2 ZooperWidget-Size. You will have to modify the value of "Outline" of Item "Ring links" depending on your screen resolution, until Ring is looking sharp and colorized correctly. You also should use "scaling" of ZooperWidgetPro for desired size!
It would be very nice, if someone who loads the widget for free (over 300 people until now, counter just shows downloads of new zip-file, older files had much more downloads) would just give a "thanks" for it. Many thanks!
Full versions:
http://tinyurl.com/ChromeRingsColor
http://tinyurl.com/DoubleRingsColor
New watchface version of SimpleClock added...
New SimpleClockWeather
Made a new version with weather informations
The new version SimpleClockWeather uses a beautiful weather iconset from Kelly Kretcheck
New version SimpleClockWeather2
Made another version with weather informations, changed weather IconSet and added current temp ...
The new version SimpleClockWeather2 uses a beautiful weather iconset from Kelly Kretcheck
The new version SimpleClockWeather uses a beautiful weather iconset from Kelly Kretcheck
SimpleClockWeather3 is classic silver, SimpleClockWeather4 is classic gold...
(You will have to use color pickers for adapting Ring-/Background-/Text-Colors, for "Gold" use for example RING_COLOR = #ffffddad, WATCH_COLOR = #ffffddad)
For friends of dark watchfaces I tried some versions with a gray/black watchface...
SimpleClockWeather5 is modern black, SimpleClockWeather6 the other one...
You will find all downloads in OP...
A real beautiful work! Looks fantastic! Congratulation!