Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (14)

Sign In or Sign Up now to post a comment!
  • I found finally in the OnCreate I had not removed the "Bitmap" declaration on the variables moved into the class... ignoring teh warnings about "local variables not used" finally gave it away... the FORCE QUIT mystery solved by this novice "Java" developer! :P By the way - this series and Travis - deserves a reward - awesome work and build up for a great learning experience!!!!

  • Ugh, I hate that while(true) you have to do the join. Literally useless. Here is what it's going to do.

    first iteration: Oh hey, I'm true, I'll execute my body. Join, catch if needed break; aka, cease running the loop.

    second iteration: doesn't happen, loop already broke >.<

  • Nice!

  • ok I kept getting force closes on this tutorial. I followed the tutorial to a t but it still wasn't working.

    My fix was: (please tell if this is right or not?!)

    I moved where I was setting up the bitmaps

    from my "onCreate" method in the "GFXSurface" Class

    to the "run" method in the "MyBringBackSurface" Class

    Can anyone tell me why this works?

    Thanks for tutorials Travis!

  • @gearoidmocathain

    It still didn't work for me :|

    Where exactly in the "run" method did you set up the bitmaps?

  • scaleX

    saleX

    sleX

    seX

    XD

  • angry birds

  • mhh After this tutorial, the View is black and no touch-action is performed? What can be the problem?

  • @klofisch

    couple of problems I had was.... when i copy n pasted my .png file it made me force close...so instead of copying n pasting thru folder .. I imported it in my drawable from eclipse.....it solved my first problem....then other was while copying canvas if(x!=0 ...) statement.... I forgot to change following x n y to sX,sY,fX n fY...so double check your code again n again .....

  • @sweet2smart I checked it several times. Finally i copied from the website to see if its something general. But it wasnt. Now i am at Tut #113 :) SQLite was what i am waiting for the most (time :D ) .

  • Hey I'm only on video 8 right now. This is just a note I'm leaving here to see if I make it :) Great videos so far

  • @komodo003

    Did you make it? :D

  • @komodo003 Haha great idea ;-) and YES you should do this, this video tutorials are the best way to lern how to programm for an android interface.

  • Really glad you did the motion actions, all clicking into place here, going over and adding the extra code :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more