Go Back   Android Forums > Android Phones > HTC Hero (Sprint)

test: Reply
 
LinkBack Thread Tools
Old March 16th, 2010, 05:52 PM   #1 (permalink)
Member
Thread Author (OP)
 
Xandria's Avatar
 
Join Date: Mar 2010
Location: Portland area
Posts: 154
 
Device(s): HTC Hero/Sprint/stock 2.1
Carrier: Not Provided

Thanks: 28
Thanked 7 Times in 4 Posts
Default Apps vs. Widgets - What is the difference?

Sticking my neck out and asking a question that might see obvious, but, what is the difference between an App and a Widget? I assume the function differently or they wouldn't have different names. Yet, when I look at the stuff I have on my screens, they look the same.

Someone told me to get rid of my Widgets to reduce lag. (I plan to keep my widgets because I only have 4, I think, three toggles and one weather.) But, why would Widgets create lag and Apps don't?

Advertisements
__________________


Forget prince charming, give me a bad boy covered in tattoos!
Xandria is offline  
Reply With Quote
sponsored links
Old March 16th, 2010, 06:06 PM   #2 (permalink)
Member
 
NovaFox238's Avatar
 
Join Date: Dec 2009
Posts: 113
 
Device(s): Sprint HTC EVO 4G
Carrier: Not Provided

Thanks: 2
Thanked 38 Times in 16 Posts
Default

Apps are, well. Applications which are opened up by a dedicated "shortcut" so-to-say. Widgets, are well, still applications, but have a special functionality which enables you to place a "part" of the application on one of your home screens, which can update periodically, without having to enter into the application its self, which can save time. Certain widgets can cause lag due to constant updating, for the most part. Not sure if my describing was enough to clarify that, but I sure tried! LOL ^_^
__________________
~HTC EVO 4G - Full-Root (Toast)~
~Running Fresh v0.5.3~
--------------------------------------------------
Keep up to date with the newest ROM releases!
Follow me on Twitter @eVoRomBlog
NovaFox238 is offline  
Reply With Quote
The Following 3 Users Say Thank You to NovaFox238 For This Useful Post:
marctronixx (March 16th, 2010), wfrobert (September 18th, 2013), Xandria (March 17th, 2010)
Old March 16th, 2010, 10:55 PM   #3 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 3 Posts
Default

Easy way to think of it is: Apps are programs that you need to open. Widgets are apps that are basically always running on your home screen.

So if you had a battery App, you would have an icon that you would click and it would show you all the battery info on a new screen. If you had a battery widget, when you are on your hone screen the app is already running on a part of the screen showing you all the info without having to click anything or open a new window.
CandyAppleVr4 is offline  
Reply With Quote
The Following User Says Thank You to CandyAppleVr4 For This Useful Post:
wfrobert (September 18th, 2013)
Old March 16th, 2010, 11:15 PM   #4 (permalink)
Senior Member
 
Join Date: Jan 2010
Posts: 9,879
 
Device(s):
Carrier: Not Provided

Thanks: 1,741
Thanked 1,980 Times in 1,536 Posts
Default

ok.. let me see..

App = icons that are just dumb links to start the programs.

Widget = icons that can link to programs.... but the are icons that can be interactive.. example the weather widget.. It can show you information or do some action when you touch it (ie.. toggle on / off Bluetooth).

so.. a widget that updates often or have some action will of course use cpu and resources... which use your battery.

If I am wrong.. someone can correct me...
Hope i helped!

dan330 is online now  
Last edited by dan330; March 16th, 2010 at 11:19 PM.
Reply With Quote
The Following 2 Users Say Thank You to dan330 For This Useful Post:
wfrobert (September 18th, 2013), Xandria (March 17th, 2010)
Old March 16th, 2010, 11:55 PM   #5 (permalink)
Under paid Sasquatch!
 
SamuraiBigEd's Avatar
 
Join Date: Nov 2009
Location: San Antonio, Texas
Posts: 4,115
 
Device(s): HTC One Max, waiting for root! Asus Transformer 16GB
Carrier: Not Provided

Thanks: 3,074
Thanked 1,999 Times in 1,054 Posts
Default

Widgets are short Apps!
SamuraiBigEd is offline  
Reply With Quote
Old March 17th, 2010, 09:51 AM   #6 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 79
 
Device(s):
Carrier: Not Provided

Thanks: 4
Thanked 14 Times in 9 Posts
Default

Quote:
Originally Posted by dan330 View Post
ok.. let me see..

App = icons that are just dumb links to start the programs.

Widget = icons that can link to programs.... but the are icons that can be interactive.. example the weather widget.. It can show you information or do some action when you touch it (ie.. toggle on / off Bluetooth).

so.. a widget that updates often or have some action will of course use cpu and resources... which use your battery.

If I am wrong.. someone can correct me...
Hope i helped!

Sounds about right. The widgets actually do not need to be touched to show you the information i.e. weather. Your weather widget should update periodically and display up to date information. You can, however tap the widget to fully open that particular appliction. Do widgets cause lag and eat battery?? I suppose they do, but the best thing to do is to set the update frequency for your widgets to be as long as you can tolerate (every 2 hours for example, you don't really need weather updates every 15 minutes, right?). This way your weather widget would only be using cpu and battery once every 2 hours instead of once every 15 minutes thus reducing the cpu and battery demand. Hope that made sense!!
peck1524 is offline  
Reply With Quote
The Following User Says Thank You to peck1524 For This Useful Post:
Xandria (March 17th, 2010)
Old March 17th, 2010, 09:11 PM   #7 (permalink)
Member
Thread Author (OP)
 
Xandria's Avatar
 
Join Date: Mar 2010
Location: Portland area
Posts: 154
 
Device(s): HTC Hero/Sprint/stock 2.1
Carrier: Not Provided

Thanks: 28
Thanked 7 Times in 4 Posts
Default

Thank you!! Very helpful.
Xandria is offline  
Reply With Quote
Old September 18th, 2011, 12:34 AM   #8 (permalink)
New Member
 
Join Date: Sep 2011
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

wondering if i wish to create a clock app/widget,

for example,

when i tap the the icon, it will just out the app's name(which is clock in this case)

and when i lifted up my finger, it will say the current time.(for eg, 1pm)

how do i achieve this feature? can it be done using creating widget or an app icon?
-star is offline  
Reply With Quote
Old November 14th, 2012, 03:42 PM   #9 (permalink)
Junior Member
 
Join Date: Sep 2011
Location: Not where I would prefer
Posts: 43
 
Device(s): HTC Evo 4g running Froyo - rooted with UnrEVOked 3 with Clockworkmod Recovery
Carrier: Not Provided

Thanks: 10
Thanked 1 Time in 1 Post
Send a message via ICQ to mjtaryan
Default

Another way of looking at this may be more technical, but may help clarify things.

All the above is true. This explanation merely goes a little deeper.

Widgets and apps are programs. Most of the widgets I have are part of a larger program (app). The widget part is always running sort of in the background, doing whatever it does. This type of activity is usually what is called a "servvice."

Apps can have more than one part. A part that starts and becomes visible when you tap an icon are called (in Android) "Activities." But the app may also have another part that is a "Service." For example, the typical or standard weather display on HTC phones is an app that has both "Activities" and a "Service." The Service part refreshes every so often, downloading current weather condtions and temperatures. I have mine set to refresh once every hour. This Service, then, is the widget portion of the Weather app that runs in the backgroun without your needing to tell it run. When you tap on the weather app and it opens to its own screen and shows additional information, this is the "Activites" portion of the app and does not run in the background.

Other apps may be called widgets, but are really very small apps. For example, one of these is a "widget" that does one of two things, but only when it is told do so. This app is a toggle switch that turns my mobile data network on or off. It does run in the background for the purpse of performing its function without having to load each time the icon is tapped. It does not, however, update periodically.

Therefore, one can say that a widget's main activity is in the background and behind the scenes without need of user activation. The main activity of an app, on the other hand, is in the foreground (visiblee to the user and the user can interact with it) and that activity must be activated either by the user or by a calling application.
mjtaryan is offline  
Reply With Quote
The Following User Says Thank You to mjtaryan For This Useful Post:
MSUbully (March 13th, 2013)
Old March 13th, 2013, 08:15 PM   #10 (permalink)
New Member
 
Join Date: Sep 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank you mjtaryan. A good explanation that even a novice can understand.
MSUbully is offline  
Last edited by MSUbully; March 13th, 2013 at 08:17 PM. Reason: clarification
Reply With Quote
sponsored links
Old September 18th, 2013, 12:14 PM   #11 (permalink)
New Member
 
wfrobert's Avatar
 
Join Date: Sep 2013
Location: Winnipeg, Manitoba, Canada
Gender: Male
Posts: 1
 
Device(s): Acer A700 Tablet
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Thank you
wfrobert is offline  
Last edited by wfrobert; September 18th, 2013 at 12:18 PM. Reason: read posts and understand now.
Reply With Quote
Reply

Sprint HTC Hero
Current Rating:
Rate this Phone:

The Sprint HTC Hero was announced on September 3rd, 2009, making Sprint the 2nd American mobile carrier to offer a phone based on Google's Android operating system. While HTC had already launched the Hero, making it available on European carrie... Read More



Go Back   Android Forums > Android Phones > HTC Hero (Sprint)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:32 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.