Android :: App Crashing Only On Second Run

May 30, 2010

I have an app that I have been working on and it runs fine on the simulator, but when I load it into my phone it crashes but only on the second run of it.I'm testing it on an HTC incredible.I think the logcat line is 15376 byte external allocation too larger for this process out of memory heap size = 6599kb allocated 4136kb bitmap size = 17970kb .I can not seem to catch the exception,It never fails the first time I launch the app or if i exit using home instead of back.I have found that when I go back using the back key it goes through onDestroy() and back to onCreate(), and then crashes.I'm very puzzled as to why it acts differently seems like if it goes though onDestroy next time it loads is like the first time.I think it is related to a large number of bitmaps I'm creating.

Android :: App crashing only on second run


Android :: Compass Still Crashing

Aug 12, 2009

I've modified the code a bit since the last time, and now it crashes at runtime. I've got the log-cat and code below. how to go about debugging.

CODE:..................

View 2 Replies View Related

Android :: All Applications Are Crashing

Jan 4, 2010

I have been using the HTC Magic with the updated HTC Sense UI for about 6 months now.Recently, whenever I use an app after a few minutes it will just close. The behaviour is erratic and does not always happen but sometimes it will just close. It doesn't give the message that it has crashed but it just quits completely. This happens to built-in apps like the Market and Gmail.Nothing has really changed although I have installed/uninstalled a couple of apps. Nothing that should affect this though.

View 16 Replies View Related

Android :: App Is Crashing / Debug It?

Aug 6, 2009

My app is crashing, How do I debug it? I'm using a HTC Magic and eclips. I looked in the documentation, but it doesn't say how to go about doing it.

View 3 Replies View Related

Android :: Crashing Under 2.2 APIs

May 18, 2010

It seems a little ahead of tomorrows Google event.But I'm already getting many complaints that my app fails completely under Android 2.2.So that scares me a lot!Anyone know when the API might be released? Tomorrow perhaps?

View 5 Replies View Related

Android :: BroadcastReceiver Crashing / Why Is So?

Feb 19, 2010

I have this Broadcast receiver registered code...

but when the line reaches context.startActivity(intentalarm);
the application crashes

may be it is where we pass first parameter to Intent, I'm not clear about.

View 1 Replies View Related

Android :: Custom Dialog Crashing

Nov 23, 2009

I have written below code for showing a custom dialog

CODE:..................

It is unable to find ViewGroup in above code and is crashing. I have another main.xml file which is set to content layout in this activity. So how can I correct this thing ?

Also I need to add some validation here to this dialog like info cannot be empty !

View 7 Replies View Related

Android :: See The Log Error Crashing My Apps?

Oct 11, 2010

Is there a way to see the log error crashing my apps?

I`m getting messages like ˜The application OMG has stopped unexpectedly. Please try again˜.

And i really do not know what kind of error it`s exploding down there =/

Any terminal? Any eclipse window view? I tried debugging on eclipse but uncessfully.

View 4 Replies View Related

Android :: Eclipse Crashing With Droid SDK / Fix It?

Jul 17, 2010

I'm having some serious issues with Eclipse and the Android SDK. I've tried the following version of eclipse and experience the same problem:

3.6.0 Java 3.5.2 Java EE I think i also tried 3.5.2 classic

I can barely make any progress without eclipse crashing on me. This is really frustrating. Any ideas?

I'm running Windows XP SP3. The error log for eclipse is pasted at the bottom of this message.
code...

View 2 Replies View Related

Android :: Eclipse Crashing After Update To ADT 0.9.3 And SDK 1.6 / What To Do?

Sep 29, 2009

I'm running Eclipse Ganymede on Ubuntu 9.04. I wanted to update to the newest Android SDK 1.6r1 from 1.5r3. The procedure that I followed is:

- Run Eclipse - Update every Eclipse components from the update manager (this updated ADT to version 0.9.3) - Restart Eclipse (Everything works fine) - Untar the Android SDK 1.6r1 - In Eclipse preference->Android, I selected the newly uncompressed folder containing Android SDK 1.6r1 - Click on OK - Eclipse runs some tasks and crashes

After this, whenever I try to run Eclipse again it brings an empty windows on screen and does nothing else. Is there a way to come back to the old SDK without starting Eclipse, with config files for instance? Other suggestions?

View 6 Replies View Related

Android : Live Wallpaper Crashing / Way To Fix

Mar 28, 2010

When I click my live wallpaper, it crashes. I can't see what is wrong. Here is my code....

View 2 Replies View Related

Android :: Activity Crashing After Waking Up From Sleep

Aug 14, 2009

i have an activity that crashes randomly after the device resume from a long period of sleep, the activity is forced to be landscape mode only. When the device resumes from sleep, the activity seems to be redrawing itself in portrait mode, occupying half the horizontal view, then have to force close it.

View 2 Replies View Related

Android :: Myspace App Not Starting Up Completely / Crashing

Oct 29, 2008

Is anyone else having problems with the app not starting up completely/crashing the first time you launch it, but it works the second time around?

View 1 Replies View Related

Android :: Application Crashing OutOfMemory - Restructuring

Mar 22, 2010

I have an application which fetches data from server and shows it in different lists in my application. I used the adb shell procrank command to find out the memory usage of my application It takes 10 mb for the UI (I have a single Activity ,but many layout files), And the data which comes from the server is stored in memory arrays for logical representation on UI (As well as database)and it takes 6 mb of the memory .So application's runtime size reaches to 16 mb and then many a times its crashing after that with OutOfMemoryException. Another major problem is that later for the next client release , the data comming from the server will be around 12 mb.. :( :( So i need to do a major restructuring in the App.I beleive that i cannot increase my App size from 16 mb to more So my question here is , can i have two seperate applications , one of which will fetch the data from the server and keep it in memory as well as database and another App will be used for showing the UI and it will do an inter Application communication to fetch the data and display it on the UI in this App. So the 1st App wil be a backgrond App which will handle Server communication as well as data storage , the second App will start this 1st App .

View 18 Replies View Related

Android :: Org.apache.commons.net.nntp Crashing

Jan 27, 2010

I'm using org.apache.commons.net.nntp to connect to a nntp server, however running a simple nntp.connect(host, port) crashes the android.

Anyone got any ideas? Do java packages work with android straight out of the box? or do they need editing?

View 2 Replies View Related

Android :: Webview Crashing - WebViewRowA.loadUrl

Oct 4, 2010

In my Android game I am loading websites in WebView by calling webViewRowA.loadUrl(www.website.com) and after some time (random) the device crashes with the following traceback.

CODE:..................

View 2 Replies View Related

Android App Keeps Crashing / When Change Device Font

Oct 1, 2012

I have an android app I am working on in Eclipse. It has 1 activity with some fragments in it which works fine. But when I go into any of my fragments, which either consist of a layout statically made or dynamically made, I then hit the menu button and go to the "Display" section of my phone to change the font of my android device Ex) Normal to Large or Large to Normal. Once I do that I open my app again thinking that the text in my app should grow/shrink and still be on the same fragment like I have seen in other apps but instead it just crashes.

I have a feeling it has to do something with the fragment or my activity's lifecycle methods but I honestly do not even know where to begin. I understand how the lifecycles flow but as for putting code into these methods to fix this issue I do not even know where to begin. The only methods so far I have used/Override with my code in it is the "onCreate()" in my Activity, onActivityCreated() in my ListFragment and "onCreateView()" in my fragments.

This code snippet here is when I go from Activity (MainActivity) -> ListFragment (JungleListFragment) -> Fragment (JungleInfo)

Code:
10-01 05:10:25.734: I/MainActivity(712): onCreate
10-01 05:10:26.564: I/MainActivity(712): onStart
10-01 05:10:26.564: I/MainActivity(712): onResume
[code]...

View 1 Replies View Related

General :: Android 2.3.7 Google Maps Crashing

Oct 23, 2012

From the last few days Google maps keep on crashing, says "Force close" I m sick of it, using android 2.3.7 Sony xperiaU.

View 1 Replies View Related

General :: HTC Inspire With 2.3.5 - Android Browser Crashing

Apr 29, 2013

I have an HTC Inspire with Android 2.3.5. Last night my stock browser kept crashing on two particular Wikipedia pages. I cleared the cache and even went to Menu > Settings > Apps and cleared data for the browser (which also erased my bookmarks). It still crashed on those pages. Wouldn't you be surprised if you kept crashing on ordinary Wikipedia pages? No other pages crashed.

(1) I've read that anti-malware programs for Android are not very good - someone tested them and the free ones found only 10% of malware they should have found. Paid ones were slightly better. Are there any malware scanner apps that are good? I prefer ones that aren't always running.

(2) Are you supposed to update the stock browser? If so, how do you do it? It might be automatic.

(3) Do you think I should upgrade to a newer Android? When I went from 2.3.3. to 2.3.5, it took a long time and I didn't like some of the changes.

I can't get Chrome because you have to have Android 4.0 or later.Does your stock browser often crash for no apparent reason? I've had this phone for a year. Before, it only crashed on pages I rarely visited and were heavy in effects.

View 2 Replies View Related

General :: Android RAM Low - Random App Closing / Crashing?

May 14, 2013

I know Android manages its RAM differently than modern computer operating systems, but I have a problem that's been happening that I think is related. Apparently, whenever I run large apps or games, or when apps increase in size significantly, Android freaks out and kills some or all apps, returning you to the home screen. When looking at the running applications list, it shows 80MB used, 22MB free, however adding what's currently running up doesn't come anywhere close to 80 MB of space!

Settings 9 MB
My Data Manager 5MB
ADW Launcher EX 11MB
Google Voice 2 MB
com.android.qualcomm 1 MB
Android Core Apps 8 MB
Google Services 6 MB
Android Keyboard 5 MB
47 MB total

Reported totals:

81 MB used, 23 MB free

What is going on here? Why, when I run web browsers, do they randomly quit out? What is using so much extra space?

Android 2.3.5, Gingerbread, Blu Dash 3.5, Rooted, stock ROM

View 1 Replies View Related

General :: Some Apps Crashing On Android 2.3.1 Tablet

Jun 16, 2013

I have tablet ELONEX with older version of Android 2.3.1 and I've installed some apps:

Adobe Reader
Amazon Kindle
Facebook
Firefox Browser
Opera Mini Browser
Instant Messenger GG
K9-Mail
Kingsoft Office
TV cach up

All of those apps crash when I start to open it. I get message "Sorry! The application xxxxx (process com.xxxx) has stopped unexpectedly. Please try again"

And another application Skype can not open at all. It's opening for ever.

View 5 Replies View Related

Android :: Sweeter Home Preview 2 Crashing In Froyo 2.2

Jun 8, 2010

I've been playing around with the new releases of Froyo 2.2. It appears that sweeter home is not compatible with the new 2.2. Man! This sucks! i have emailed the dev the bug reports. I am hoping that a new release will be coming very soon. Hopefully we can get some kind of the eta on the new release. And just when sweeterhome was virtually bug free!

View 2 Replies View Related

Android :: Cancel Dialog After 3 Seconds / Keeps Crashing My App After Multiple Uses

Aug 21, 2010

I have an extended dialog class that I want to show for 3 seconds then disappear.This works great the first 2 times it's called, but then it crashes my app after that.Admittedly, I'm not the best with threads and I think that's where my problem might be.As you can see from the code below (commented out section), I tried using a cancel event to kill the thread that is spawned, but that makes it crash the first time it's run. I've also tried doing all of this on the parent class' UI thread which yields the same result as this (crashes after 3 times displaying the dialog).

View 2 Replies View Related

Android :: Apps Crashing On Open File Dialog

Mar 26, 2010

I've been using a droid eris for a couple of months now and have loved the experience so far. Unfortunately, the honeymoon is over and I've been trying to do some productive things with it (outside of playing Robo Defense that is =p).I've been having problems opening different types of documents. My two biggest problems are with Quickoffice and PDF Viewer.When I launch Quickoffice, I get the "Open file" window which takes a few seconds to load and a few files begin to populate in the list. After just a couple of seconds, I get a force close message stating: Sorry! The application Quickoffice (process com.qo.android.htc) has stopped unexpectedly. Please try again" This same thing happens with the PDF Viewer as well.However, I can use a file manager like Linda Manager to browse to a specific file and then open it within the program just fine. I honestly don't know where to start

View 3 Replies View Related

Android :: App Crashing On HTC Magic Launching Camera Intent

Jul 15, 2009

Wine by the Bar app (free in Android Market) is crashing on the HTC Magic.What intent settings/extras are needed to successfully launch ACTION_IMAGE_CAPTURE on HTC Magic?intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);App works fine on G1.Also need proper intent for choosing an picture already on the phone, and a cropping intent.

View 4 Replies View Related

Android :: Development String Array Resource Too Big - Crashing App

Nov 24, 2010

I have a String Array Resource that has about 1000 drug names

<string-array name="index">
<item>Aspirin</item>
<item>Levitra</item>
....
</string-array>

I tried to load this string array into a String[] inside an activity. Using the same syntax provided by Google's java documentation found here.

Resources res = getResources();
String[] drugs = res.getStringArray(R.array.index);

It appears my string-array has too many records and its causing my App to crash (stack-overflow?) When I reduce the string-array resource to about 506 records, the app works again, but adding even 1 more element in the string-array would crash the app. What should I do? I want to code logic to filter and do other things to the list. I do not have a SQL db in the app so I can't do the processing in the DB. Is there a way to iterate through the string-array resource without loading it into a String []? I notice the resource is a pointer. Or is there an alternative data structure or approach that would work?

View 1 Replies View Related

Android :: Droid Notepad Tutorial Crashing / Why This Is Happening?

Feb 9, 2010

I'm trying to run the Android Notepadv3 app on the Motorola Droid. When I am creating a new note, if I rotate my phone so that the view should switch to horizontal, or if I open it up so the keyboard is exposed, the app freezes and crashes.

I haven't modified the program in anyway from Exercise 3 solution (http://developer.android.com/resources/tutorials/notepad/index.html). Any ideas why this is happening?

View 1 Replies View Related

Android :: Remove Crashing Helix Launcher From Phone?

Apr 27, 2010

I have Helix Lanucher installed on my Droid 2.1, and have had it for about a month now. And all of a sudden today, I am getting CONSTANT force closes, to the point where I can't even get to the settings, or market to uninstall it.

Is there another way to remove it from my phone?

View 2 Replies View Related

Android :: ADT Crashing Constantly - Background Image Related

Aug 12, 2010

I don't know if this is the right group, but my ADT keeps crashing while editing layout files. I'm not positive, but I think it might have something to do with the background images that I'm attempting to use, as they are not rendered in the preview at all. Is this the appropriate group to discuss the ADT tools? If so, does anyone else have problems getting background images to display?

View 4 Replies View Related

Android :: Simple Notification Crashing With Illegal Argument Exception

Sep 9, 2009

Simple notification crashing with Illegal Argument Exception, crashes with "Illegal Argument Exception"

View 2 Replies View Related







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