Android :: Animation StartOffset Failing 2.1 Bug?
Oct 25, 2010
I've taken some animation xml straight from the android docs, and as far as I can see, doesn't work on either my 2.1 update 1 emulator or my 2.1 update 1 Galaxy S device.Specifically, I'm trying to create an animation to pulsate a view (i.e. make it smaller then larger in one animation) What actually happens is it snaps instantly to half of the views size (even though fromX/YScale is at 1.0) and then performs the animation and snaps back afterwards.Can anyone else try this our quickly? If others see this behaviour I'll submit it as a bug. I just can't believe something so basic could be broken!? Also, copying this animation under the "Tween Animation" heading on this page http://developer.android.com/guide/topics/graphics/2d-graphics.html word for word also doesn't animate as per the page says.
View 3 Replies
Nov 17, 2010
I'm fading out an imageview with alpha animation. I'd like the image to stay transparent after the animation. Tried with different combinations of fillAfter and fillEnabled, no luck. How can this be achieved?
View 1 Replies
View Related
Aug 30, 2010
I have a strange issue - from time to time the animation that should fade out my control (ImageButton) does not kick in immediately. I am using the fadeout animation to hide it and then in myListener on its end (onAnimationEnd) I put new resource as the image on the button.
Somewhere in my app code:
Animation a = AnimationUtils.loadAnimation(this,R.anim.fadeout); a.setAnimationListener(new myListener(location)); buttons[location].setAnimation(a); a.startNow(); // regardless if its start() or startnNow() it will work in most of the cases but not 100% reliable I actually can see in debug Log when its late, happens after few more clicks
Then in myListener.onAnimationEnd(Animation a):buttons[location].setImageResource(R.drawable.standard_button);
Seems there is a rule that the every 4th or 5th animation does not start ...
View 1 Replies
View Related
Jul 29, 2010
Is it possible in Android to get a callback when a Frame Animation (AnimationDrawable) has completed playing its frame sequence? I know when a Tween Animation has completed, it calls onAnimationEnd(), but is there something similar for frame by frame animations?
View 1 Replies
View Related
Jun 17, 2009
Can anyone tell me how to use oss sound in android. If tried to open '/dev/eac', it is failing.Please tell me a solution for this.
View 2 Replies
View Related
Jul 7, 2010
We are seeing some very strange results in media playback on HTC EVO devices.
In our call to MediaPlayer.create(getApplicationContext(), uri), we get failures with the following stack trace:
CODE:..................
This code works just fine for many, many thousands of other devices out there.
View 4 Replies
View Related
Nov 13, 2009
I use Android 1.5 on HTC Hero. I've a mapapp that needs GPS functionality. Sometimes when I start up the application I get the following error.I check that "Enable GPS sateliites" setting is checked. One more piece of information. Whenever I get the error, I reinstall the application, it works ok. Google Maps works fine. What is wrong with my code?
View 2 Replies
View Related
Jan 9, 2010
I am trying to update my ADT from v0.9.4 to v0.9.5. But it fails with an error: An error occurred while collecting items to be installed.
View 2 Replies
View Related
Mar 16, 2010
something weird just started happening. my app has a broadcast receiver which may access the network when invoked. the code has been solid for ages, but in the last few days it has started getting DNS errors on perfectly fine hosts. these are hosts which can be reached without problems in the main app or from other apps.interestingly i've seen another app get DNS errors too another app with a broadcast receiver.seems to affect all OS versions -- we have 1.5, 1.6, and 2.01 here. i don't have a Nexus to test 2.1, though. are there caveats to doing network inside broadcast receivers? i didn't think so, as ours worked fine until the time change [fx: twilight zone theme]
View 6 Replies
View Related
Apr 30, 2010
im just trying to save some text to a file on android and while it works fine on the emulator "dont crash", when i try it on my phone it crashes, what am i doing wrong?i do know it crashes on " File root = Environment.getExternalStorageDirectory(); " i just dont know why. showMes() is just a function to make toast.
View 8 Replies
View Related
Jun 23, 2010
I have an app delivered OTA that I wrote that works find on every Android device we have ran it against. However, whenever tested against the Nexus One, it fails to load. LogCat reports something to the affect of.Now what is funny is that the manifest DOES include the android.permission.INTERNET. Yet for some reason, the Nexus One doesn't see or honor it.
View 3 Replies
View Related
May 15, 2010
I think I'm experiencing the same as http://groups.google.com/group/android-developers/msg/9d37d64aad0ee357
This is Android 1.5 SDK. I happen to call several times below code(which is in a method) with
the same url and it fails intermittently. When it fails, there is no exception, the stream is empty so the
readConnection fails, and getResponseCode returns -1. Global caching is disabled, setDefaultUseCaches(false);
I suppose there must be some kind of url connection object pool somewhere.
How can I workaround this?
CODE:............................
View 2 Replies
View Related
May 21, 2010
I'm trying to update and install the latest Android SDK (API 8) and keep getting the following error:
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I'm running on OS X 10.6.3 If I visit the url in a browser I'm not getting any errors about an untrusted cert.
I'm running Revision 5 of the Android SDK and AVD manager (if that makes a difference) Tried downloading the latest android sdk (revision 6) and running everything from the command line and still no dice. I can only assume there's something either in my java installation or in os x on my machine.
View 3 Replies
View Related
Jul 2, 2009
I am trying to send an attachment through email. When composing the email, everything looks great (attachment seems to be included and ready to send). However, the attachment does not get received on the other side.
Below is my code example:
CODE:.....................
View 2 Replies
View Related
Feb 7, 2009
I'm writing an podcast playing application. The application has pre- defined feeds but I want to cache the image of the feed for 30 days. However, on the initial creation of the podcast I am downloading the image, and trying to save it to the SD card using the code below:
CODE:............................
However, it keeps failing on the line k.createNewFile(); with the error: WARN/System.err(10727): java.io.IOException: Parent of file is not a directory: /sdcard/twitcast/1.jpg
I've checked and I have write permission and the SD card is mounted, and I have android.permission.MOUNT_UNMOUNT_FILESYSTEMS included in my manifest. why this keeps failing?
View 3 Replies
View Related
Jun 23, 2010
I have made db using java this way : Code...
when i open it using sqllight data browser it works fine but after adding it to new directory in my android project called databases/test1.db. Code...
I am not getting any information in the cursor in existInDataBase() function to be more specific I'm always getting false for cursor.moveToFirst() even when my query is just to select without any thing
can someone please :
1.tell me what he thinks is wrong
2.how can i debug and see what there is in the db (i debug but i cant see anything odd should i had a if saying "you have no data base")note " when i builded the app the first time the app was the the one who build the db as you can see in private void insertValus(String []typeInserted , int num);
my problem seems to be the manifest file: when one takes a db file and import it to his android project what should he do ?please explain in steps what should i do thanks yoav.
View 1 Replies
View Related
Oct 5, 2010
I love Handcent but this inability to resend automatically is killing me. I don't have good signal at home (basement flat), so I often send a message and then just wait for the signal to drift in, so it sends. My old blackberry or Nokia had no problems with this. Handcent doesn't handle it well. it either gets stuck with the little whirling whindmill thing and never sends, or it comes up with the red X and the process stalls. I actually prefer the red X, as at least that enables a quick "retry". but it seems to be totally random whether it gets stuck or fails to send. Why oh why is such a simple feature not bug-free in an app like Handcent that is so popular and has been around for some time now?
View 3 Replies
View Related
May 1, 2010
So this is related to a question I asked earlier. I am trying to display an alert using a specified layout. My layout is:
And the code to call and show the alert dialog is..
When I run it I get an error saying:
Uncaught handler: thread main exiting due to uncaught exception
android.view.WindowManager$NadTokenException: Unable to add window -- token null is not for an application
I've looked through the android development site and can't figure it out. I think I'm just missing something obvious but the fix isn't jumping out at me. How can I get this alert dialog to display?
View 1 Replies
View Related
Nov 22, 2010
i had 2.1 rooted and now since having gotten 2.2 i decided i would root that also. however, i seem to be having problems with it.im using unrevoked, and i even downloaded the newest version of it, but it keeps failing to push the image it worked fine with 2.1, had the whole thing done in 10 mins, but this just does not seem to work. im following the instructions to a T.
View 14 Replies
View Related
Nov 25, 2009
My text messaging keeps failing to go through. I have spent hours with sprint tech support. They say it is a known hero defect. Any ideas what is going on?
View 2 Replies
View Related
Nov 24, 2010
alright well im on my third ally and i have rooted the other two with universal androot successfully both times without doing anything, but now when i try it it says "Failed. i dont know if that has anything to do with it but if theres another way to root that would be helpful
View 1 Replies
View Related
Jul 28, 2010
I've been fighting this issue for the majority of the afternoon.My phone was 1-step rooted yesterday (about 4 hours after I got it from Fed Ex), but when I first had issues, I backed everything up with Titanium Backup, unrooted, and did a factory restore.The issue persisted, so I called Verizon, who pushed me over to Motorola. They don't seem to have any idea what the problem is, and unfortunately, no one around here has any in stock, so replacement isn't a viable option at the moment.So, I'm left with a couple questions:
1) Is anyone else having issues with this OTA update
2) While I didn't remove anything out of the ordinary (just what was recommended, things like the NFS, Amazon's MP3, etc.), and it appears everything has been brought back by the factory reset, could the fact it was rooted be stopping this?
3) Is there any way to manually load the update? I'm coming from a Blackberry Bold, where I was quite comfortable running leaked beta ROMs...I don't know of any way to do it any way other than OTA for this though.
View 4 Replies
View Related
Sep 20, 2010
I have an Orange branded Desire which I rooted a while ago. My problem is that the software update doesn't seem to work. My current software number is 1.12.405.4. If I check for updates it says there is 1.12.405.2 available, but when I download and install it the software version of the phone doesn't change. I've done it half a dozen times over a couple of weeks.
View 1 Replies
View Related
Jun 24, 2010
My desire is in a death loop whereby the phone is unusable. It's not rooted btw.When I start the phone I get a screen pop. The application HTC Sense (process com.htc.launcher) has stopped unexpectedly. Please try again.There is an option to force close, which when selected just brings the phone back around to the above screen pop.
View 12 Replies
View Related
Nov 11, 2010
I've been trying to download the update for my Fascinate, but it keeps failing. I check for updates, and it says new update available. Then I click OK to download. It appears to start, then always stops at 10% and network error pops up. When I go to update status, it says "network error" and "code 409".
View 4 Replies
View Related
Apr 27, 2010
I got the phone today. IT'S AWESOME. however, i've set up my gmail and school email accounts, seemingly without a hitch. I started getting emails right away. Then... i go to respond to the emails, through either account, and my email sending keeps failing! I sent it, then get a message a minute later saying they couldn't be sent.
View 27 Replies
View Related
Jun 22, 2010
When I first got my Evo, I had no problems setting up the HTC mail client with my work email, using Exchange. Due to random restarts, I had to do a hard reset, and now I keep getting "Failed to create the account. Please try again later." This has been happening for the past few days since I did the hard reset.
When I initially set it up, I just put in my work email and password and had no problems. Now, I've tried every configuration possible in both normal and manual setup. Anyone got any other ideas?
View 3 Replies
View Related
Aug 21, 2010
I keep receiving an error message from when it syncs by Google contacts. It fails after about 5 min. Mail and calendar are fine.
View 7 Replies
View Related
Jan 31, 2014
I am having trouble rooting phone it keeps failing?
View 1 Replies
View Related
Mar 17, 2012
As of about a week ago the browser sync on my device has been failing. I am running ICS via the latest CM9 nightly on my Samsung Galaxy S II (i9100T).
Chrome Beta bookmarks sync fine, it's only the builtin browser that is failing to sync. I would use Chrome Beta if I could but it's so damn crash-happy that it's unusable (I assume it's a CM compatibility problem that isn't resolved yet).Here is the relevant log entries from a failed browser sync attempt:
I/BookmarksSync( 5112): Sync failed due to soft error: Reader: Protocol (soft) error: Truncating server changelist after 260 items, as the changelist contains more than one entry with a given remote id: Z:ADqtAZy+M2N65xx6fxN82TxDitLVtIkXCgmtSFp8W2tkH0Ck Jn0/Jcg8vDEWpzXibMIJcCZ0FdLOu2YpKahtQz5TqasLlCiDZDhnES Z7grZisodhrY++D+I=
D/SyncManager( 1840): failed sync operation raptorfactor@raptorfactor.com (com.google), com.android.browser, PERIODIC, earliestRunTime 698024, SyncResult: stats [ numIoExceptions: 1 numEntries: 260]
Basically it's just that over and over again. I've tried clearing the data in the browser app settings then resyncing, and I have also confirmed that on my PC my settings are set to encrypt passwords only (as a google search revealed some people had issues when encrypting everything).I'm a heavy user of my device and being unable to access my bookmarks is quite frustrating.
View 3 Replies
View Related