Android :: 1.5 Quits For Apparently No Reason Whilst Animating - WIN DEATH
Nov 22, 2010
I have an app that is working fine in 1.6 and up but crashing for apparently no reason in 1.5. The app suddenly quits with the following message...
CODE:............
This error happens when the app is 'idling' (ie not doing anything other than redrawing the screen). There is no state change and no user input. The error occurs after the same amount of elapsed time whatever I set the frame rate of the app to and occurs both on the emulator and device. Changing what I display on screen can stop the error but there appears to be no logic to this (in one instance not drawing a large image stops the error but elsewhere just drawing some text causes the app to crash in the same manner).
I am using SurfaceView for animations following the basic procedure in the Lunar Lander sample app.
View 6 Replies
Dec 12, 2009
I've noticed lately that a lot lately that files I've downloaded to my Droid, mostly PDFs though it's happened to a spreadsheet or two, will be viewable at the time, but corrupted and unable to open when I reentered the apparently to view a given file at a later time. Is this something I'm missing, like not closing the file for example? Would that even make a difference?
View 1 Replies
View Related
Feb 11, 2010
I followed the developer guides on the Android website. It is working fine for a Hello World application but when I try and transition between Activities, my application keeps giving an "The application () has stopped unexpectedly. Please try again later." error and the application then quits. This happens when I click the button in the Subscribe Activity.
Subscribe.java
public class Subscribe extends Activity
implements OnClickListener {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.subscribe);
Button subButton = (Button)findViewById(R.id.subscribe);
subButton.setOnClickListener(this);}
public void onClick(View v) {
Intent subIntent = new Intent(Subscribe.this,Subscribed.class);
startActivity(subIntent);}}
Subscribed.java
public class Subscribed extends Activity {/** Called when the activity is first created. */ @Override
public void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);
setContentView(R.layout.subscribed);}}
Logcat Log File
View 2 Replies
View Related
Nov 23, 2009
I'm trying to guess why a user would report "Force quits every time I load" the problem does not occur for all users, especially not me.The system constructs a database when it first loads. I suspect that user's phone does not have enough memory.Questions: How can I verify that the system has enough memory to store a small database?
What else might cause a user's particular system to force quit on startup?Wrong answers or things I've tried thus far:The user's hardware is probably different than mine The user's software and available memory is likely different as well The data is already loading in its own thread, with a progress dialog showing
View 4 Replies
View Related
Oct 19, 2010
After testing both stock 2.1 and 2.2 and different rom bakes, the conclusion is that the Incredible for some reason does not really have "true" apps2sd (as define by Android). It appears that regardless of if most of an app is moved to the sd or not, the total available app space is nowhere near even the 748mb on device and the ceiling is actually around 500mb when "low on space" errors begin popping up.
Key example is when apps are shifted to the sd, the low on space error still happened, regardless of cache and message spaces being clean. I tested this with stock as well.The app install space is not to be confused with data downloads that some apps automatically install to sd (games like Quake, Nova, etc), but the actuall apps2sd move process in the app manager.It does not matter where the weight of the apps is installed, since whether having 300mb apps on the device and 200mb apps on the card results in the same thing as 500mb of apps on the device and 0mb apps on the sd- low on space is the result.On the Incredible, apps2sd is really app displacement. As a result, it is better not to use apps2sd, since saves space on the microsd card and makes no difference to the amount of apps you can install. Also, there is no way to get anywhere near the 748mb, yet alone having that much on the device and part of apps on the microsd (total would be a more than 748mb).
View 11 Replies
View Related
May 28, 2010
I have been a Iphone guy for a while but I am just sick to death of At&t's service. I was just wondering can you download these apps right to your phone or do you have to download to a computer 1st and can you download them to your Apple Laptop?
View 1 Replies
View Related
Sep 13, 2010
I'm getting a WIN DEATH message on shutdown from one of my live wallpapers. Since this occurs at shutdown the user doesn't really notice, it does however reset the lwp to the default paper upon the next restart.
Pertinent log message afaik follows.
CODE:.....................
As far as I can tell the lwp isn't being destroyed via Engine.onDestroy() on shutdown, I'm not entirely sure what else I need to take care of so that the system can destroy it cleanly at shutdown?
View 4 Replies
View Related
Sep 17, 2010
Is it possible to animate the expanding and collapsing of the groups in a ExpandableListView.
View 3 Replies
View Related
Apr 8, 2009
How do I animate a Layout?
I have a RelativeLayout which sits in a certain position within my Activity; I want to glide it in and out from the bottom of the screen when a certain button is pressed.
I have found examples of animating the children of lists etc but this is not what I want. I simply want to animate the whole layout and the views within it together.
View 4 Replies
View Related
Jun 22, 2010
I have tried a weather widget and its working fine. The Weather widget is an app widget and I update the widget once in 6 hrs similar to the application on android site using AlarmManager. Now I want to animate the widget (ImageView) every 100 ms similar to HTC homescreen.
I dont think AppWidgets will scale well for this case. How can I implement this widget?
I have seen "Custom Homescreens" in previous Android SDK's. Should I have modify the Homescreen widget for doing this or is there any other way.
View 4 Replies
View Related
Aug 26, 2010
I'm drawing a ProgressBar in a custom View (SurfaceView) to it's Canvas, and it's drawn as expected. Except that it's not animating, no matter what I do. My custom view is animated properly, but I cant change the progress of the ProgressBar.
I've created the ProgressBar like this:
CODE:..................
And I draw it something like this (slightly simplified):
CODE:........
And I've tried updating it's progress manually as well:
CODE:.................
Any ideas on what I need to do in order for my ProgressBar to animate or change it's progress.
View 2 Replies
View Related
Nov 5, 2010
This is more of a question about animating than a specific problem coding. i need to fill in the broad strokes left by the research i've been doing.
What i'm trying to do:
The activity should load with only the a togglebutton visible. when the button is touched, a png will be animated to a certain position relative to the togglebutton. also, another button will slide in from off screen and slide off if/when the togglebutton is pressed again.
What i can't figure out:
I can draw an image, but only via xml. creating an imageview and setting the background programmatically does nothing.
When i draw from xml, i can't move the image when the togglebutton is pressed like i want to. when i call getPositionOnScreen() i get a null pointer, even though the complier can see i'm referring to the imageview described in both xml and in code.
I'm calling getPositionOnScreen because via xml, i have the image positioned behind the togglebutton so that it's not visible until the button has been pressed and the image starts moving. the idea is that with different screen sizes i won't know exactly where the view is until runtime. getPostionOnScreen allows me to get the coordinates of the imageview so i know where it has been positioned. when i have a start position, can tell it to "move up" on the screen from behind the togglebutton by simply adding to x or y until it's where i want.
This is the code to draw the image (inserted in the onCreate method).
CODE:.......
This is the code i'm using to animate. when the button is clicked, it calls this method on the view from the listener.
CODE:...............
I'm well aware that this is horribly wrong and won't work. what i need to understand is why.
View 1 Replies
View Related
Jun 21, 2010
The .6 update that is meant to fix the memory card problem pops up on my phone like twice a day. If I download it AND install it, it doesn't take. The same FOTA update is detected again the next day, and the next day, and the next. I don't have any memory card issues. But I'm wondering how to make my rooted phone accept FOTA updates. I'm a n00b. Is this just a limitation of rooted phones? I rooted using this method: How to Root Your HTC Evo 4G! | HTC Evo 4G Hacks! I used this file: Supersonic_1.32.651.1_rooted.zip
View 4 Replies
View Related
May 16, 2010
I keep running into a weird scenario with my Incredible (non-rooted, Android 2.1) where the notification sound changes to one of the other files on my SD card. I can't seem to make the notification sound stick.For example: this morning, I unmounted the SD card after syncing with Doubletwist on my PC and got into my car. When I turned on the car, the phone connected via Bluetooth to the stereo. Upon connection, the phone made a notification sound, but that sound had been changed from the default notification sound to one of my MP3s.
View 2 Replies
View Related
May 26, 2010
So I'd been wondering why my battery at work doesn't last that long. I knew signal strength was an issue, but then I opened up Spare Parts and checked battery usage. Normally ebuddy is only running when it does quick message checks and has a pretty short partial wake time. Out here where it keeps having to reconnect, the phone has a 100% running time, and ebuddy is always on! Fair warning to all my instant message addicts.
View 5 Replies
View Related
Oct 6, 2010
I have a RelativeLayout with a tiled background. Is there a way to make a tween animation to fade out the existing image and fade in a new one?
View 1 Replies
View Related
May 19, 2009
I am using a SurfaceView, and wish to animate Drawables. All the animation tutorials I have seen concern using an ImageView, which as I understand is not a sensible approach from within a SurfaceView. Does anyone have any suggestions for doing frame-by-frame animation within a SurfaceView? Can it be done with openGL?
View 4 Replies
View Related
Apr 27, 2010
Is there a way of being notified when a TransitionDrawable has finished its transition? I'm looking for a way to animate the background of a LinearLayout, switching it back and forth between two images thus creating a pulsating effect. TransitionDrawable works nicely, but....once. I tried stacking several 'item' in the XML defining the transition, but no luck. It justs fades from item 1 to item 2 and sits there. I'm wondering if I shouldn't implement a custom Animation.
View 3 Replies
View Related
Nov 10, 2010
Does anyone knows if it's possible to animate different views during the same animation: I have a linear layout containing 6 dices (each dice extends a textview) and I need to animate each dice to simulate a roll (each dice will rotate on itself). I know how to do this rotation on each dice by using 6 animations, but I want to group these animations in one, so that I would be able to add an animation listener to execute further instructions at the end of this animation. I tried with an animationset but didn't manage to do it.
View 2 Replies
View Related
Feb 3, 2010
I'm trying to do something which seems simple. I want to have a map view, with a menu that slides up from the bottom of the screen where settings (for overlay) can be adjusted. However when I use a TranslateAnimation to affect the y position of the LinearLayout (which holds the menu), the buttons in the LinearLayout move, but there "hit area" stays in the same position as they were before the animation.
CODE:.........
I've also looked into tweening the view's marginTop value, but haven't even been able to determine how that would be done.
View 1 Replies
View Related
Nov 16, 2010
got notification of the update to 2.1; -- downloaded the latest version of Backup/Restore and did that before updating the phone.However, after a Restore, I can't find any of my contacts (I've read already that's a problem), but worse, none of the applications I had installed are recorded, and some (like iDestination) I paid a lot of money for!
View 4 Replies
View Related
Oct 25, 2010
Late for work due to my cell phone alarm not going off. I know its a sad excuse lol, I have a alarm clock. However somehow I manage to shut off my cell phone in my sleep or occasionally in my pocket. Is there a app to make it perhaps one extra step to shutting down the phone?
View 6 Replies
View Related
Jul 26, 2010
The other day I took a trip, put my X in the car dock, and set Nav to my destination. About an hour into my trip, Nav would intermittently close, and would return to the home screen. However, the app wasn't always completely FC'd, but running in the background, and could be returned to by dragging down the Notification bar and reselecting it. This continued for the last 2 hours of my trip and was extremely annoying. Has anyone else experienced this?
View 9 Replies
View Related
Jul 25, 2010
I just got the vibrant 2 days ago and so far I love it. This is my first android phone and am not sure how to fix this problem. I woke up this morning and now my web browser wont work. It opens and starts loading my homepage which is only google and right when its about to fully load the web browser quits. And I know it quits because I have to reload when I open it again. I have tried turning the phone off and on and also making sure task killer isnt doing it.
View 5 Replies
View Related
Jun 17, 2010
After rooting my Incredible, I installed the only application that I needed from the root....VPN Connections 0.99
I am trying to connect to a Cisco ASA 5520, and as far as I know this is the only application that will allow group and shared secret.
As soon as you try to connect to a configured VPN server, I get the message:
Sorry! The application VPN Connections (process org.codeandroid.vpnc_frontend) has stopped unexpectedly. Please try again.
View 3 Replies
View Related
Oct 3, 2010
Today i have been having some fun today downloading and yes buying (!) apps from the mkt. well, i started getting a little instability - i couldn't get an IP from my wireless router --- i had d/l "wifi keep alive" and "wifi reconnect" and "wifi reassociation". so i went to the mkt intending to uninstall one by one until i restored my ability to DHCP to the router. selecting the "downloads" section of the mkt revealed only about two pages worth of apps. believe me - i have a LOT more apps than that! mostly all the apps that appear are purchased apps (one exception - gmail is there too) - but even then, not "all" of my purchased apps are there! in doing my due dilligence checking to see if anyone else had this problem and solved it, i found this thread and this thread - neither of which have anything to say to help me. ANY idea how to get my apps to show up in the mkt? the apps themselves ARE STILL ON MY hero, they just don't appear in the mkt)
View 8 Replies
View Related
Sep 22, 2010
I know a few posts on this but since installing froyo 2.2. I cant get on the sky sports website at all just freezes on the google search and then I try and get on the bbc sport page which works fine but when I go on the live cricket text it crashes and quits the internet. I never had a problem with either before 2.2! I have tried on the default browser and also dolphin but neither work. Are there any settings I should change since installing 2.2 or is it just a case of 2.2 update screwing things up? My friend in the office at work is on orange with 2.2 and it works fine for him.
View 13 Replies
View Related
Jun 21, 2010
The wife is on the road with her new samsung galaxy s. she needs to take some pics on this trip and the camera suddenly stopped working.. i tried the cam yesterday and it worked fine out of the box (phone is 2 days old now). when launching the camera app the phone throws up a 'camera failed' warning and quits out of the app.
View 10 Replies
View Related
Sep 29, 2010
I create a ProgressDialog in onCreateDialog() like so:
code:.........
Android, in its wisdom (or serious lack of it) decides to cache every dialog created through onCreateDialog(). Because of that, any subsequent call to showDialog(DIALOG_PROGRESS_ID) results in the same ProgressDialog instance being used but the animation has stopped working.
I've tried to re-set indeterminate in onPrepareDialog(), but that doesn't do anything. There is likewise no obvious method to call on the dialog instance that will reset the animation.
code:................
But maybe there is a way to get the ProgressBar itself and start it animating? so I tried the following after I asked this question:
code:........
But it didn't work either!
So, does anyone know if there is a way to restart animation on a ProgressDialog? If not, is there a way that I can force every showDialog() call to call onCreateDialog()? (this second question was answered by @TuomasR, but after pondering it I don't think this is a very good solution to my problem)
View 1 Replies
View Related
Sep 2, 2010
Is there a way to animate drawables on a canvas using the android built-in animation classes?
Ive been modeling my test application, a game, after the example apps lunarlander and jetboy. They contain a lot of reusable code, but they manually update the drawable objects in real time. It seems like using the android animation built ins would be so much easier since they provide the type of animation I need¦a simple linear movement.
Is there a way to do this, or am I better off updating my canvas in real time much like the example apps.
If there is a way, could anyone get me started with some sample code? I am currently inheriting SurfaceView in my class.
View 1 Replies
View Related