Lab340 - Animation Broken in Android

You must Login before you can answer or comment on any questions.

I'm having a few issues, with the emulator and on an actual device

box2.addEventListener('click', function(){
            box2.animate({
                top:800,
                duration:2000
            },function(){
                box2.animate({
                    top:120,
                    duration:2000
                });
 
            });
        });

The animation works fine but as soon as the box goes off the screen, the background becomes transparent and shows the appcelerator splash screen , I know there has been a few bugs reports on this subject but they were marked as fixed..

2 Answers

Hi Francois,

Yes, there are some Android bugs that the lab code exposes. I didn't know about the one you describe above, nor did I know the others have been closed. I'll look into those. Can you tell me the API version you're building against as well as the target Android OS version?

Even better, could you file a new ticket yourself? You can use the lab code as your test-case code. Describe in that ticket your exact environment. http://jira.appcelerator.org When you file tickets, you'll get notice of any action taken on them so you'll know if more info is needed or when the tickets are processed.

BTW, you can also file tickets for the training materials if you think there's a mistake in the lab code or presentation materials. In this case, I think it's with the underlying Android stuff not the lab code. But that's surely not always the case.

Thanks

— answered 8 months ago by Tim Poulsen
answer permalink
1 Comment
  • Oh also, please tag Q&A posts like this with "training" or "certification" so I get notifications of them.

    — commented 8 months ago by Tim Poulsen

Thank you here's my bug report http://jira.appcelerator.org/browse/TC-1310 , there's a few other android related issues that I've stumbled across while going through your training material

In Lab320, on android, images will only switch once when clicked and will not cycle through, I fixed that issue by replacing references to the image property with backgroundImage instead.

Your Answer

Think you can help? Login to answer this question!