webOS Nation Forums >  webOS apps and software >  webOS development > Dynamic Icons
Dynamic Icons

  Reply
 
LinkBack Thread Tools Display Modes
Old 02/09/2010, 10:02 AM   #1 (permalink)
Member
 
xome1983's Avatar
 
Join Date: Oct 2009
Location: Tacoma, Wa
Posts: 660
Likes Received: 0
Thanks: 36
Thanked 94 Times in 69 Posts
Default Dynamic Icons

This is something that came to mind last night, I admit I did a search but came up with nothing so go ahead and flame me if this has been brought up before. Can an app change it's own icon? For example, say a weather app was able to change it's default icon to one displaying the current temp? I understand it can't update live like an actual widget but what about running in the background and rather than issuing a notification (ala Weather Dashboard) it would just change the icon displayed in the launcher? For example say it has a number of icons built in, all with a certain temperature in the design. It's 65 degrees outside and so the icon displayed says it's 65 degrees. Using the weather app example it would be unrealistic to include a different icon for every temperature but perhaps a system where it rounds the temperature off. I hope I explained that correctly, because I could see this being an alternative to widgets that could be quite useful if it's even possible. Here's a couple of quick mock ups (Emphasis on quick). The first one is supposed to represent a generic weather app icon and the second would be with the updated weather info.

I am no developer, if it is possible I have NO idea how to accomplish it but perhaps someone does so that's why I'm throwing it out there.
Attached Images
File Type: png weatherexample.png (50.3 KB, 6 views) Email Attachment
File Type: png weatherexample2.png (49.1 KB, 4 views) Email Attachment
xome1983 is offline   Reply With Quote
Old 02/09/2010, 10:34 AM   #2 (permalink)
Member
 
Veritas06's Avatar
 
Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
Default

This is possible (just take a look at the Calendar or Agenda Application), but instead of it changing once a day, i'm sure there has to be a way to check every x number of minutes. It is above my head to get it set up, but i think it is possible.

Hopefully other devs can come up with an idea, or correct me if it is not possible.
__________________
Fix 'Hidden' SMS Conversations
PreThemer Profile
Hide Amazon MP3 Store
Veritas06 is offline   Reply With Quote
Old 02/09/2010, 11:11 AM   #3 (permalink)
Member
 
shanerooni's Avatar
 
Join Date: Jul 2009
Location: Philly Burbs
Posts: 535
Likes Received: 0
Thanks: 102
Thanked 73 Times in 57 Posts
Default

if you notice when downloading and installing a large game, the app catalog has a status on the icon that updates with the progress of the install. so this can definitely be done in real time. i'm not sure if there's an API to do it that's "legal" yet, but you have a very, very interesting application of this!
__________________
My site: Shanerooni, LLC
Follow me on Twitter
My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
Cubix
shanerooni is offline   Reply With Quote
Old 02/09/2010, 11:20 AM   #4 (permalink)
Member
 
xome1983's Avatar
 
Join Date: Oct 2009
Location: Tacoma, Wa
Posts: 660
Likes Received: 0
Thanks: 36
Thanked 94 Times in 69 Posts
Default

Quote:
Originally Posted by shanerooni View Post
if you notice when downloading and installing a large game, the app catalog has a status on the icon that updates with the progress of the install. so this can definitely be done in real time. i'm not sure if there's an API to do it that's "legal" yet, but you have a very, very interesting application of this!
I always assumed the updating icons weren't really done in real time. I figured they were place card images letting you know that the app was in fact updating and changing and not an actual reflection of the percentage of download completed... of course I could be completely wrong. Either way I think it would accomplish what I had in mind. I used a weather app as an example but I'm sure there are other apps that could benefit from this.
xome1983 is offline   Reply With Quote
Old 02/09/2010, 11:23 AM   #5 (permalink)
Member
 
Veritas06's Avatar
 
Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
Default

Quote:
Originally Posted by xome1983 View Post
I always assumed the updating icons weren't really done in real time. I figured they were place card images letting you know that the app was in fact updating and changing and not an actual reflection of the percentage of download completed... of course I could be completely wrong. Either way I think it would accomplish what I had in mind. I used a weather app as an example but I'm sure there are other apps that could benefit from this.
Exactly. I was thinking about a few of the Toggle Apps available in PreWare. Depending upon if it's on or off the icon could change to show that.
__________________
Fix 'Hidden' SMS Conversations
PreThemer Profile
Hide Amazon MP3 Store
Veritas06 is offline   Reply With Quote
Old 02/09/2010, 11:23 AM   #6 (permalink)
Member
 
Spader's Avatar
 
Join Date: Oct 2009
Location: Arizona, US
Posts: 1,449
Likes Received: 1
Thanks: 144
Thanked 362 Times in 241 Posts
Default

That would be quite nice, especially if placed in the Quick Launch Bar. I used the Calendar in Quick launch for that purpose only before getting the Date As Carrier String Patch.

I'm looking forward to someone making this happen.
__________________
Follow me on teh Twitterz
Spader is offline   Reply With Quote
Old 02/09/2010, 11:30 AM   #7 (permalink)
Member
 
xome1983's Avatar
 
Join Date: Oct 2009
Location: Tacoma, Wa
Posts: 660
Likes Received: 0
Thanks: 36
Thanked 94 Times in 69 Posts
Default

Quote:
Originally Posted by Veritas06 View Post
Exactly. I was thinking about a few of the Toggle Apps available in PreWare. Depending upon if it's on or off the icon could change to show that.
Good idea, I'm hoping some gifted developer will see this and think it's worthy enough to try and figure it out.


Quote:
That would be quite nice, especially if placed in the Quick Launch Bar.
Or even the launcher auto pop up patch.
xome1983 is offline   Reply With Quote
Old 02/09/2010, 11:49 AM   #8 (permalink)
Member
 
Join Date: Jun 2009
Location: Florida, Born and Raised in Norman
Posts: 17
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If i remember correctly the "Roaming Toggle" had an app icon and once pressed it displayed "On" in green or switch to "Off" in red once pressed. No card was ever opened though. It was completely in the background.
wiithief is offline   Reply With Quote
Old 02/09/2010, 11:54 AM   #9 (permalink)
Member
 
xome1983's Avatar
 
Join Date: Oct 2009
Location: Tacoma, Wa
Posts: 660
Likes Received: 0
Thanks: 36
Thanked 94 Times in 69 Posts
Default

Quote:
Originally Posted by wiithief View Post
If i remember correctly the "Roaming Toggle" had an app icon and once pressed it displayed "On" in green or switch to "Off" in red once pressed. No card was ever opened though. It was completely in the background.
See it's stuff like this that makes me think it's completely possible it just needs to be put together, of course like I've said before I could be wrong.
xome1983 is offline   Reply With Quote
Old 02/09/2010, 01:20 PM   #10 (permalink)
Member
 
shanerooni's Avatar
 
Join Date: Jul 2009
Location: Philly Burbs
Posts: 535
Likes Received: 0
Thanks: 102
Thanked 73 Times in 57 Posts
Default

icons could even be animated, probably. not sure, but since you can get a progress bar on an app, why could you have an animated icon. might make for some fun launcher icons!
__________________
My site: Shanerooni, LLC
Follow me on Twitter
My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
Cubix
shanerooni is offline   Reply With Quote
Old 02/09/2010, 01:23 PM   #11 (permalink)
Member
 
xome1983's Avatar
 
Join Date: Oct 2009
Location: Tacoma, Wa
Posts: 660
Likes Received: 0
Thanks: 36
Thanked 94 Times in 69 Posts
Default

The more I think about it the more I like it. I'm really hoping someone can get this to work, wouldn't that just shut up all the widget lovers lol
xome1983 is offline   Reply With Quote
Old 02/09/2010, 01:31 PM   #12 (permalink)
Member
 
Join Date: Jul 2009
Posts: 76
Likes Received: 0
Thanks: 25
Thanked 9 Times in 7 Posts
Default

this is exciting stuff, I'm sure there are tons of applications for an idea like this! Someone should look to see how the calender app does it
nodforce is offline   Reply With Quote
Old 02/09/2010, 01:42 PM   #13 (permalink)
Member
 
Join Date: Feb 2008
Posts: 746
Likes Received: 0
Thanks: 26
Thanked 15 Times in 15 Posts
Default

Its already being done.

the weather dashboard app changes the app icon as the weather changes.
OLD_HATCH is offline   Reply With Quote
Old 02/09/2010, 01:50 PM   #14 (permalink)
Member
 
xome1983's Avatar
 
Join Date: Oct 2009
Location: Tacoma, Wa
Posts: 660
Likes Received: 0
Thanks: 36
Thanked 94 Times in 69 Posts
Default

Quote:
Originally Posted by OLD_HATCH View Post
Its already being done.

the weather dashboard app changes the app icon as the weather changes.
I live in the Pacific Northwest and so the weather is pretty much always rainy and admittedly have only used Weather Dashboard lite (Currently I use the Weather Channel App)so I was unaware of this. If that's the case then perhaps it just needs a bit of refinement or even just put into another practical use? This seems like such a no brainer to me that I wonder why no one else has decided to use this functionality, especially with all the cries about how WebOS doesn't do widgets when for all intents and purpose it can.
xome1983 is offline   Reply With Quote
Old 02/09/2010, 01:53 PM   #15 (permalink)
Member
 
Join Date: Feb 2008
Posts: 746
Likes Received: 0
Thanks: 26
Thanked 15 Times in 15 Posts
Default

I'm sorry. Its not the one in the app catalog. I have never used that one.

The one in homebrew is the one that has a changing icon according to the local weather.

Its called weatherNow
OLD_HATCH is offline   Reply With Quote
Old 02/09/2010, 01:58 PM   #16 (permalink)
Member
 
xome1983's Avatar
 
Join Date: Oct 2009
Location: Tacoma, Wa
Posts: 660
Likes Received: 0
Thanks: 36
Thanked 94 Times in 69 Posts
Default

I took a look at Weathernow and I didn't see anything in the description. I'm gonna download it and give it a shot but like I said it's pretty much always gray here so I'm not sure I'd notice it changing even if it does lol. Maybe I'll send the developer an email and see what his thoughts are as far as expanding this. If he got the icon to change based on updated weather info he must have to no how. I'm convinced this could go beyond just weather quite easily.
xome1983 is offline   Reply With Quote
Old 02/09/2010, 02:01 PM   #17 (permalink)
Member
 
Join Date: Feb 2008
Posts: 746
Likes Received: 0
Thanks: 26
Thanked 15 Times in 15 Posts
Default

ok

when you install, dont tap launch.

go into the launcher and you will see its basic icon which is a sun with clock hands on it.

launch it and set whatever preferences you like. after its refreshed, and say it raining in your area if you go through the launcher the icon will now be rain clouds instead of the sun with clock hands on it.
OLD_HATCH is offline   Reply With Quote
Old 02/09/2010, 02:07 PM   #18 (permalink)
Member
 
xome1983's Avatar
 
Join Date: Oct 2009
Location: Tacoma, Wa
Posts: 660
Likes Received: 0
Thanks: 36
Thanked 94 Times in 69 Posts
Default

That's pretty much exactly what I had in mind, thanks for pointing that out. Now, to figure out where to go from here. I have some ideas in my head but like I've said before I am not a developer so maybe what I really need is someone more knowledgeable then myself to explain the practical restrictions of doing something like this. If it's just as simple as setting the program to check for updates and switch the icon accordingly that seems simple enough.
xome1983 is offline   Reply With Quote
Old 02/09/2010, 02:14 PM   #19 (permalink)
Member
 
shanerooni's Avatar
 
Join Date: Jul 2009
Location: Philly Burbs
Posts: 535
Likes Received: 0
Thanks: 102
Thanked 73 Times in 57 Posts
Default

what's the name of the application you all are talking about that updates the icon?
__________________
My site: Shanerooni, LLC
Follow me on Twitter
My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
Cubix
shanerooni is offline   Reply With Quote
Old 02/09/2010, 02:17 PM   #20 (permalink)
Member
 
Join Date: Feb 2008
Posts: 746
Likes Received: 0
Thanks: 26
Thanked 15 Times in 15 Posts
Default

Quote:
Originally Posted by OLD_HATCH View Post

Its called weatherNow

OLD_HATCH is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0