Go Back   Android Forums > Android Phones > HTC Hero



Reply
 
LinkBack Thread Tools
Old August 22nd, 2009, 05:04 AM   #1 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 42
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Exiting Apps

I know this sounds a bit stupid(!) but is there a 'correct' way to exit applications?

If the app doesn't have a specific Exit button, I just click the Home key to get back to the home screen, but when I look in TasKiller, I have quite a few apps still running...

marka87uk is offline  
Reply With Quote
Sponsors
Old August 22nd, 2009, 05:26 AM   #2 (permalink)
Junior Member
 
FADviral's Avatar
 
Join Date: Aug 2009
Location: United Kingdom
Posts: 53
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by marka87uk View Post
I know this sounds a bit stupid(!) but is there a 'correct' way to exit applications?

If the app doesn't have a specific Exit button, I just click the Home key to get back to the home screen, but when I look in TasKiller, I have quite a few apps still running...
The lack of app exit button is a bit weird after using other phones isn't it? I know that after 3/4 years of SymbianOS, I'm still struggling to get my head around it, but I've only had my Hero for four days.

After playing around with the Android API last night, I can confirm that the back (←) button calls finish() in the application (effectively closing it), but I'm not convinced this always occurs. Some applications are designed to stay open when you back (←) your way out of them for example (music apps like Last.fm, Imeem, etc.), while others seem to remember their previous state (like the internet browser). Besides which, it's often more convenient to use the Home button to get out of an application (who wants to back through dozens of previously visited web pages just to close the browser?), and as you indicate, it doesn't always seem to close them.

I wonder if Android leaves the app open for a little while when you hit the home button in case you intend going back to it? ...only to close it if you don't return within a few minutes?
FADviral is offline  
Last edited by FADviral; August 22nd, 2009 at 05:26 AM.
Reply With Quote
Old August 22nd, 2009, 05:49 AM   #3 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 42
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm in the same boat - Previous Symbian user and had my Hero for only a few days! Just wanted to check I hadn't missed anything glaringly obvious really!

It's not a problem really, although I didn't notice some lag starting, which is when I checked TasKiller to discover I had lots of apps including about 4 games open! :/

Thanks for your reply; I guess it's up to an apps' developer to decide how an application exits (or doesn't) then!
marka87uk is offline  
Reply With Quote
Old August 22nd, 2009, 09:17 AM   #4 (permalink)
Junior Member
 
FADviral's Avatar
 
Join Date: Aug 2009
Location: United Kingdom
Posts: 53
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah, I forgot to mention that I've also noticed the lag after opening and "closing" numerous apps. I'm hoping HTC's next lag-busting firmware release will resolve the situation.

Erm, I need to get TasKiller... right now.
FADviral is offline  
Reply With Quote
Old August 22nd, 2009, 09:22 AM   #5 (permalink)
Dem
Member
 
Dem's Avatar
 
Join Date: Aug 2009
Location: London
Posts: 212
 
Device(s): SE Xperia X10, HTC Hero
Thanks: 1
Thanked 5 Times in 4 Posts
Send a message via AIM to Dem
Default

Snap!

Came from Symbian and it is weird not being able to check what's open and close down what you don't need!

Downloading TasKiller right now...............
Dem is offline  
Reply With Quote
Old August 22nd, 2009, 10:30 AM   #6 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 42
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Funny isn't it! Even though Android is obviously designed to have many apps running at once, you would think some kind of task manager would be available out-of-the-box!

As for the possibility of apps closing themselves after a while, I don't think that's the case as I had some apps still open I hadn't used for a few hours.

In TasKiller you can see which apps are consuming CPU resources in yellow, so I presume it's only really these which affect performance.
marka87uk is offline  
Reply With Quote
Old August 22nd, 2009, 10:35 AM   #7 (permalink)
Dem
Member
 
Dem's Avatar
 
Join Date: Aug 2009
Location: London
Posts: 212
 
Device(s): SE Xperia X10, HTC Hero
Thanks: 1
Thanked 5 Times in 4 Posts
Send a message via AIM to Dem
Default

Quote:
Originally Posted by marka87uk View Post
In TasKiller you can see which apps are consuming CPU resources in yellow, so I presume it's only really these which affect performance.
`
Good info - ta!
Dem is offline  
Reply With Quote
Old August 22nd, 2009, 10:42 AM   #8 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 42
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No problem! I just had a quick search to find out more about this and read the following on TasKiller Android App Review by AndroidTapp.com | Android Tapp. Android App Reviews -

"Most people who come to Android from a desktop environment find it a bit odd that you’re not required to shut down applications once you’ve finished using them. This is because Android terminates apps automatically when internal memory is getting low. Until that point they remain resident.

Sometimes though, it’s helpful to force close apps you’re not using to free memory, extend battery life and improve performance."
marka87uk is offline  
Reply With Quote
Old August 22nd, 2009, 11:58 AM   #9 (permalink)
Junior Member
 
FADviral's Avatar
 
Join Date: Aug 2009
Location: United Kingdom
Posts: 53
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the link and info!

While I'm sure it's correct for many apps, for others it's not. As I said above, when you click the back (arrow) button, it triggers the finish() event. Some apps will shutdown when it's triggered, but others override it and remain in memory.

What's more TasKill pretty much confirms this behaviour. Google SkyMap will vanish from TasKill if you close it with the back button, but the Last.fm app does not. There's good reason for the Last.fm app to behave that way though because it constantly monitors the music player, caching and sending listening data to your last.fm account. (You can stop it doing that though by unticking its 'scrobbling' option.)

Unlike the back button, the home button never seems to trigger the finish() event in apps at all.
FADviral is offline  
Last edited by FADviral; August 22nd, 2009 at 11:59 AM.
Reply With Quote
Old August 22nd, 2009, 12:15 PM   #10 (permalink)
Junior Member
 
Join Date: Jun 2009
Posts: 30
 
Device(s):
Thanks: 0
Thanked 2 Times in 1 Post
Default

I'm also an ex Symbian S60 user of 5 years. If you guys hold down the home button you get a task switcher type window which shows the last 6 apps you opened.
i_maq is offline  
Reply With Quote
Sponsors
Old August 22nd, 2009, 12:24 PM   #11 (permalink)
Junior Member
 
Join Date: Aug 2009
Posts: 55
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've read up on programming for Android (not actually got round to doing it yet though!) and as mentioned, apps get killed when memory/resources are needed. There are different parts to applications: there are activities (usually screens you interact with), as well as services which run in the background. (There are not the only types, but will do for now)

The example usually given is an mp3 player - just because you've chosen an album to play, doesn't mean you should have to look at the music player screens whilst the album plays, you might want to browse the web or send a text. So the actual music playing part is handled by a service that can run without being displayed to the user. The music player UI though is an activity that the user interacts with - in the background though, it's using the service to actually play the music.

As for apps remembering their state - someone's already mentioned a finish() call. Basically, apps can be in a number of different active and non-active states, and usually the application is told what state it's being moved into. So if a user presses the home key, the application is told "Hey, you're not going to be active any more" - the application can then decide what to do, for example, write some data somewhere, capture some text the user has typed in a field. Or, ignore it completely!

Hope that makes sense (even though it's probably not 100% accurate )
SFA_AOK is offline  
Last edited by SFA_AOK; August 22nd, 2009 at 12:26 PM.
Reply With Quote
Old August 22nd, 2009, 04:35 PM   #12 (permalink)
Junior Member
 
Join Date: Aug 2009
Posts: 21
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

im a previoius veryyy basic fone user and this forum is so useful! just installe TasKiller and realised i had about 30 apps running!!!
mani5ha is offline  
Reply With Quote
Old August 22nd, 2009, 08:36 PM   #13 (permalink)
Member
 
Join Date: Aug 2009
Location: Cambridge, UK
Posts: 135
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

right, but, as has been noted, it doesn't matter, since they're not actually *running*, they're mostly suspended, not using any resources.
cdmackay is offline  
Reply With Quote
Old August 22nd, 2009, 08:39 PM   #14 (permalink)
Senior Member
 
Join Date: Oct 2008
Posts: 1,013
 
Device(s):
Thanks: 0
Thanked 48 Times in 14 Posts
Default

Quote:
Originally Posted by mani5ha View Post
im a previoius veryyy basic fone user and this forum is so useful! just installe TasKiller and realised i had about 30 apps running!!!
task panel is better, it allows you to add apps to a "Wanted List" and set when Task Panel will auto kill the apps on the wanted list based on available memory. For example, I've noticed that the voice search and voice dialer apps ( I NEVER use them) seem to pop on in the background for some reason, so, they're on the wanted list of apps to auto kill if there's a memory shortage.
punkzanyj is offline  
Reply With Quote
Old August 23rd, 2009, 12:03 AM   #15 (permalink)
Premium Member
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 10,584
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0, Samsung Vibrant
Thanks: 5
Thanked 203 Times in 98 Posts
Default

Quote:
Originally Posted by punkzanyj View Post
task panel is better, it allows you to add apps to a "Wanted List" and set when Task Panel will auto kill the apps on the wanted list based on available memory. For example, I've noticed that the voice search and voice dialer apps ( I NEVER use them) seem to pop on in the background for some reason, so, they're on the wanted list of apps to auto kill if there's a memory shortage.

I did a search in the Market for "Task Panel" & "TaskPanel" no luck ...

Is this a non-Market App ? Please provide a link if you can ... TKX
__________________
Help Us: Submit FAQ's You have answered over and over! Will add them to OUR FAQ LIB. Check out our FAQ's.... Also Check out our Tag Search.

Running 2 G1's & a MT3G(dMd64), Vibrant(rooted) : 1.) Legit G1=1.6 DRC83 // 2.) Rooted G1=CM's 4.2.15.1 (03/08/10), Recovery =RA 1.5.2

Link for --> G1 Dream ROOT GUIDE ///// Link for --> UN-ROOT GUIDE
.
justjimjpc is offline  
Reply With Quote
Old August 23rd, 2009, 05:43 AM   #16 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 42
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Should appear as TaskPanel... I searched for Task and it came up.
marka87uk is offline  
Reply With Quote
Old August 23rd, 2009, 01:41 PM   #17 (permalink)
Premium Member
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 10,584
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0, Samsung Vibrant
Thanks: 5
Thanked 203 Times in 98 Posts
Default

Quote:
Originally Posted by marka87uk View Post
Should appear as TaskPanel... I searched for Task and it came up.
Thanks I was able to finally find it in the market but was not finding it on Cyrket.
justjimjpc is offline  
Reply With Quote
Old October 14th, 2009, 12:09 PM   #18 (permalink)
Member
 
Join Date: Oct 2009
Posts: 382
 
Device(s):
Thanks: 5
Thanked 20 Times in 16 Posts
Default

where can I find taskill? I cannot seem to find it in the app store.Thanks in advance for your help,
rcyphermd is offline  
Reply With Quote
Old October 14th, 2009, 12:42 PM   #19 (permalink)
Member
 
Join Date: Aug 2009
Location: UK
Posts: 157
 
Device(s): HTC Hero
Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by rcyphermd View Post
where can I find taskill? I cannot seem to find it in the app store.Thanks in advance for your help,
It's Taskiller.

or you can use the QR Code from the below link -

Cyrket - TasKiller free

The QR Code is the black/white pattern to the left of the Taskiller logo. However, you'd need an app such as ixMAT Scanner to use it.


Chegs.
cheggerspop is offline  
Reply With Quote
Old October 14th, 2009, 12:55 PM   #20 (permalink)
Junior Member
 
Join Date: Oct 2009
Location: Herndon, VA
Posts: 47
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by cheggerspop View Post
It's Taskiller.

or you can use the QR Code from the below link -

Cyrket - TasKiller free

The QR Code is the black/white pattern to the left of the Taskiller logo. However, you'd need an app such as ixMAT Scanner to use it.


Chegs.
Advanced task killer is better. Allows you to choose wether to close an app on press or recall the app like a task manager which is what I wanted. With taskiller it just kills the app when clicking on it.
QuiQNeZZ is offline  
Reply With Quote
Sponsors
Old October 14th, 2009, 01:42 PM   #21 (permalink)
Member
 
JoeC's Avatar
 
Join Date: Sep 2009
Location: San Diego, CA, USA
Posts: 216
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by punkzanyj View Post
task panel is better, it allows you to add apps to a "Wanted List" and set when Task Panel will auto kill the apps on the wanted list based on available memory. For example, I've noticed that the voice search and voice dialer apps ( I NEVER use them) seem to pop on in the background for some reason, so, they're on the wanted list of apps to auto kill if there's a memory shortage.
I installed Task Panel X at one time and setup auto-kill of certain apps. I found that this app itself used 40% of the battery overnight!! I couldn't believe it. I uninstalled it and just use TasKiller which is quick and easy.
JoeC is offline  
Reply With Quote
Reply

HTC Hero
Current Rating:
Rate this Phone:

For tech lovers dreaming of a magical phone, HTC's 3rd Android Phone - the HTC Hero - seems poised to rescue the masses from mobile phone boredom. The design is a more sleek, sexy version of the HTC Dream and HTC Magic and both hardware and sof... Read More


Bookmarks


Go Back   Android Forums > Android Phones > HTC Hero User CP
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about exiting apps carlspeed Android Applications 18 June 23rd, 2010 08:32 PM
exiting a game cultor HTC Desire 3 May 9th, 2010 05:02 PM
Apps exiting back to home screen automatically? armoredsaint HTC Droid Incredible 1 May 3rd, 2010 04:09 PM
Closing/exiting apps CXXV HTC Droid Eris 4 April 4th, 2010 10:14 PM



All times are GMT -5. The time now is 03:17 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo


SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.