HTC Hero :: Terminate An Application
Jul 30, 2009Is it possible to terminate an Application? I downloaded Advanced Task Manager, as i could not find a normal way of doing it!
View 9 RepliesIs it possible to terminate an Application? I downloaded Advanced Task Manager, as i could not find a normal way of doing it!
View 9 RepliesI am new with Android, and writting a small application for tracking call events. Every time i try to bind the listner, the os forces the app to close unexspectly. What did i miss? Here is my code:package com.example.helloandroid;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.telephony.CellLocation;
import android.telephony.PhoneStateListener;
import android.telephony.ServiceState;
import android.telephony.TelephonyManager;
import android.widget.TextView;public class helloAndroid extends Activity {
TextView textOut;
TelephonyManager telephonyManager;
PhoneStateListener phoneStateListener;
@Override
public void onDestroy(){
telephonyManager.listen(phoneStateListener, PhoneStateListener.LISTEN_NONE);
}/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
// Get the UI
textOut = (TextView) findViewById(R.id.textOut);
// Get the telephony manager
telephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
// Create a new PhoneStateListener
phoneStateListener = new PhoneStateListener() {
public void onCallForwardingIndicatorChanged(boolean cfi) {}
public void onCallStateChanged(int state, String incomingNumber) {}
public void onCellLocationChanged(CellLocation location) {}
public void onDataActivity(int direction) {}
public void onDataConnectionStateChanged(int state) {}
public void onMessageWaitingIndicatorChanged(boolean mwi) {}
public void onServiceStateChanged(ServiceState serviceState) {
String stateString = "N/A";
switch (serviceState.getState()) {
case TelephonyManager.CALL_STATE_IDLE:
stateString = "Idle";
break;
case TelephonyManager.CALL_STATE_OFFHOOK:
stateString = "Off Hook";
break;
case TelephonyManager.CALL_STATE_RINGING:
stateString = "Ringing";
break;} textOut.append(String.format("
onCallStateChanged: %s", stateString));
} public void onSignalStrengthChanged(int asu) {}
}; // Register the listener with the telephony manager
telephonyManager.listen(phoneStateListener,
PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR |
PhoneStateListener.LISTEN_CALL_STATE |
PhoneStateListener.LISTEN_CELL_LOCATION |
PhoneStateListener.LISTEN_DATA_ACTIVITY |
PhoneStateListener.LISTEN_DATA_CONNECTION_STATE |
PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR |
PhoneStateListener.LISTEN_SERVICE_STATE |
PhoneStateListener.LISTEN_SIGNAL_STRENGTH);
I'd like to know how to terminate / kill an APK on emulator. Most times I reinstall the APK, but I was wondering if there is a better way because I simply need to restart my APK...
View 3 Replies View RelatedCan any one tell me how can i hangup/terminate call programmatically?With the help of intent.
View 2 Replies View RelatedIs android supports the terminating the phone call programmatically using either intent or any APi? If not now then can we see one of the above in the future sdks??
View 2 Replies View RelatedIs there a possible way to completely terminate app on home button press? Because everytime my friends use my phone they didn't realize there is a back button.. So they just presses the home button like they were using idevices.. This would hog the memory with the running apps and i have to constantly close them everytime they finish playing.. ICS does have this feature but im running GB atm..
View 4 Replies View Related"How do you hang up incoming calls (in Android of course)?"First, I know this question has been asked and answered several times, and the response is always "you can't". But if we look in the market we get a few applications (all private software, no access to the source code that do this action, such as CallFilter, Panda firewall and others.So does somebody know how these apps do the hang up action, (or terminate, or disconnect or whatever you call it)?And other question, if the first don't get a response.. does somebody know how send an incoming call to the voice mail?Of course, all questions are about how to do it programmatically. So with the voicemail question I know there's a flag in contacts that is used for that, but like I said, I'd like to know the programmatical way.
View 2 Replies View RelatedIs there an application I could use to record both sides of a phone conversation with an HTC Hero? I don't have one yet (currently a blackberry user) but if one is available I'd be willing to make the switch. I'm a medical writer and need to record interviews and since I'm going to be on the road a lot in the near future, don't have access to landlines and the ability to use a conventional tape recorder.
View 2 Replies View RelatedGot load of short cuts on home screen , can I change name in box under pic
View 5 Replies View RelatedI had my htc hero for a while and I still can't find the IM application that it should come with. It is under manage applications but I can't find the actual application. Is there an alternative application that uses SMS for AIM?
View 3 Replies View RelatedI'm a bit curious about this.. if i go into Settings > Apllications > Manage applications in the list that is displayed there in one just called "IM" which has an icon of a red and a blue speech bubble leading me to belive that it's some sort of instant messanger application. But it doesn't display at all in the list of applications so there is no way of launching it.
Now I know there are a whole range of system apps in the manage list but does anyone know what this "IM" is and is it a usable IM client?
I am sure this is old but, I downloaded Handcent at least 10 times already. I like the customization. It's the best SMS Application to me, but I'm not sure if it makes my phone run a bit laggy. I always go back to the stock app even tho its kind of boring, but very fast. I guess the question is, Is Handcent really worth it to you?
View 5 Replies View RelatedI recently bought the official screen protectors and after my second attempt i managed to get one on..only thing is theres a little what looks like a spec of dirt on the top right of the screen.. should i leave it there or should i buy some more screen protectors and try replying again? Also could someone recommend me a good app that allows me to transfer my contacts, apps to my new 16GB microSDHC card.. I tried the one listed here but all i get is no app found..cheers
View 2 Replies View RelatedWhenever I put my phone on "silent," its not suppose to make a sound. I have my media volume all the way down. When I get a call, it doesn't ring or vibrate or anything, but when I get a text, it rings. I searched through all the threads about the apps for the volume, but I want to know which one is the best free one. I really don't want a repeat of what happened in my class.
View 8 Replies View Relatedim looking for an app for live football/soccer scores, but hopefully one that will email me when a goal happens. incase im not at the game etc, so i can set it to email me when a goal is scored in a certain game?
View 16 Replies View RelatedWhen I receive a picture in the stock message application it is received as a slideshow. When I click to view, it opens and then after a couple of seconds it closes. Is there anyway of keeping the picture open for longer, other than saving and opening seperately?
View 5 Replies View RelatedI got the hero with Android 1.5 and I want to change my default SMS application. My new application have a blacklist feature so I can ignore some messages. But when I receive a sms, both the default sms and my new sms application are giving a notification. is there a way to disable the default one?
View 2 Replies View RelatedI've been running CM6 for awhile now and I love it. My only problem so far is that I absolutely hate the camera application. I much, much preferred the Sense take on it; so, I'm sitting here, wondering if there's a good camera application to replace the crap stock one.
View 8 Replies View Related1) what do you guys use to clean your screen? 2) whats the best apps for turning wifi on and off? i tried and it seemed to be conflicting with the internal wifi control 3) anyways to turn off or edit that red charging light? or edit any of the alerts for that matter? any app out there can do that? 4), whats the best size to convert the videos? or how do you do it to get a perfect result? 5) lastly, is there a way i can load edited audio files and use them as ringtones and alerts, BUT NOT HAVE THEM SHOW UP IN MUSIC? like a "media file" or something?
View 4 Replies View RelatedThis is probally stupid but w/e. is there a app thats like limewire and u can download music str8 to ur hero?
View 20 Replies View RelatedI have a HTC hero on the orange network. I recently applied the orange firmware update from HTC. After upgrading, I can't find an application (bootrol) in the market, though I previously installed it from the market.
View 5 Replies View RelatedIs anyone using this new app?
New Android Market Application Screenshots : iLuvAndroid - Feeding your Android Addiction with news, reviews and guides
I think only for rooted phones so far? Anyway I can't find it on the normal market app.
I just installed 2.1 for HTC Hero and I was wondering if someone knows a good music application to download songs like imusic or music junk. I do not think those applications are available on 2.1 so someone know any good one?
View 4 Replies View RelatedCan your Sprint HTC Hero contacts events on your PC with your phone? If not, do you want to let your HTC Hero do that? You need to download HTC Sync and then upgrade your phone. Let�s see what HTC Sync can do:
Where to Download HTC Sync Application | Sprint Cellphone Blog
Just purchased an unlock code from HTCCode to unlock my Orange UK phone. Didn't work. I am now back on my Orange sim but cannot get my phone to fully boot up. I get the message The Application HTC Sense(process com.htc.launcher) has stopped unexpectedly. Please try again.I've tried several times with the force close button, without success. I cannot get to any screens to do a factory reset.I am running 1.5 on 2.73.61.66
View 2 Replies View RelatedI have had the Hero for two day and its really cool. However, I realised today that the e-mail app has stopped pushing e-mailing to me. When I click on the e-mail program it does still update, but just doesn't push.
View 3 Replies View RelatedI've noticed something weird with the stock music app....when I open the app (get the coverflow type view) or use the widget, the cover art for each song is horribly wrong. HOWEVER, if I enter the list view and go to albums in the app, the right art is show beside each album. As well, I installed MixZing music app, and it shows the right albums.
View 1 Replies View RelatedI just rooted the phone, what are some new apps that I can play with?
View 4 Replies View RelatedI have the Hand cent SMS app and every time i get a text, i get 2 notifications..1 for stock app and 1 for Hand cent...how do i disable getting the notification for the stock app? i go to manage apps but i don't see an option in there..is there somewhere else that i don't know about?
View 6 Replies View RelatedOn my Hero I have synchronised people's details to the 'People' application from my desktop Outlook using both the HTC sync and Companionlink. But either way, I just seem to get a truncated version of their physical addresses under the 'Find Home' field. When I hit that, I get a map I'm not looking for, and sometimes the full address, sometimes not. I can't see any other way of accessing the full address on the Hero - what am I missing?
View 2 Replies View Related