Android :: Notifying That The Dawvik Vm Has Crashed
Sep 17, 2010
I have a situation here where i have an intent A that calls intent B. In Android 2.x, the application B consistently crashes the dawvik virtual machine when it runs the second time. Then, if A calls B again, it works.
Is there a way to let A find out that the vm has crashed? This way, i could just redo intent B.
View 3 Replies
Feb 7, 2010
I'm trying to generate a notification which vibrates the phone and plays a sound when the screen is off (cpu turned off). According to the Log messages, the notification is being sent, but the phone doesn't vibrate or play the sound until I turn the screen on again. I tried holding a 2 second temporary wakelock (PowerManager.PARTIAL_WAKE_LOCK), which I thought would be ample time for the notification to be played, but alas, it still doesn't.
Any pointers to get the notification to run reliably? I'm testing this on an G1 running Android 1.6.
Code I'm using:
CODE:.................
View 1 Replies
View Related
Oct 8, 2009
I just tried a stupid approach and it crashed my app... Basically I have an activity that has three tabs (containing three activities). Each of the tabs gets its input from an xml file downloaded off the net. Everything is fine but when I start my app, it has download the xml file and there's a "wait" time for this.I managed to get around this by adding a splash screen. It looks beautiful but the problem is when I click on the second tab, it still has to get the list off the net, so it looks ugly now... It waits before displaying the list. So what I did was design an AsyncTask that just downloads the xml file. In my main activity, I spawn two tasks initially and send the URL and Intent as parameters. And inside the activities that start inside the tabs, I use a wait(). Inside the AsyncTask, after it is done with the download, I notify the Intent using notify(). This crashed! Of course, I didn't expect it to work but just wanted to try :) Writing it so that I can either get a feedback as to why this failed or to prevent others from wasting their time on this...Now, I am sure many face the problem of a "wait" time inside the tabs. How do I solve this? I am thinking of either dimming the screen and then displaying a series of toasts or display a progress indicator inside the tabs or pre-fetching the xml files... I don't have a clue on how these can be achieved.
View 2 Replies
View Related
Dec 12, 2009
I have a ListView that has some minor visual preferences that are set in a PreferenceScreen. These preferences are simple booleans to show or not to show some specific TextViews on each item in my ListView.
Anyhow, when these preferences are changed, I need to notify my ArrayAdapter that the data has changed in order to get the list redrawn. However, doing this via an OnSharedPreferenceChangeListener wouldn't really be optimal because there are several preferences that you can change, that would cause an unnecessary amount of updates to the ArrayAdapter.
So, to the question: How can I identify when my ListActivity has occurred on the screen after closing my PreferenceActivity, which I then could use to check for changes in the preferences, and only then notify the ArrayAdapter.
The ArrayAdapter being an inner class of my ListActivity, which is set as a ListAdapter.
View 1 Replies
View Related
Nov 19, 2010
I have 2 gmail (apps) accounts on my phone.The first account: I want to know when I get an email.The second account: I don't want to know when I get an email - but still want, for checking and sending only when I look at the account.Is it possible to disable notification on one account and keep the other?I've got a Sony Xperia X10 Mini Pro and have waited a looooong time to get 2.1, JUST for the multi email accounts capability - now that I've got it, I'm not liking it because I get disturbed when I get email on the second account.
View 6 Replies
View Related
Nov 13, 2009
I think I've missed something in how Android is supposed to work! I have the main Activity with a menu option that opens the preferences screen. What I need is a way for any changes that were made to be communicated back to the main Activity as soon as the preference is activated. At the moment the only way I could get it working is by using the intent data that gets sent back when the prefs activity closes but this isn't really enough. The reason why it needs to be instantaneous is that one of the preferences is a 'Clear cache' button, so I would like the data to be deleted when the user requests it and no later!
View 4 Replies
View Related
Dec 7, 2009
Is there a way to prevent google voice from notifying me of or stop recording blank messages?Every time someone calls me and hangs up I get a voicemail alert including empty transcription even though nothing is there.
View 1 Replies
View Related
Jan 21, 2010
Lately my gmail app has stopped notifying me when I receive an email. I have to go in and refresh it to get my email to pop up. I checked the settings and it is set to notify me.
View 12 Replies
View Related
Mar 24, 2010
I cannot get my Hero to give me notifications that I have Voicemails to listen too. I just got this thing a week ago and was beginning to wonder why I hadn't gotten a voicemail in that long since I don't answer every call. Well last night I discovered that I had a bunch of them but it's not letting me know. I did the setup like it instructed when I got the phone. Anyone else ever have this problem and if so, how did you fix it? Thanks.
View 3 Replies
View Related
Oct 13, 2010
I have HTC mail set up to access my googlemail account and it is set to check every hour for new mail.
When the phone is rebooted everything seems to work fine but then after a while it appears that the phone will stop checking for emails on the hour.
If I go into mail it will retrieve them at that point but it should have picked them up several hours ago.
The problem only seems to have been occuring the past week or so but I cannot figure out why.
The only things that have changed are the OTA update and returning from holiday abroad but I cannot see how this would have affected things.
View 1 Replies
View Related
Jan 17, 2012
I don't know why but suddenly my gmail app is not notifying me of new email. When I open the app it isn't even showing that I have new emails even when I can look on my computer and see that I do. Is there a fix for this? I haven't changed any settings on my phone or on the app that would have caused this to my knowledge.
View 17 Replies
View Related
Aug 19, 2012
I get hundreds of emails every day and I currently get a notification but no audio tone or vibrate as it would be going crazy. This is how I want my general email notifications set up. So that part is fine. What I do want however is for starred messages to play a tone/vibrate similar to my text messages. I went into Gmail and then Manage Labels within the menu and I confirmed that 'Starred' is set to sync all and ring, vibrate, notify once. This to me seems like it should be notifying the way I just described that I'm looking for but there is no different notification for starred messages the way I had hoped. What am I doing wrong here?
View 1 Replies
View Related
May 15, 2010
I was trying out an app, I think it's called Continuous Photo and it completely crashed my phone. I can't turn it on. I plugged it into the wall to see if that would help and it made the sound that one would expect when it's charging and the home, menu, and return buttons all lit up, but not the screen. It's a brand new phone that I've only had for 4 days. Is the problem, that I tried to complete a function using the app, that I didn't have enough memory for? No matter what the reason is, how can I fix it? I'm freaking out here.
View 3 Replies
View Related
Apr 30, 2010
google talk is not notifying me when i get a new message i just look and its there. i have notifications enabled in settings on talk. does the same thing on my wifes incredible. my droid did not have this problem. can anyone else confirm they have the same problem or a solution for it. i much prefer realtime chat over sms texting.
View 8 Replies
View Related
May 11, 2009
I have developed an application which has tabActivity using SDK 1.0 r2.
1st Tab contains List view. -> the list contains some images
2nd and 3rd contains some webviews.
The app works fine on G1 mobile.
Today I downloaded SDK 1.5 and ran the same app on SDK 1.5.
The app got crashed when I scroll down/up the list items very fast (fling)
code:............
I am not understanding the above error log.
Then I experimented some thing like this: I removed the TabActivity, just shown only list activity. Then I scroll down/up the list items. Then there is no crash.
View 8 Replies
View Related
Oct 12, 2010
Don't download Red Droid! aka Red Tube! I downloaded this application and it crashed my phone. Have to get another one.
View 5 Replies
View Related
Nov 9, 2009
I setup my yahoo mail on the droid and for some reason it is not notifying when i get new email. I have to physically go in and check it, I am a former blackberry user, and if youve owned a blackberry you know how convenient the email push is! I have the timer set to 5 mins and it is not receiving them unless i manually go in.
View 9 Replies
View Related
Feb 14, 2010
When I get a text message, I get a notification from Handcent and the stock message program. Is there a way to stop the stock program from notifying me?
View 3 Replies
View Related
Aug 25, 2010
Droid x 2.2 gmail not making notifying sound
View 1 Replies
View Related
Jul 5, 2010
Is there a way to use Handcent without the actual messages app pinging and notifying?
View 6 Replies
View Related
Sep 21, 2010
Ever since Froyo, I cannot text, email, and my phone crashes constantly.
View 1 Replies
View Related
Aug 31, 2010
How to find out line of code where application failed in Android? (without debugging just to see crash dump)
View 3 Replies
View Related
Jul 21, 2010
We have a Service that continuously collects sensor data on the phone. This service should run "forever", e.g. as long as the user wants, and not be killed by the system. For clarification, this service is not intended for an app to be released in the market to the general public, it is written for a scientific study. So the people running the app are fully aware that their battery will sucked empty faster than usual, this is no problem. Anyways, my problem is that the service gets killed after a while of running. Sometimes after an hour, sometimes only after like 7 oder 10 hours. The Log-Entries when the service gets killed look like this. It just says "no longer want", sometimes without even calling onDestroy(), as far as I can tell.
07-20 17:07:11.593 I/ActivityManager(85): No longer want my.project.datalogging (pid 23918): hidden #16
07-20 17:07:11.593 I/WindowManager(85): WIN DEATH: Window{44c61570 my.project.datalogging/my.project.datalogging.DataLoggingApp paused=false}
07-20 17:07:11.603 I/BackgroundService(23925): onDestroy()
Or later (after I manually restarted it):
07-20 19:00:49.677 I/ActivityManager(85): No longer want my.project.datalogging:BackgroundService (pid 24421): hidden #17
07-20 19:00:49.677 I/ActivityManager(85): No longer want my.project.datalogging (pid 24415): hidden #18
07-20 19:00:49.807 85 10707 I WindowManager: WIN DEATH: Window{44f1ea58 my.project.datalogging/my.project.datalogging.DataLoggingApp paused=false}
I often see other services being killed with "no longer want" and then immediately restarted with "Scheduling restart of crashed service". For example here with runkeeper:
07-20 17:30:45.503 I/ActivityManager(85): No longer want com.fitnesskeeper.runkeeper (pid 24090): hidden #16
07-20 17:30:45.603 W/ActivityManager(85): Scheduling restart of crashed service com.fitnesskeeper.runkeeper/.services.RunKeeperService in 5000ms
07-20 17:33:52.989 I/ActivityManager(85): Start proc com.fitnesskeeper.runkeeper for service com.fitnesskeeper.runkeeper/.services.RunKeeperService: pid=24292 uid=10099 gids={3003, 1015}
The logs show no record of low memory. Testing is done on (several) Nexus One with 2.2 (Froyo FRF91). Is there any way I can achieve this behaviour with my app? Automatic restarting after being killed? Or this this something totally different that just looks similar in logcat?
View 2 Replies
View Related
Sep 14, 2010
I have an application and I would like to be able to restart it on the event of an error or a crash/app shutdown. I am familiar with how to register BroadcastReceivers, use alarms, etc.
Is there any signal I could intercept that the app sends out when it shuts down? Or that the OS sends out when any app shuts down?
View 2 Replies
View Related
Nov 12, 2009
Is there a way to prevent your service from restarting if it crashed?
View 7 Replies
View Related
Aug 16, 2010
Ok so I usually plug my phone in to charge over night next to my bed. However it gives me a notification sound, like a txt message, when the battery has charged. This is kinda annoying but cannot seem to find a way of turning it off. I know you are gonna suggest tuning the sound off but thats not what i want to do. So is it possible to just turn the battery charged notification off?
View 15 Replies
View Related
Nov 19, 2009
I am kind of new to the Hero community came from palm pre, is there a setting for the trackball to light up when i get or miss calls, MMS, gchat? If yes where do I go to enable it.
View 2 Replies
View Related
May 18, 2010
When ever I send a text message when I've had no signal but the phone hasn't told me yet I get a failed notification which is fine, but I'll keep getting them until I find the text message and delete it, even then I still get a couple more, deleting the message also means I have to type it again, anyone know how to stop the multiple notifications?
I've downloaded No Signal Alert which should help in the future and Handcent seems to cut the notifications down and bit but I still get a few.
View 2 Replies
View Related
Oct 30, 2010
After I either receive a phone call or make one, (and other undocumented interruptions) my application gets a NullPointerException when resuming my activity. Can any explain to me where it is and/or how to fix it?now, pls help me to fix this problem, how do i handle phone call or SMS received or such kind of interruptions?
View 2 Replies
View Related
Jan 18, 2010
I am developing one application which fetches the list of data/images from the server and shows on to the device. When I change the orientation, press Back button after doing it for 4-5 times app gets crashed. I am handling orientation change within activity itself and not setting the new view.
[Code]
View 8 Replies
View Related