Android :: App Causing Crash/reboot Cycle

May 20, 2010

So I have 2 reports now of my app causing a crash/reboot cycle the user can't always break from. I cannot reproduce this on my phone, and I am wondering what might be causing something like this? Would running out of memory or something cause this? Because I can't reproduce it, I can't look at the logs or anything.

Has anyone experiences anything similar? For reference, my app runs a foreground service which utilizes the AlarmManager. It starts automatically on boot_completed (which is probably why the cycle happens). One of the users who reported this, said it only happened when they plugged their phone into a PC.

Android :: App causing crash/reboot cycle


Android :: Infinite Reboot Cycle Caused By Choosing Remote Location Picture As Background

Nov 10, 2009

Device: Motorola DROID

I just wanted to post an issue I found. I downloaded ES File Explorer and was browsing a shared folder of pictures on a desktop. I selected a picture and, with the file explorer's picture viewer, browsed the next few pictures sequentially. I found one that I wanted to use as a background, so with a menu option, I chose set as background. The device froze, and started a never ending reboot cycle. I had to hard reset the device and wipe it with the POWER + X button option. I am not sure if this is an ES File Explorer problem or a problem with file transfers initiated some way other than copy and paste, or just simply trying to assign a remote path as a background image location, but I thought it necessary to post. I have sent this to the author of the file manager as well.

View 3 Replies View Related

General :: MicroSD CARD Partitioning Causing Crash

Sep 15, 2012

I have used partitions on my old rooted phone where I thought the sd card had crashed because of partitioning it. Now I have removed the partition and I am still getting problems. Then I formatted my whole micro sd card using windows.

Whenever I insert my sd card into windows via my phone, it asks me to format it. Why has micro sd partitioning wrecked my sd card???!!

View 1 Replies View Related

Samsung Vibrant :: What's Up With Battery Getting Hammered After Reboot / Power Cycle?

Aug 21, 2010

So I was out on my motorcycle and had about 60% battery left on my Vibrant.Figuring I wasn't going to need the phone for a few hours I powered the phone off, calling myself saving battery.When I turned the phone back on I was totally surprised that the battery was down to 38% immediately following powering up.This happens every time I power the phone down-I lose about 20% consistently.It also happens when google maps shits itself and either freezes the phone (necessitating a battery pull reset) or causes a spontaneous reboot.Is this normal? I've had my phone for a bit over two weeks (so out of my remorse period) and my besides this my battery works and lasts rather well, considering how much this phone has going on.

View 8 Replies View Related

HTC EVO 4G :: Bluetooth Causing A Reboot?

Sep 28, 2010

Everyday I go to the gym and turn on my Motorola bluetooth headphones (Amazon.com: Motorola S305 Bluetooth Stereo Headset ) and then click on the Bluetooth widget on my EVO and after two beeps, I start hearing the phone through the headphones.

When I'm done, I tap on the Bluetooth widget and the phone freezes and then reboots. Sometimes it comes up with Bluetooth still turned on and when I tap it again, it reboots again. Every single time.

When I go to Settings>Wireless and uncheck Bluetooth it often does not reboot but sometimes it does.

Since it takes for.freakin.ev.er to come back after a reboot, I'd like to streamline my process and skip the reboot part.

(Not rooted. And I've never used the Bluetooth function for anything but this one headset. When not using headset, I keep Bluetooth turned off.)

View 2 Replies View Related

General :: Android 4.0.3 HTC ONE V - Hard Reboot / Crash During Calling?

Jun 5, 2012

When calling, roughly 3 out of 10 calls my phone just spontaneously reboots. It does no matter if I get called or if I am calling. It usually happens straight after a connection is established but in rare cases it also happens during the call. It had this since the beginning when I even did not install 1 app yet.

Other then the calling issue the phone is working flawlessly. I am running the stock Android 4.0.3 HTC ONE V (which I recently rooted, but the problem exists already before the rooting)

Below are the logs for one such crash

System log during call and crash reboot (at around 17:33):

Code:
06-01 02:59:14.756 W/webview ( 9435): at java.lang.Thread.run(Thread.java:864)
06-01 02:59:16.738 W/ResourceType( 6913): getEntry failing because entryIndex 280 is beyond type entryCount 164
[code]......

View 3 Replies View Related

Motorola Droid :: Wifi Causing Reboot

Nov 6, 2009

I complained before of the phone constantly rebooting itself, however i find with wifi off, it does not constantly reboot, also noticed that i get only 1 signal bar everywhere in my house on wifi, where as on 3g i get almost full bars everywhere. I dont know what this means, since im new to verizon service. Is this normal as far as losing bars depending on wifi or 3g?

View 1 Replies View Related

HTC Incredible :: Froyo 2.2 Causing Reboot Cycles

Sep 5, 2010

I never really had an issue of reboots until recently, before I actually updated to froyo (week and a half or so) I started getting some random reboots.

Now I have been having some major problems, I am not sure if it is related to froyo or not, but i suddenly am getting a lot of more reboots, and when it does it will sometimes get stuck in a cycle of reboots and just keep going and going. Tonight it literally just kept rebooting over 10 times. I battery pulled multiple times and still was doing the same thing. Is there a reason this could be happening?

Yes I have done factory reset since install of 2.2, and actually right when i installed and did factory reset it got stuck in this cycle.

I have talked to verzion and they could not make it reboot so they said they could not do anything at the moment but put a note on the account.

View 5 Replies View Related

HTC EVO 4G :: Magnetic Holster Closter Causing Reboot?

Jun 22, 2010

Is it possible that the magnetic closure on the HTC leather holster is causing reboots on my EVO? I've wanted a leather holster since I got the EVO, but could find one I like and fit the phone. Yesterday, I decided to purchase the HTC holster from Sprint ($29.99). Since then, my phone as rebooted at least 6 times this morning - kinda annoying. It's not an app 'cause I haven't downloaded anything in days, so I figured that maybe the magnets (which are right there by the back of the phone) are interupting something.

View 1 Replies View Related

Android :: Retrieve Logcat Before Crash (reboot) On Real Device

Jul 29, 2010

I am developing an application and during my testing on a real device I have found that it will crash and cause the phone to reboot (worrying I know)Is there any way I retrieve the logcat from before the phone rebooted as the logcat seems to reset when the phone boots up.

View 2 Replies View Related

Motorola Droid :: Batch Backup In Titanium Causing Reboot

Aug 9, 2010

For some reason, using the batch backup (apps + data) in Titanium is causing a reboot every time. Under the "problems?" tab it talks about Busy Box being an issue and so I installed a know good Busy Box.. which got me farther along than the first 2 attempts, but still.. it rebooted again.

View 5 Replies View Related

Samsung Moment :: Wireless Automatically Turned On Reboot / Causing This?

Dec 29, 2009

I don't know what has caused this but each time I reboot my wireless is on and the screen timeout is set to 30 sec(my setting is 10min) even after adjusting it reverts back to these settings on reboot. Does anyone have any idea what is causing this?

View 2 Replies View Related

Jelly Bean :: Nexus 4 - Third Party Launchers Causing Reboot?

Sep 15, 2013

I have a Nexus 4 running Android 4.3 (build JWR66Y), with the stock ROM. I recently started using other launchers, at first Nova. I did notice, however, random reboots ever since. I thought it might be some new apps, but even uinstalling them didn't solve the problem. Then I switched to Action Launcher, and after a few hours of use, the reboots started all over again.

Now I'm running only the original launcher, no troubles at all. How to solve this issue with third party launchers?

View 2 Replies View Related

General :: Can't Connect To Camera After App Crash Without Reboot

Dec 12, 2013

I am running a CM11 nightly of KitKat 4.4.1 on a VZW Note II, however I have had this issue with other devices, carriers, Android versions, etc. so I have always assumed it is just the way Android works.

Basically if an app that is currently using the camera (Camera app, barcode scanner, etc) crashes or hangs and gets force-closed, opening any camera app after that seems to always give me either a "can't connect to camera" error or a black screen instead of the viewfinder. In these cases, a simple reboot fixes the issue and I can use the camera again, but this is inconvenient for two reasons:

1. A reboot on my phone takes 45-60 seconds, by which time whatever I wanted a picture of is usually gone or changed.

2. Rebooting means that any apps that don't save the data constantly but run in the background are restarted and I lose the progress. Mainly I am referring to Chrome incognito tabs, but also apps that don't save in-progress data such as puzzle games or video players.

With my limited knowledge of Linux and my slightly less limited knowledge of operating systems in general, I know that sometimes a temporary lock file is Created to prevent other apps/programs from modifying or accessing a file or program until the lock is released. Does that kind of situation apply here, such as a camera lock file being created when camera access is started and then not able to be released if the app crashes.? Also, if that does apply, would manually deleting the lock file or creating a script that does it for me when it is run allow access to the camera again without rebooting? And if that doesn't apply, is there any way to regain camera access without rebooting when this occurs?

View 2 Replies View Related

HTC Droid Eris :: Phone Stops Responding After Reboot / App Causing Interference?

Jan 6, 2010

First off, I apologize if I start a new thread when one already exists. I tried searching, but couldn't find anything related to my issue.

The issue:

When I have to restart my phone, all apps stop responding, including phone, google apps, everything. I can't make calls, I don't have a signal, nothing works really. The solution: uninstall recently installed applications, and that fixes it.

However, I wonder if there is something else going on causing this. The reason: Yesterday I installed Backgrounds (a popular 4-5 star application from Android Market). I had to reboot my phone (locked up), when I did, nothing was responding, got messages like acore, gapps, and other apps stopped unexpectedly. I removed Backgrounds, restarted again, and everything worked. My wife uses Backgrounds, but her phone doesn't stop working when she has to restart. Why is this happening on my phone? Is there another app causing interference?

View 19 Replies View Related

Samsung Behold 2 :: Modifying Libwebcore.so Causing Phone Stuck On Reboot

Apr 7, 2010

I have a rooted behold 2 [stock] and when I push libwebcore.so into system/lib , the phone hangs after I reboot. I have tried it with a couple of different libwebcore.so files [one from android 1.5 and 2.1] with the same outcome. It sounds like the system is checking for corrupt files or so when it boots and doesn't go any further if its numbers don't match up. Any ideas ?

The reason I'm trying to do this is that i want to be able to read arabic properly on webpages. I have already installed the arabic font [thanks to BH_Man] and all the characters are displayed. However, the browser renders the order of the letters backward [from left to right instead of the opposite].

View 3 Replies View Related

Motorola Droid 2 :: Motorola S305 Headset Causing Reboot

Aug 23, 2010

I have the Motorola Droid 2 and Motorola S305 headset. I have paired them together, no problem; however, my phone keeps rebooting when I turn my headset off then back on, and sometimes they don't work when I am making a call. I really like these headphones (plus I'm really cheap ) and don't want to have to get another set.

View 1 Replies View Related

Android :: Activity Life Cycle

Nov 12, 2009

The main activity is running, then there is a interrupt. What was happended, onPause(), onStop() or other change of life cycle? 1. pressed the volume_down key and ringer volume toast occured, the life of main activity will not change? why? 2. short press the power key and the OS sleep,how about the activity ? 3. long press the power key and the phone options appear, how? 4. long press the home key and the tast list appear, how? 5. notifications curtain appear, how? 6. press the back key,how?

View 5 Replies View Related

Android :: Life Cycle - ListActivity

Aug 18, 2010

When my ListView activity loads it creates the Adapter which fills the screen as it should do. Is there an event or way to find out when the Adapter has finished getting enough data to fill the screen. I want to show a spinner the first time the Activity loads and have it go away once the screen has its first load of data from the Adapter.

View 2 Replies View Related

Android :: The Life Cycle Of Static

Mar 7, 2010

When starting a new Activity, I want to pass a complex object and do so by using this approach:

MyActivity.COMPLEX_OBJ = myComplexObj; // which is definitely NOT NULL! Intent intent = new Intent(); intent.setClass(this, MyActivity.class); startActivity(intent);

and then in MyActivity:

@Override public void onCreate(Bundle bundle) { if (COMPLEX_OBJ == null) { // report to Flurry ... } ...

}

View 17 Replies View Related

Android :: Can't Grok Activity Life Cycle

Jun 6, 2010

I am having a really hard time grokking the Activity life cycle concept. The main issue is with onStop() and onDestory() not being guaranteed to be called before the process is killed. I though I had it figured out when I saw that the system calls onSaveInstanceState() when it's shutting down the activity to claim some memory. Thing is that the docs says onSaveInstanceState() will be called before onPause() but how does the system know at this point whether the activity will be killed by the system or the user?

Here is a use case:

1) My activity starts up and is running. 2) At some point I want to show a web page so I use an Intent to start an activity. 3) The web browser covers my app/activity so I would expect onPause() to be called followed by onStop(). At this point it's my understanding that all bets are off and I can be killed at any point without be called. 4) Since the system has enough memory onSaveInstance() doesn't get called. 5) The user presses home and decides to open some app which requires a lot of memory. 6) System wants more memory and decides to kill my app but I am already stopped (onPause() has been called).

View 1 Replies View Related

Android :: Understanding ContentObserver Life Cycle

May 9, 2010

The core of this Widget is an AppWidgetProvider which registers a ContentObserver to the CallLog content URI. This means that my widget is updated every time a call (incoming, outgoing, missed) is recorded. This works fine for a while, until *something happens* and my ContentObserver stops getting called (no error message seen in trace). I would rather that this ContentObserver persisted until the user removes the Widget.

I am guessing that my JVM has been destroyed (due to low memory?), ContentObserver garbage collected and/or ContentObserver unregistered (or just pointing to nothing), but I don't know how to debug this without restarting my code (and thereby re-registering). I can hide this bug by periodically re-registering my Content provider, but I would rather understand the cause and have a more optimal solution..............

View 3 Replies View Related

Android :: Application Object Life Cycle

Sep 30, 2009

When I start my application I prompt the user for the password and use it to instantiate my data adapter object that I will need throughout the application. So I store it in Application object. My activity A prompts user for pwd, instantiates data adapter, sticks it to Application object and later starts activity B which in turn starts the built int gallery activity. When fooling around with gallery and capturing pictures for some time coming back to activity B I discover that Application.myDataAdapter is null. I found out that during me playing with camera the Application.onTerminate() method was called. So it seems like Android killed my process and when B was supposed to become visible it started a process again jumping directly to activity B bypassing A? Is that how it works? Should I then never assume that Application.myField will survive? and init it not only when A is started but whenever I discover it is null?

View 7 Replies View Related

Android :: Understanding Life Cycle When Screen Goes Off And On?

Aug 4, 2010

My device is a Nexus One with 2.2 and I have tested two projects, one on 1.5 and one on 2.1. Problem: I have trouble to understand the life cycle of my application when the screen is turned off and on. Here is my output

// activity starts
08-04 17:24:17.643: ERROR/PlayActivity(6215): onStart executes ...
08-04 17:24:17.643: ERROR/PlayActivity(6215): onResume executes ...
// screen goes off
08-04 17:24:28.943: ERROR/PlayActivity(6215): onPause executes ...
08-04 17:24:32.113: ERROR/PlayActivity(6215): onStop executes ...
08-04 17:24:32.113: ERROR/PlayActivity(6215): onDestroy executes ...
08-04 17:24:32.983: ERROR/PlayActivity(6215): onStart executes .....................

View 3 Replies View Related

Android :: Managing Service Life Cycle Killed Due To Low Memory

Aug 25, 2009

I have a service that polls for data. To indicate this to the user I have a persistent notification in the statusbar. In some cases when the device goes low on memory it destroys the service but OnDestroy is not called. Later when there is available memory OnCreate is called. Is this normal behavior? I had hoped that OnDestroy would be called to I could remove the notification in the statusbar. Now the user thinks that the service is still running, while it has been stopped by the OS.

In order to restart the polling how do I know that the OnCreate is really a restart event and not first time creation of the service? I thought about checking for the presence of the notification in the statusbar, but I couldn't find a API to check if a notification was showing or not. I have not tried "SetForeground" on the service, since the service isn't that important to the user, but maybe that would minimize the problem.

View 4 Replies View Related

Android :: Activity Life Cycle - Serialization Taking Too Long

Jul 27, 2009

Finally after many days of getting StackOverflowError, I've tracked down the issue and fixed it, only to find that my game's serialization takes about 5 -10 seconds on the emulator and most likely around that in the target. So far my the lifecycle of my game is as follows

onCreate - check if serialization file exists, if it does, de- serializes it. (~ 5-10 seconds) onPause - if the game is not complete, then serialize it (~ 5-10 seconds) I remember reading somewhere that another activity's onResume will NOT get called UNTIL the previous activity's onPause has ended. So I am worried that my game is delaying another activity that wants to start from doing so i.e like a phone call etc. I think speeding up the serialization is not going to be feasible, so any ideas on what I can do? Can I serialize in the onDestroy instead of the onPause? I read that the onPause is the only safest place to store the state.

View 8 Replies View Related

Android :: Handle Activity Life Cycle Involving Sockets?

May 30, 2010

I have an Android activity which in turn starts a thread. In the thread I open a persistent TCP socket connection. When the socket connects to the server dynamic data is downloaded. The thread sends messages using Handler-class to the activity when data has been received. Now if the user happens to switch from portrait to landscape mode the activity gets an onDestroy call. At this moment I close the socket and stop the thread. When Android has switched landscape mode it calls onCreate yet again and I have to do a socket re-connect. Also, all of the data the activity received needs to be downloaded once more because the server does not have the ability to know what has been sent before, i.e. there is no "resume" feature.

Thus the problem is that there is alot of data which is resent all the time when landscape mode is changed. What are my options here? Should I create a service which handles the socket traffic towards the server thus I always got all the data which the server has sent in the service. Or should I disable landscape mode all together perhaps? Or would my best bet be to rewrite my server which is a VERY BIG job

View 1 Replies View Related

Android :: Out Of Memory Error On Large Bitmaps And Activity Life Cycle

Jul 24, 2010

I have a scrollable map app which for now has a huge bitmap. It loads fine on startup, but when it looses foreground status and the user brings it backs again im getting an out of memory error. In onPause it trashes the bitmap using recycle, and marks it as null. The onResume checks to see if map==null and will load the bitmap back again, which is crashing the program despite me recycling the bitmap...Here are some bits of code. All of the other references to Bitmap map first check if it is null before loading/drawing..............

View 1 Replies View Related

Android :: Camera Still Regularly Hangs With Cupcake / Requiring Power Cycle

May 1, 2009

I found that the old bug reported in http://code.google.com/p/android/issues/detail?id=1578 where only a power cycle brings back the camera still persists with the official Cupcake firmware on my ADP. When it happens - and I've encountered it several times in a few days now - no camera application can access the camera. A power cycle is needed to recover from this locked camera state.

View 8 Replies View Related

Android :: PhoneMyPC Locking Up Computer Requiring Hard Power Cycle

Aug 23, 2010

Only started happening since the most recent update. before that it was good. Updated both phone and computer side software and now it locks up my 64bit windows ultimate machine every 2nd time I log into PhoneMyPc. I can log in once fine, the second time will cause the computer to freeze.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved